上一页 1 2 3 4 5 6 ··· 15 下一页

[bash] 删除目录下可以执行文件

摘要: find . -maxdepth 1 -type f -perm /111 -exec rm {} \; 阅读全文
posted @ 2013-01-03 18:34 bluefrog 阅读(272) 评论(0) 推荐(1) 编辑

[linux] ubuntu12.04 制作 deb包

摘要: 源码目录hello-3.0/ src/ main.c lib/ hello.c hello.hsrc/main.c1 int main(void) {2 print_hello();3 return 0;4 }lib/hello.h1 #ifndef _HELLO_H2 #define _HELLO_H3 4 void print_hello();5 6 #endiflib/hello.c1 #include "hello.h"2 #include <stdio.h>3 4 voi... 阅读全文
posted @ 2012-12-13 18:11 bluefrog 阅读(2044) 评论(0) 推荐(0) 编辑

android 设置手机铃声

摘要: 在sd卡里建立 “ringtones”(来电铃声)"alarms”(闹钟铃声) “notifications”(短信通知铃声),把你不同用途的铃声放到不同的文件夹下手机就可以自动找到。用这个方法设置短信铃声的话需要,进入“短信”——MENU——通知设置,选择通知,选取自己的个性铃声,打开振动。 阅读全文
posted @ 2012-12-06 18:10 bluefrog 阅读(378) 评论(0) 推荐(0) 编辑

[linux] (转) ubuntu更新出错

摘要: from:http://blog.163.com/iris0324@126/blog/static/1317696402011425115756102/出错信息'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Translation-en, E:无法解析或打开软件包的列表或是状态文件。'解决方法sudo rm /var/lib 阅读全文
posted @ 2012-12-06 15:02 bluefrog 阅读(188) 评论(0) 推荐(0) 编辑

[linux] 查看占用指定端口进程ID

摘要: netstat -tlnp|grep <port> 阅读全文
posted @ 2012-12-03 17:04 bluefrog 阅读(2639) 评论(0) 推荐(0) 编辑

[linux] 生成32位随机数

摘要: cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n1 阅读全文
posted @ 2012-11-23 10:45 bluefrog 阅读(811) 评论(0) 推荐(0) 编辑

[erlang] 转 erlang编译安装时报wx库相关错误

摘要: 直接不安装WX ./configuretouch lib/wx/SKIP makefromhttp://blog.csdn.net/zhangxinrun/article/details/7731501 阅读全文
posted @ 2012-11-09 18:38 bluefrog 阅读(376) 评论(0) 推荐(0) 编辑

[linux] wine安装rtx报木有 msxml5的问题

摘要: 去网上搜索msxml5 下载http://www.xdowns.com/soft/softdown.asp?softid=97202rar c msxml5.rar msxml5mv msxml5/*.dll ~/.wine/drive_c/windows/system32/ 阅读全文
posted @ 2012-10-31 13:07 bluefrog 阅读(1100) 评论(0) 推荐(0) 编辑

[erlang] erlang app daemon run

摘要: 1 -module(test).2 -export([start/0]).3 4 start() ->5 application:start(test).1 #!/bin/bash2 3 erl -noshell -boot start_sasl -config elog3 -s test start -detached 阅读全文
posted @ 2012-10-17 15:11 bluefrog 阅读(426) 评论(0) 推荐(0) 编辑

[c/c++] EOF 键盘输入

摘要: linux Ctrl + DMSDos F6 或 Ctrl + Z 回车 阅读全文
posted @ 2012-10-15 15:07 bluefrog 阅读(771) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页