开发与应用
文章平均质量分 72
bon_ami
A117
展开
-
RK3399 firefly SW download
RK3399 firefly SW download原创 2022-09-24 09:27:09 · 266 阅读 · 0 评论 -
git日常用法
取代码 git clone git@地址:名称 [目录]将服务器修改更新到本地 git pull将修改加到本地 git add [文件名]将修改提交到本地 git commit -m "注释"将本地修改提交到服务器 git push将修改从本地记录中去除,即与add相反 git reset [HEAD] 文件名看两个版本差异 git diff [原创 2012-03-30 04:41:15 · 1667 阅读 · 0 评论 -
C/C++宏定义中带不定参数
转载自#define debug(format, ...) fprintf (stderr, format,__VA_ARGS__)能自定义参数表名#define debug(format, args...) fprintf (stderr, format,args)如果只有一个参数也行,##前面的逗号会被删除#define debug(format, ...)转载 2014-01-14 17:33:23 · 9366 阅读 · 0 评论 -
thunderbird配置新浪与网易
authentication username is always solely username, i.e, without @...sina:pop3.sina.com:110, smtp.sina.com:25, no Connection security, Password transmitted insecurely126/163:imap.126/16原创 2012-09-19 09:19:42 · 8732 阅读 · 0 评论 -
java String.replaceAll()
java中String.replaceAll()的使用参数1:需要替换的内容,正则表达式参数2:替换为\需要转义转载 2014-02-11 15:45:06 · 721 阅读 · 0 评论 -
A Tao of Regular Expressions
http://jmason.org/software/sitescooper/tao_regexps.htmlhttp://net.pku.edu.cn/~yhf/tao_regexps_zh.html转载 2008-04-17 17:12:00 · 381 阅读 · 0 评论 -
在线pdf生成
12款在线 PDF 工具http://www.freepdfconvert.com/ 支持生成或转换转载 2014-02-20 15:10:16 · 1174 阅读 · 0 评论 -
Asterisk SIP账号设置
/etc/asterisk/users.confhttp://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/index.html [6000] host=dynamic secret=1234 [6001] host=dynamic secret=1234/etc/asterisk/extensions.conf原创 2015-06-30 16:31:19 · 2438 阅读 · 0 评论 -
go and vim-go
sudo apt-get install golang golang-golang-x-tools golint原创 2016-05-10 17:40:10 · 577 阅读 · 0 评论 -
git
WIP=work in progress 使用说明原文文件状态: untracked, unmodified(git commited), modified, staged/cached(git added)HEAD: the head of the current branch. Last commit snapshot, next parent。“提交~”表示其父提交,后面可再加数字...原创 2015-01-23 17:53:57 · 725 阅读 · 1 评论 -
ctags
ctags代码后vi可以识别C/C++等的数据结构了。不过直接ctags -R一般不能如愿地分析到子目录中的文件。用以下命令:find . -name "*.[ch]" | xargs ctags现在exuberant ctags可以递归到子目录下,命令行如(有人说可以用-R指定递归子目录)ctags --languages=-all --languages=+c,c++ --recur...原创 2008-04-18 09:05:00 · 3103 阅读 · 0 评论 -
cVim for Chrome
KeybindingsMovementj, sscroll downk, wscroll uphscroll leftlscroll rightdscroll half-page downu, escroll half-page upggscroll to the top of the pageGscroll to t...转载 2019-09-06 15:33:42 · 252 阅读 · 0 评论 -
bazaar and launchpad
register an account in launchpaddownload bazaar and installrun pageant from putty and import key. linux needs id_rsa instead of *.ppk. use ssh-add on linux.in launchpad terminal run "bzr launchpad-l原创 2013-04-16 16:35:21 · 1179 阅读 · 0 评论 -
常用软件
编辑:vim.orgUE Studio鼠标键盘控制:www.autohotkey.comsynergy-foss.org 同步、备份:syncplicity99盘数据银行SugarSyncDropBox(金山T盘) 输入法:极点五笔(新华拼音)(我爱火星文(52hxw)) 多媒体:(klcodec)xp cod原创 2011-11-24 14:54:32 · 653 阅读 · 0 评论 -
a wireshark's capture filter
As I capture SIP packets there often are heartbeat UDP messages (UDP content = 4 bytes, whole packet = 46) captured. Heres a sample capture filter, udp port 5060 and greater 50原创 2008-04-18 08:55:00 · 1213 阅读 · 0 评论 -
构建局域网视频流传送
到http://www.videolan.org下载VLC。它可以发送、播放音、视频流。在一台机器上,也可以开两个VLC自播自放。avi之类的视频等可以直接发送。选择“向导”,然后都是默认选项,只是需要选择播放文件和对方地址——如果是一对一播放,就是单播;如果多处收看,就要用组播,写组播地址;http播放方式也是多个目标处都可以收看。成功的话就可以看见进度条在动了。收看处选择打开网络流,选原创 2008-04-22 13:50:00 · 1221 阅读 · 0 评论 -
几款网络广播客户端软件
音频: 秀我音乐盒http://www.xoowo.com/ (非免费)online radio tuner 视频: PPMate:很多国外电视台呢http://www.ppmate.com/ PPStream http://www.ppstream.com原创 2008-04-22 13:55:00 · 1050 阅读 · 0 评论 -
如何“保存网页中所有图片”
在百度里搜索,找出来一大——堆JP文章,说什么用爪哇脚本,可以列出网页中所有图片。难道然后再一个个“保存图片”?我用的遨游插件一万年前就能做到这样了。天极http://www.yesky.com/270/1915770.shtml介绍了很多种方法,但是免费的“网页图片保存能手”才是解决之道。原创 2008-04-22 14:02:00 · 2499 阅读 · 0 评论 -
转:将字幕嵌入视频
http://bbs.aptx.cn/redirect.php?tid=100356&goto=lastposttextsub还是要从VobSub里拿 总结如下:用VirtualDub打开,从而得知音频是否是VBR。如果装了FFDshow,可能要改其VFW解码器设置,允许XVID。如果音频是CBR,则添加textsub为video filter(需要textsub.vdf;转载 2008-05-28 17:23:00 · 1223 阅读 · 0 评论 -
几种开源软件协议
参考文献有:百度知道 http://zhidao.baidu.com/question/21653452.html?si=8开源软件的知识产权问题研究 http://www.lupaworld.com/viewthread_31484.html常用开源协议之zlib/libpng License http://blog.myspace.cn/1304477870/Archive/2008/03转载 2008-06-02 16:47:00 · 2257 阅读 · 0 评论 -
WAPI
http://baike.baidu.com/view/63613.html?wtp=ttjust like TD-SCDMA转载 2008-10-13 10:24:00 · 699 阅读 · 0 评论 -
makefile的写法
http://fanqiang.chinaunix.net/a4/b2/20010419/121916.htmlhttp://www.bianceng.cn/OS/unix/200803/8598.htmhttp://www.bianceng.cn/OS/unix/200803/8599.htm GNU 中文手册http://www.linuxsir.org/main/doc/gn转载 2009-06-05 14:45:00 · 390 阅读 · 0 评论 -
distribute ubuntu programs未完成
1. download and install bazaar (on windows, use standalone version).2. create a bazaar project containing your code locally.3. create a launchpad project.4. push your bazaar project to launchpad.4.1 on windows, use PUTTYGEN to generate keys. use its Conver原创 2010-11-15 17:47:00 · 504 阅读 · 0 评论 -
escaping in xml
A character references, like “&”, contains a hash mark (“#”) followed by a number. The number always refers to the Unicode code for a si转载 2011-08-19 11:33:31 · 403 阅读 · 0 评论 -
GPL & LGPL
LinuxSir论坛graydream个人理解: GPL、LGPL和盈利无关,无论如何情况你都可以收费,但必须遵守下一条原则 基于别人以GPL许可发放的代码而写的程序,发放时必须公开你自己的代码;基于别人以LGPL许可发放的代码而写的程序,发放时可以不公开你自己的代码转载 2008-04-18 08:52:00 · 542 阅读 · 0 评论