会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
木叶火影
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2015年5月27日
Python阅读清单
摘要: Python《零基础学Python(第二版)》包括进阶The Python Tutorial绝对权威和主题丰富的官方教程PEP 8以及PEP 257编码风格/规范PEP 20The Zen of PythonDjangoTango with Django可能是地球上最好的Django动手教程Djan...
阅读全文
posted @ 2015-05-27 09:36 木叶火影
阅读(257)
评论(0)
推荐(0)
2014年5月21日
自动生存Makefile教程 autoscan aclocal autoconf autoheader automake configure
摘要: LZ没学过makefile的写法,只知道使用tab。于是乎发现了autotools系列工具基本流程是:autoscan、aclocal、autoconf、autoheader、automake、configure(1) 使用autoscan命令自动生成configure.scan文件(configu...
阅读全文
posted @ 2014-05-21 14:29 木叶火影
阅读(1238)
评论(0)
推荐(0)
2014年5月11日
拷贝目录下文件,但某种类型文件例外
摘要: 使用rsync即可。rsync -rv --exclude=.git copy_from copy_to
阅读全文
posted @ 2014-05-11 22:20 木叶火影
阅读(243)
评论(0)
推荐(0)
2014年5月10日
编译个性化的openwrt固件
摘要: 基本流程是:下载openwrt源码(推荐attitude adjustment版本)、执行feeds更新、make menuconfig(通过配置feed.conf.default和menuconfig个性化)、make kernel_menuconfig、make V=99以下是我的个性化配置,主...
阅读全文
posted @ 2014-05-10 19:35 木叶火影
阅读(2963)
评论(2)
推荐(1)
2014年5月6日
-exec和|xargs
摘要: 注意xargs会被空格割裂,所以遇到带有空格的文件名就不好办了,解决方法是使用-print0例如:删除.目录下30天之前的.png文件find . -mtime +30 -type f -name "*.png" -print0 | xargs -0 rm或者使用-exec:删除.目录下最近30天的...
阅读全文
posted @ 2014-05-06 14:06 木叶火影
阅读(334)
评论(0)
推荐(0)
OpenMP多线程linux下的使用,简单化
摘要: http://hi.baidu.com/diwulechao/item/bc6d865c411b813c32e0a932http://www.cnblogs.com/yangyangcv/archive/2012/03/23/2413335.htmlhttp://blog.sina.com.cn/s...
阅读全文
posted @ 2014-05-06 11:14 木叶火影
阅读(8854)
评论(0)
推荐(0)
clock_gettime的使用,计时比clock()精确
摘要: 函数"clock_gettime"是基于Linux C语言的时间函数,可以用于计算时间,有秒和纳秒两种精度。函数原型:int clock_gettime(clockid_t clk_id, struct timespec *tp);其中,cld_id类型四种: a、CLOCK_REALTIME:系...
阅读全文
posted @ 2014-05-06 10:44 木叶火影
阅读(25654)
评论(0)
推荐(1)
2014年4月29日
openvswitch安装和使用 --修订通用教程的一些错误
摘要: 1.下载openvswitch源文件,注意版本要适合操作系统内核。推荐openvswitch2.0及其以上版本。2.开始安装openvswitchcd openvswitchsudo ./boot.shsudo ./configure --with-linux=/lib/modules/`uname...
阅读全文
posted @ 2014-04-29 11:29 木叶火影
阅读(4613)
评论(1)
推荐(0)
2014年4月28日
树莓派配置AP模式
摘要: 所需硬件:树莓派、无线网卡1.查看无线网卡是否被识别pi@raspberrypi ~ $ sudo lsusbBus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.Bus 001 Device 001: ID 1d6b:0002 Li...
阅读全文
posted @ 2014-04-28 10:19 木叶火影
阅读(7082)
评论(1)
推荐(0)
2014年4月27日
win7下的mstsc ubuntu下的rdesktop
摘要: 远程图形化登录,win7下:开始->mstsc->10.108.103.93即可进行后续输入账号密码验证登录。功能类似rdesktop。如图:
阅读全文
posted @ 2014-04-27 21:46 木叶火影
阅读(312)
评论(0)
推荐(0)
1
2
3
下一页
公告