好好爱自己!

上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 179 下一页
摘要: http://stackoverflow.com/questions/13333794/networking-difference-between-transport-layer-and-networking-layer Transport Layer: The fourth and “middle 阅读全文
posted @ 2016-04-13 14:20 立志做一个好的程序员 阅读(690) 评论(0) 推荐(0) 编辑
摘要: var n = {1:100, 2:101, 3:102, 4:103}; 怎么获取这个对象n的长度呢? 方法一: function getLength(obj){ var count = 0; for(var i in n){ count++; } return count; } //改进 加上一 阅读全文
posted @ 2016-04-12 00:37 立志做一个好的程序员 阅读(25565) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://cnodejs.org/topic/5230d5f0101e574521c86ff4 JavaScript 的设计是典型的函数式的编程范式匿名函数 JSON数据本身就是字符串,经过JSON.parse才转化为javascript对象,你在console中输入的是对象,而不是J 阅读全文
posted @ 2016-04-07 09:33 立志做一个好的程序员 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 若果里面没return 的话; 什么是闭包(closure function ) Two one sentence summaries: a closure is the local variables for a function — kept alive after the function h 阅读全文
posted @ 2016-04-01 00:46 立志做一个好的程序员 阅读(441) 评论(0) 推荐(0) 编辑
摘要: html 页面内容 阅读全文
posted @ 2016-03-25 16:11 立志做一个好的程序员 阅读(694) 评论(0) 推荐(0) 编辑
摘要: vim /data/yst.txt 打开一个文件之后,然后在命令行模式下,输入:help 可以调出 vim 的帮助文档。 然后会进入: 然后就可以查阅具体的帮助文档了,再也不用再网上找一些零散的vim编辑器的使用介绍了。。累 阅读全文
posted @ 2016-03-22 00:58 立志做一个好的程序员 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 查看Linux的内核版本 当前系统的发行版信息(distribution):lsb_release -a , lsb(linux standard Base) and distribution information。 用这个命令可以知道是Redhat ,centos, ubuntu. 和具体的版本 阅读全文
posted @ 2016-03-22 00:13 立志做一个好的程序员 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 运维方面的软件 Ansible -> 一个远程操作电脑; 监控系统: zabbix 和 nagios 有时间要研究一下!!! 阅读全文
posted @ 2016-02-03 20:46 立志做一个好的程序员 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 一般现在我们配置的PHP的web环境,如LNMP(linux+Nginx+Mysql+PHP), 这里linux可能是centos, ubuntu..., 数据库可能是mysql, postgresql, sql server等。。在服务器上安装PHP-FPM, nginx后, 我们要配置Nginx... 阅读全文
posted @ 2016-01-07 18:38 立志做一个好的程序员 阅读(6869) 评论(0) 推荐(0) 编辑
摘要: 目的:弄清楚FastCGI 和PHP-fpm文章来源:http://segmentfault.com/q/1010000000256516问题:我在网上查fastcgi与php-fpm的关系,查了快一周了,基本看了个遍,真是众说纷纭,没一个权威性的定义。网上有的说,fastcgi是一个协议,php-... 阅读全文
posted @ 2015-12-25 11:45 立志做一个好的程序员 阅读(289) 评论(0) 推荐(0) 编辑
上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 179 下一页

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