yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 304 305 306 307 308 309 310 311 312 ··· 367 下一页

2015年7月2日 #

摘要: openwrt下和云端通讯的例程ibcurl官方文档请参考这里http://curl.haxx.se/libcurl/c/curl_easy_setopt.html刚接触 libcurl的时候, 自然的想到按照常规的思路来连接云端: 先连接Web, 再发送请求, 然后等待接受返回数据.这样思路的代码... 阅读全文
posted @ 2015-07-02 00:58 xxxxxxxx1x2xxxxxxx 阅读(352) 评论(0) 推荐(0)

摘要: delelte 阅读全文
posted @ 2015-07-02 00:53 xxxxxxxx1x2xxxxxxx 阅读(101) 评论(0) 推荐(0)

摘要: shell脚本中局部变量在shell中定义函数可以使代码模块化,便于复用代码。不过脚本本身的变量和函数的变量的作用域问题可能令你费解,在这里梳理一下这个问题。 (1)Shell脚本中定义的变量是global的,其作用域从被定义的地方开始,到shell结束或被显示删除的地方为止。例1:脚本变量的作用域... 阅读全文
posted @ 2015-07-02 00:48 xxxxxxxx1x2xxxxxxx 阅读(1390) 评论(0) 推荐(1)

摘要: https://github.com/waruqi/tbox 阅读全文
posted @ 2015-07-02 00:43 xxxxxxxx1x2xxxxxxx 阅读(344) 评论(0) 推荐(0)

摘要: http://kernelpanic.im/blog/2012/03/08/shell-manipulate-json/Json.org推荐了两个:Jshon和JSON.sh其中JSON.sh是完全用shell实现的json parser,似乎不能做到添加/修改/删除原有json的结构。而jshon... 阅读全文
posted @ 2015-07-02 00:39 xxxxxxxx1x2xxxxxxx 阅读(322) 评论(0) 推荐(0)

摘要: SHELL种类,版本及选择凡是使用 *INX 的人,不论是作为 login shell 还是编程,多少都要接触到 Shell。经过多年的发展, Shell 的种类繁多。除了我们熟悉的 sh、ksh、csh、bash ... 外,还有各种 free 或商业版本如: RC、ES、EShell、psh、Z... 阅读全文
posted @ 2015-07-02 00:38 xxxxxxxx1x2xxxxxxx 阅读(485) 评论(0) 推荐(0)

2015年7月1日 #

摘要: delete delete 阅读全文
posted @ 2015-07-01 23:50 xxxxxxxx1x2xxxxxxx 阅读(118) 评论(0) 推荐(0)

摘要: ctrl+alt+l:linux 锁屏, system->preferences->screensaver设置锁屏时间 win+l:windows锁屏 阅读全文
posted @ 2015-07-01 12:38 xxxxxxxx1x2xxxxxxx 阅读(505) 评论(0) 推荐(0)

摘要: inux关于readlink函数获取运行路径的小程序 相关函数: stat, lstat, symlink表头文件: #include 定义函数:intreadlink(constchar *path,char *buf, size_tbufsiz);函数说明:readlink()会将参数path... 阅读全文
posted @ 2015-07-01 00:05 xxxxxxxx1x2xxxxxxx 阅读(270) 评论(0) 推荐(0)

2015年6月30日 #

摘要: 网络版shell之网络编程练习篇--telnet服务端 以前写过一个shell命令解释器,对与shell命令解释器的执行流程有了清晰的认识,这段时间学习网络编程,至于网络编程的细节以及知识点,已经在上 一遍博客中,转载了从网上摘的文章,基本概括了网络编程的主要api,而对于程序员,更重要的是解决实际... 阅读全文
posted @ 2015-06-30 23:52 xxxxxxxx1x2xxxxxxx 阅读(469) 评论(0) 推荐(0)

上一页 1 ··· 304 305 306 307 308 309 310 311 312 ··· 367 下一页