- 博客(16)
- 收藏
- 关注
转载 有趣的代码
#include #define IABS(x) ( (x) >= 0 ? (x) : -(x) ) //定义一个计算绝对值的宏void print(int size) // size是这个菱形的半径,直径会是size * 2 + 1{ int x, y;
2011-09-21 18:56:25
680
原创 nginx编译缺少pcre
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/下载一个新的版本就ok了
2011-09-12 08:37:34
1051
原创 vimerl
最近在用vimerl安装的时候注意两点:erlang的man手册需要单独安装 apt-get就可以了按照README中的指示,针对ubuntu需要额外配置一下=============2011/9/25更新vimerl至1.1.1版本之后需要注意l
2011-09-08 20:04:59
840
原创 vsftp: failed to change directory
从windows机器往linux vsftpd传送多层次文件夹时,报错failed to change direcotry解决: 用flashFXP链接,在站点管理设置编码为utf8
2011-07-01 14:03:00
3298
原创 解决 ubuntu11.04下wmv格式文件播放异常
<br />缺少解码器<br />google 一下w32codecs_20071007-0.1_i386.deb
2011-05-28 21:52:00
714
原创 The package lists or status file could not be parsed or opened.
<br />在使用apt-get的时候,提示 The package lists or status file could not be parsed or opened. 不能进行正常更新。<br /> <br />解决:<br />sudo rm -vf /var/lib/apt/lists/*<br />sudo apt-get update
2011-05-09 20:12:00
17858
转载 ubuntu 11.04托盘解禁
<br /><br />在 Ubuntu 11.04 Natty 中,Ubuntu 对顶部面板右上角的通知区域(系统托盘)采用了白名单制度,只有支持 Indicators 并位于白名单的部分程序才会被显示在系统托盘中,目前支持的程序有: Java apps, Mumble, Wine applications, Skype 和 hp-systray 。除些之外的 DropBox ,aMule 等大量程序都不会被显示在系统托盘中,不过事实上我们可以通过以下方法来解除这一限制。<br /><br />- 命令行
2011-05-02 10:10:00
532
原创 The discussion in this chapter centers arround the ...
<br />The discussion in this chapter centers arround the ...
2011-03-26 16:34:00
367
原创 c#入门笔记
<br /><br />cs中变量名的第一个字符必须是字母、下划线、或者@。 其后的字符可以是字幕,下划线或数字<br /><br />下面是 camelCase变量名:<br />age<br />firstName<br />timeOfDeath<br />下面是PascalCase变量名:<br />Age<br />FirstName<br />TimeOfDeath<br />MS建议:对于简单的变量,使用camelCase规则,而比较高级的命名则使用PascalCase<br />运算符优先级
2011-03-24 21:08:00
889
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人