好好爱自己!

摘要: 10down vote 10down vote Assuming that you already have the OpenSSL libraries and header files (on rpm systems the latter are in the xxxx-devel package 阅读全文
posted @ 2018-03-15 21:58 立志做一个好的程序员 阅读(255) 评论(0) 推荐(0) 编辑
摘要: http://www.21yunwei.com/archives/5307 记录一个shell脚本小实例,线上服务器同步代码到web节点脚本。 用法:./rsync_to_web.sh 1假设脚本名字为rsync_to_web.sh 阅读全文
posted @ 2018-03-15 21:46 立志做一个好的程序员 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 原文: 张宴的博客 —— http://zyan.cc/post/384/ 1、数据存储(假设key为zhangyan,value为12345) printf "set zhangyan 0 0 5\r\n12345\r\n" | nc 127.0.0.1 11211 STORED 2、数据取回(假 阅读全文
posted @ 2018-03-15 15:39 立志做一个好的程序员 阅读(218) 评论(0) 推荐(0) 编辑
摘要: memcached -m 64 -p 11211 -u fly -l 127.0.0.1 How can I communicate with a Unix domain socket via the shell on Debian Squeeze? memcached -m 64 -p 11211 阅读全文
posted @ 2018-03-15 14:29 立志做一个好的程序员 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 解决方案:首需要切换到root身份$su -(注意有- ,这和su是不同的,在用命令"su"的时候只是切换到root,但没有把root的环境变量传过去,还是当前用户的环境变量,用"su -"命令将环境变量也一起带过去,就象和root登录一样)然后$visudo //切记,此处没有vi和sudo之间没 阅读全文
posted @ 2018-03-15 14:17 立志做一个好的程序员 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 68down voteaccepted 68down voteaccepted Give this a try: :e From :h :e: Edit the current file. This is useful to re-edit the current file, when it has 阅读全文
posted @ 2018-03-15 13:52 立志做一个好的程序员 阅读(459) 评论(0) 推荐(0) 编辑
摘要: http://man.linuxde.net/nc_netcat nc命令是netcat命令的简称,都是用来设置路由器。 语法 选项 参数 主机:指定主机的IP地址或主机名称; 端口号:可以是单个整数或者是一个范围。 实例 远程拷贝文件 从server1拷贝文件到server2上。需要先在serve 阅读全文
posted @ 2018-03-15 12:50 立志做一个好的程序员 阅读(531) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/b0a5ef5a0936?utm_campaign=maleskine&utm_content=note&utm_medium=pc_all_hots&utm_source=recommendation 定义一个人“会说话”,是一件非常困难的事情。 阅读全文
posted @ 2018-03-15 10:56 立志做一个好的程序员 阅读(874) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/zhang197093/article/details/78825084 最近看到大牛说到PHP程序员技术职业生涯规划,立刻奉为真理,我本身不是计算机专业出身,但也深刻意识到基础的重要性,以下转自大牛的博客: 看到很多PHP程序员职业规划的文章,都是直接上来 阅读全文
posted @ 2018-03-15 10:02 立志做一个好的程序员 阅读(228) 评论(0) 推荐(0) 编辑

不断学习创作,与自己快乐相处