摘要: 来源:https://cnodejs.org/topic/4f9904f9407edba21468f31e镜像使用方法(三种办法任意一种都能解决问题,建议使用第三种,将配置写死,下次用的时候配置还在):1.通过config命令npm config set registry https://regis... 阅读全文
posted @ 2014-10-31 10:58 ifeixiang 阅读(78479) 评论(3) 推荐(3) 编辑
摘要: Pomelo:网易开源基于 Node.js 的游戏服务端框架https://github.com/NetEase/pomelo/wiki/Home-in-Chinese 阅读全文
posted @ 2014-10-22 18:35 ifeixiang 阅读(822) 评论(0) 推荐(0) 编辑
摘要: 在安装一个程序的时候提示libc.so.6过旧,但是查看libc.so的版本是最新的,于是尝试使用尝试软链接 ln -s /usr/lib64/libc.so /usr/lib64/libc.so.6 , 悲剧的事情发生了!几乎所有的linux命令都依赖于libc.so,libc.so.6是一个动态... 阅读全文
posted @ 2014-10-22 11:27 ifeixiang 阅读(19788) 评论(1) 推荐(0) 编辑
摘要: 安装supervisor方法,可以直接用 yum install supervisord ,但是版本可能会旧一点,可以参考官方的方法:easy_install supervisorhttp://supervisord.org/installing.html#installing-to-a-syste... 阅读全文
posted @ 2014-10-20 18:14 ifeixiang 阅读(3313) 评论(0) 推荐(1) 编辑
摘要: ulimit 用于限制 shell 启动进程所占用的资源,支持以下各种类型的限制:所创建的内核文件的大小、进程数据块的大小、Shell 进程创建文件的大小、内存锁住的大小、常驻内存集的大小、打开文件描述符的数量、分配堆栈的最大大小、CPU 时间、单个用户的最大线程数、Shell 进程所能使用的最... 阅读全文
posted @ 2014-10-15 14:35 ifeixiang 阅读(1095) 评论(0) 推荐(0) 编辑
摘要: http://geek.warmsheep.com/post/2014-04-07/40061445312 阅读全文
posted @ 2014-10-10 18:10 ifeixiang 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 官方文档:http://gearman.org/getting-started/安装方法和示例都有,可以详细看一下。Gearman是一个分发任务的程序框架,可以用在各种场合,与Hadoop相比,Gearman更偏向于任务分发功能。它的任务分布非常简单,简单得可以只需要用脚本即可完成。Gearman最... 阅读全文
posted @ 2014-10-10 13:56 ifeixiang 阅读(10617) 评论(0) 推荐(1) 编辑
摘要: 中文版书籍:http://numbbbbb.gitbooks.io/-the-swift-programming-language-/http://www.swiftv.cn/ 阅读全文
posted @ 2014-10-09 17:27 ifeixiang 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 已经快遗忘了一种香气,那是家乡的米粉香。某天在泉州的一条小街上,突然发现一家“抚州米粉店”,味蕾即被唤醒。这几年奔波在外,罕见有正宗的家乡米粉吃,实在馋得慌,便去吃吃那相差甚远的桂林米粉或云南过桥米线,以稍慰相思之苦。 现在还记得,那家店就是抚州人开的,夫妻俩来泉州打工,后发现在泉州的抚州人很多,便... 阅读全文
posted @ 2014-10-08 18:35 ifeixiang 阅读(5275) 评论(0) 推荐(0) 编辑
摘要: Supervisor: A Process Control System 阅读全文
posted @ 2014-10-08 18:10 ifeixiang 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 自从zabbix被撤了,服务器一直处于无监控状态,今天又搜索了一番,找了一些监控工具:Glances : 一个比Top更友好的监控整个linux系统的命令行工具;安装方法: yum install -y glances 阅读全文
posted @ 2014-09-19 18:33 ifeixiang 阅读(233) 评论(0) 推荐(0) 编辑
摘要: http://tool.css-js.com/在进行前端的时候,可以参考百度性能监控中心给出的意见:http://developer.baidu.com/apm/index 阅读全文
posted @ 2014-08-22 17:19 ifeixiang 阅读(666) 评论(0) 推荐(0) 编辑
摘要: function date2str(x, y) { var z = { M : x.getMonth() + 1, d : x.getDate(), h : x.getHours(), m : x.getMinutes(), s : x.getSeconds() }; y = y.repl... 阅读全文
posted @ 2014-08-20 15:56 ifeixiang 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://ionicframework.com/之前用过app.js,相比ionic,真是弱爆了!http://learn.ionicframework.com/formulas/上面的链接有许多进阶的例子,可以学习一下 阅读全文
posted @ 2014-08-09 18:15 ifeixiang 阅读(444) 评论(0) 推荐(0) 编辑
摘要: ios定义成员变量的方法:如果只是内部访问,完全可以直接用_xxx(下划线),无需自己定义,编译器会自动生成如果需要外部访问这个变量,可以用@property xxx ;@synthesizexxx = _xxx ,这样,编译器会自动生成 get,set函数 ;可以很明确的表明这是一个向外部提供se... 阅读全文
posted @ 2014-08-05 18:14 ifeixiang 阅读(952) 评论(0) 推荐(0) 编辑
摘要: Redis的应用http://www.redis.cn/commands.htmlhttp://www.cnblogs.com/ikodota/archive/2012/03/05/php_redis_cn.htmlhttp://redis.readthedocs.org/en/latest/ind... 阅读全文
posted @ 2014-07-29 17:16 ifeixiang 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 在修改登录中心的时候,数据存储在redis里面,需要对redis进行监控,使用的是Redis-Live参考文章:http://www.nkrode.com/article/real-time-dashboard-for-redis首先要安装pip,centos上安装方法:wgethttps://bo... 阅读全文
posted @ 2014-07-02 19:48 ifeixiang 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 参数文章:http://angularjs.cn/A0qFangularjs中Post使用的是json的交互方法,一般服务器还没达到这个阶段,我们可以用回传统的&参数的方法: var myApp = angular.module('app',[]); myApp.config(function($h... 阅读全文
posted @ 2014-06-27 15:52 ifeixiang 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 移动开发工具http://www.csdn.net/article/2014-04-17/2819378-10-mobile-application-development-tools原型设计工具https://www.fluidui.com/基于angularJS的移动UI库http://mobi... 阅读全文
posted @ 2014-06-24 18:12 ifeixiang 阅读(330) 评论(0) 推荐(0) 编辑
摘要: angular学习资源angularjs库:https://developers.google.com/speed/libraries/devguide?hl=zh-CN#angularjsangularjs学习教程:http://www.apjs.net/#dir2https://docs.ang... 阅读全文
posted @ 2014-06-24 18:11 ifeixiang 阅读(212) 评论(0) 推荐(0) 编辑