- 博客(88)
- 资源 (8)
- 收藏
- 关注
原创 gvim _vimrc配置
<br />set nocompatiblesyntax onset number" English characters.set guifont=Monaco:h10:cANSI" For double-width characters"set gfw=微软雅黑/ 12 colo desert" 设置自动缩进set ai " 打开状态栏标尺set ruler " 覆盖文件时不备份set nobackup" 搜索时高亮显示被找到的文本set hl
2010-11-22 14:56:00
2638
转载 Profilers
Acumem SlowSpotter and Acumem ThreadSpotter are tools from Acumem, which diagnose performance problems related to data locality, cache utilization and thread interactions. Supports most compiled languages on Linux and Solaris.AQtime is a performance profil
2010-09-20 16:37:00
2463
原创 C/C++ 反转一个数组
<br />#include<iostream>int* ReverseArray(int*orig,unsigned short int b){ unsigned short int a=0; int swap; for(a;a<--b;a++) //increment a and decrement b until they meet eachother { swap=orig[a]; //put what's in a in
2010-08-28 23:09:00
8340
原创 Android 2.1 源码结构
<br />转自:http://blog.youkuaiyun.com/pottichu/archive/2010/06/08/5655436.aspx<br />Android 2.1<br />|-- Makefile<br />|-- bionic (bionic C库)<br />|-- bootable (启动引导相关代码)<br />|-- build (存放系统编译规则及generic等基础开发包
2010-08-27 21:53:00
1033
原创 Tools/Libs for c/c++
<br />Tools/Libs for c/c++May 2nd, 2010adminLeave a commentGo to comments<br />Google Protobuf: http://code.google.com/p/protobuf/<br />Protocol Buffers是Google公司开发的一种数据描述语言,类似于XML能够将结构化数据序列化,可用于数据存储、通信协议等方面。现阶段支持C++、JAVA、Python等三种编程语言。 为什么不只用XML?同XML相比,Pro
2010-08-21 21:22:00
1392
转载 linux内核网络栈
一.linux内核网络栈代码的准备知识 1. linux内核ipv4网络部分分层结构: BSD socket层: 这一部分处理BSD socket相关操作,每个socket在内核中以struct socket结构体现。这一部分的文件 主要有:/net/socket.c /net/protocols.c etcINET socket层:BSD socket是个可以用于各种网络协议的接口,而当用于tcp/ip,即建立了AF_INET形式的socket时, 还需要保留些
2010-08-15 20:43:00
1072
转载 #pragma DATA_SECTION
<br /><br />今天看程序时遇到一个小问题,google了下,有人已经解决了,转载过来<br />本文原文地址:http://blog.youkuaiyun.com/ww303875615/archive/2009/12/23/5063327.aspx<br />今天读DSP的图像采集程序,遇到了一点陌生的东西:<br />ti的帮助文档里是这么讲的:<br />The DATA_SECTION pragma allocates space for the symbol in a section called
2010-08-12 14:10:00
1335
转载 sizeof vs strlen
本文转自:http://hi.baidu.com/fanjialin17/blog/item/88793d11678320cda6ef3f79.htmlchar c[] = “abc/0cba”;问题1:sizeof(c) = ? 问题2:strlen(c) = ?问题3:执行free(c);之后会有什么后果?后来在linux+gcc上写了个小程序测试:code:#include #include int main(int
2010-07-18 11:21:00
1037
原创 CRC table
<br />Note: in this table the high-order bit is omitted; see Specification of CRC above.<br />NamePolynomialRepresentations: normal / reversed / reverse of reciprocalCRC-1x + 1 (most hardware; also known as parity bit)0x1 / 0x1 / 0x1CRC-4-ITUx4 + x + 1 (IT
2010-07-01 13:06:00
6256
转载 Ubuntu10.04 下”VirtualBox Kernel driver not install”解决方法
<br />用下面的方法解决sudo /etc/init.d/vboxdrv start<br />启动vbox服务sudo chmod 666 /dev/vboxdrv<br /><br />给 /dev/vboxdrv加上可以操作的权限<br /> <br />参考:http://leejingui.com/blog/tag/virtualbox/
2010-06-30 12:48:00
1673
1
转载 linux安装新字体
以ubuntu为例,字体文件为nfont.ttfsudo mkdir /usr/share/fonts/myfonts /*建立myfonts的自定义目录*/sudo cp nfont.ttf /usr/share/fonts/myfonts /*拷贝nfont.ttf到自定义目录*/sudo fc-cache -fv 然后就OK了!
2010-05-27 19:39:00
913
原创 matlab在ubuntu10.04下的安装
1)下载完成后挂载sudo mkdir /usr/local/matlab2010asudo mount -o loop matlab.iso /usr/local/matlab2010a2)sudo sh /usr/local/matlab2010a/install 3)当然最后你需要卸载/usr/local/matlab2010文件夹安装过程图片详解见: ht
2010-05-26 23:51:00
1204
转载 Linux Find 命令精通指南
转自:http://www.oracle.com/technology/global/cn/pub/articles/calish-find.html Linux find 命令是所有 Linux 命令中最有用的一个,同时也是最混乱的一个。它很难,因为它的语法与其他 Linux 命令的标准语法不同。但是,它很强大,因为它允许您按文件名、文件类型、用户甚至是时间戳查找文件。使用
2010-05-16 15:28:00
812
原创 md5 sha1 deb install
md5sum ubuntu-6.10-desktop-i386.isosha1sum F-7-i386-DVD.isosha1sum F-7-i386-DVD.iso | grep "96b13dbbc9f3bc569ddad9745f64b9cdb43ea9ae"install fcitx 1.sudo apt-get remove ibus
2010-05-11 23:01:00
1307
转载 如何将linux 命令的执行结果在屏幕输出的同时保存到文件
1.直接覆盖日志文件 # ls -l | tee ./t.log # make | tee make.log2.将输出内容附加到日志文件 # ls -l | tee -a ./t.log # make image | tee -a make_image.log转自
2010-05-06 21:11:00
23328
原创 Linux 的内存映射模型
Linux的内存模型,一般为:地址------------------------作用--------------------------说明>=0xc0000000---------内核虚拟存储器-------------用户代码不可见区域-------------------------------------------------空闲内存>=0x40000000--
2010-04-20 21:50:00
1070
转载 td-scdma midamble
本文系转载 转载出处:http://blog.sina.com.cn/s/blog_541e0ada01000bfb.html~type=v5_one&label=rela_prevarticle首先,midable在td-scdma系统中可以用做业务通信阶段的捕获与跟踪以及信道估计(它参与多用户检测中的信号重建)在一个时隙中,不同用户具有不同的midable,且他们之间具有良好的自相关和互相
2010-04-02 19:41:00
2655
原创 扩频 扩频因子
整个扩频(spreading)的的过程分为信道化(channlization)和加扰(screambling)两步也就是和ovsf码相乘和与gold码(扰码)相乘两步 扩频因子:扩频后chip速率和扩频前信号速率的比值,直接反映了扩频增益。
2010-04-01 19:42:00
3658
原创 cdma2000演进
如何从CDMA2000 1X到CDMA2000 1x EV的平滑演进CDMA2000由CDMA2000 1X和CDMA2000 1x EV (Evolution Version)两大部分组成,CDMA2000 1X的版本包括Rel.0,Rel.A,Rel.B。目前CDMA2000商用化的标准主要基于CDMA2000 Rel.0和CDMA2000Rel.A两个版本,这两个版本在2
2010-01-26 12:19:00
2277
转载 upper protocol ——DIAMETER
Diameter (protocol)Diameter is a computer networking protocol for AAA (authentication, authorization and accounting). It is a successor to RADIUS.Content1 Upgrade from RA
2009-12-31 18:58:00
3875
转载 upper protocal ——EAP
EAP-SIMExtensible Authentication Protocol Method for GSM Subscriber Identity, or EAP-SIM, is an Extensible Authentication Protocol (EAP) mechanism for authentication and session key distri
2009-12-31 18:50:00
918
转载 upper protocol——MGCP
Media Gateway Control Protocol Contents1 Protocol architecture2 Implementations3 See also4 References5 External links
2009-12-31 18:46:00
792
转载 upper protocol ——RADIUS
RADIUSThe Internet Protocol SuiteApplication LayerBGP · DHCP · DNS · FTP · GTP · HTTP · IMAP · IRC · Megaco · MGCP · NNTP · NTP
2009-12-31 18:29:00
2370
转载 upper protocol ——RSVP
Resource reservation protocolThe Resource ReSerVation Protocol (RSVP), described in RFC 2205, is a Transport layer protocol designed to reserve resources across a network f
2009-12-31 18:26:00
1051
原创 upper protocol ——PMIP
Proxy Mobile IPProxy Mobile IP (or PMIP, or Proxy Mobile IPv6) is a new standard currently (2008) being worked on at Internet Engineering Task Force (IETF). Sometimes referred to as Networ
2009-12-31 17:56:00
1050
原创 upper protocol ——DiffServ
DiffServDiffServ (Differentiated Services)DiffServ is a QoS (Quality of Service) protocol for managing bandwidth allocation for Internet media connections (e.g. a VOIP voice connection
2009-12-31 17:51:00
905
原创 upper protocol——sctp
SCTP流控制传输协议(SCTP)是IETF新定义的一个传输层transport layer协议(2000)。RFC 2960详细说明了SCTP,介绍性的文档是RFC 3286。 作为一个传输层协议,SCTP可以理解为和TCP及UDP相类似的。事实上,它提供的服务有点像TCP——保证可靠、有序传输消息。同时TCP是面向字节的,而SCTP是针对成帧的消息。 SCTP主要的贡献是对
2009-12-31 17:46:00
1143
原创 内存中的几个字节转换成十进制数
示例代码是将内存中的4个字节的二进制数转换成十进制数的code:al = ((de_data_sysinfotype3->cellIdentity.buf[0] << 20) + / (de_data_sysinfotype3->cellIdentity.buf[1] << 12) + / (de_data_sysinfotype3->cellIdentity.buf[2] <
2009-12-29 15:35:00
3080
转载 sscanf的一些高级应用实例
文章出处:http://www.limodev.cn/blog作者联系方式:李先静 大家都知道sscanf是一个很好用的函数,利用它可以从字符串中取出整数、浮点数和字符串等等。它的使用方法简单,特别对于整数和浮点数来说。但新手可能并不知道处理字符串时的一些高级用法,这里做个简要说明吧。1. 常见用法。 char str[512] = {0}; ssc
2009-12-08 11:26:00
750
转载 C %m.ns 输出
#include #define N 19int main(){ int i; for (i=0;i<=N;i++) { printf("%*.*s%-*.*s/n",N,i<=N/2?i:N-1,"*******************",/ N,i<=N/2?i+1:N-i+1,"***********
2009-12-03 11:45:00
1975
原创 vsftp
sudo /etc/init.d/vsftpd restart sudo /etc/init.d/vsftpd startsudo /etc/init.d/vsftpd stop # Example config file /etc/vsftpd.conf## The default compiled in settings are fairly paranoid.
2009-12-03 11:44:00
807
原创 分布式版本控制系统
分布式版本控制系统——Mercurial一、 分布式版本控制系统介绍(1)CVCS与DVCS Centralized Version Control Systems集中式版本控制系统Distributed Version Control Systems 分布式版本控制系统分布式版本控制 (DVCS) 是一种不需要中心服务器的管理文件版本的方法,但是它也可以使用中心服
2009-10-09 13:19:00
1960
原创 cpu affinity
set cpu affinity#!/bin/sh#setaffHOLD1=/tmp/hold1.$$PROCESS=$1CPUID=$2usage(){#usage()echo "Usage:`basename $0` process_name cpuid"exit 1}if [ $# -ne 2 ];then usagefi
2009-10-09 13:11:00
913
原创 asn1c-0.9.22
cmp.diff*** asn_src_0.9.21/asn1p_expr.c 2006-09-17 10:38:42.000000000 +0800--- asn_modefy_0.9.21/asn1p_expr.c 2009-08-07 16:29:22.000000000 +0800****************** 210,215 ****--- 210,249 --
2009-10-09 12:11:00
3483
原创 automake
# -*- Autoconf -*-# Process this file with autoconf to produce a configure script.AC_PREREQ([2.59])AC_INIT([testpe], [1.0], [email])AM_INIT_AUTO
2009-09-30 11:44:00
909
转载 Free Launch Bar
rue/FreeLaunchBar,增强你的任务栏,漂亮的工具栏一,前两天帮一个朋友的机器做系统,一,懒得麻烦,二,还没有使用过深度的作品,虽然他的作品收集了不少(不知道有没有人跟我一样,有收集优秀操作系统的癖好),想着试试,正好就使用了前段时间深度出厂的GHOSTXP八分钟快速装机版V5.0,安装的确很快,也很方便,里面的应用软件比较好,安装完成后,该有的都有了,进入系统后,很清爽,很干
2009-07-31 12:56:00
15845
原创 windows丢失桌面快捷键的解决方式
点击“开始”菜单→“运行”命令,在弹出的“运行”对话框中输入“regsvr32 /n /i:u shell32”后回车,丢失的图标便又重新回到快速启动栏了 C:/Documents and Settings/Administrator/Application Data/Microsoft/Internet Explorer/Quick Launch
2009-07-31 12:34:00
1175
原创 asn.1 学习笔记
ASN.1即抽象语法符号,用来定义应用程序数据和表示协议数据单元的抽象语言。优点是独立于机器、语言及应用程序的内部表示。适用于描述现代通信中复杂的、变化的、可扩展的数据结构。比如3G和VoIP均采用了ASN.1。 ASN.1分两大部分:语法规则和编码规则。语法规则1. ASN.1定义示例Age ::= INTEGER (0..120)User ::= SEQUE
2009-07-28 19:19:00
2268
1
原创 ubuntu9.04 mysql 安装与配置
安装MySQL sudo apt-get install mysql-server 这个应该很简单了,而且我觉得大家在安装方面也没什么太大问题,所以也就不多说了,下面我们来讲讲配置。 配置MySQL 注意,在Ubuntu下MySQL缺省是只允许本地访问的,如果你要其他机器也能够访问的话,那么需要改变/etc/mysql/my.cnf配置文件了!下面我
2009-07-17 21:09:00
1007
1
linux 系统编程
2009-11-02
嵌入式Linux应用系统开发实例精讲
2008-11-15
Linux C程序员指南
2008-11-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人