上一页 1 ··· 467 468 469 470 471 472 473 474 475 ··· 477 下一页
摘要: shows how to enable features in your pm2 config file that allow you to prevent runaway apps from bringing your server down. Setting max memory used, n... 阅读全文
posted @ 2015-05-13 23:31 Zhentiw 阅读(360) 评论(0) 推荐(0)
摘要: angular-formly allows you to keep your forms as DRY as possible. TheoptionsTypesproperty is one way of composing your field configurations to keep you... 阅读全文
posted @ 2015-05-13 03:50 Zhentiw 阅读(454) 评论(0) 推荐(0)
摘要: angular-formly provides a very simple API to dynamically change properties of your field (like disabled, hidden, and required) using the powerful expr... 阅读全文
posted @ 2015-05-07 03:13 Zhentiw 阅读(559) 评论(0) 推荐(0)
摘要: learn how to pass environment variables to your node.js app using the pm2 config file. This is useful for setting options inside your app such as prod... 阅读全文
posted @ 2015-05-05 02:34 Zhentiw 阅读(368) 评论(0) 推荐(0)
摘要: Rest Parameters:In ES5, when you don't know how many paramters will be passed in, you can use arguments:let sum = function(){ let result = 0; fo... 阅读全文
posted @ 2015-05-01 18:40 Zhentiw 阅读(298) 评论(0) 推荐(0)
摘要: Aadd watch to the config.json file:{ "apps": [{ "name": "App1", "script": "app1/server.js", "log_file": "log/app1.log", "error_file": "lo... 阅读全文
posted @ 2015-04-29 17:12 Zhentiw 阅读(232) 评论(0) 推荐(0)
摘要: Add config for app's log and error log for PM2.{ "apps": [{ "name": "App1", "script": "app1/server.js", "log_file": "log/app1.log", "erro... 阅读全文
posted @ 2015-04-29 17:11 Zhentiw 阅读(175) 评论(0) 推荐(0)
摘要: In this lesson, you will learn how to configure node apps using pm2 and a json config file.Let's say there are tow node apps: app1, app2.What we want ... 阅读全文
posted @ 2015-04-29 16:05 Zhentiw 阅读(263) 评论(0) 推荐(0)
摘要: 'const' keyword is for creating a read only variable, something you can never change once created.'const' likes 'let' keyword alos has block scope.des... 阅读全文
posted @ 2015-04-29 04:14 Zhentiw 阅读(310) 评论(0) 推荐(0)
摘要: ES-Next:Esnext is similar to traceur, you can use command line to compile files.Install:npm install esnext -g Here's how to compile a single file an p... 阅读全文
posted @ 2015-04-29 03:47 Zhentiw 阅读(432) 评论(0) 推荐(0)
上一页 1 ··· 467 468 469 470 471 472 473 474 475 ··· 477 下一页