The framework for turning ideas into webapps
- Manages client and server side.
- Things like Rails manage server side issues.
- Things like Ember & Angular provide front-end structure.
- Meteor helps out with both.
| environment = process.env.NODE_ENV || "development"; | |
| var settings = { | |
| development: { | |
| public: {}, | |
| private: {} | |
| }, | |
| staging: { | |
| public: {}, | |
| private: {} |
| db.currentOp().inprog.forEach( | |
| function(op) { | |
| if(op.secs_running > 5) printjson(op); | |
| } | |
| ) |
| Back To The Future: Unix Wildcards Gone Wild | |
| ============================================ | |
| - Leon Juranic <[email protected]> | |
| - Creation Date: 04/20/2013 | |
| - Release Date: 06/25/2014 | |
| METEOR CORE: | |
| Anywhere: Meteor.isClient | |
| Anywhere: Meteor.isServer | |
| Anywhere: Meteor.startup(func) | |
| Anywhere: Meteor.absoluteUrl([path], [options]) | |
| Anywhere: Meteor.settings | |
| Anywhere: Meteor.release | |
| ## SYNTAX: | |
| var pattern = new RegExp(pattern, attributes); # attributes: g (global); i (case-sensitive); m (multiline matches) | |
| var pattern = /pattern/attributes; # same as above | |
| ## BRACKETS: | |
| [...]: Any one character between the brackets. | |
| [^...]: Any one character not between the brackets. |
| # A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis) | |
| # Check our Studio: https://gentlenode.com/ | |
| # Iron Router > Configuration | |
| Router.configure | |
| layoutTemplate: 'Main' | |
| loadingTemplate: 'Loading' |
| # NPM CheatSheet. | |
| # Super easy intall: npm comes with node now. | |
| # To create your own npm package: https://www.npmjs.org/doc/misc/npm-developers.html | |
| # More: https://www.npmjs.org/doc/ | |
| # 1. NPM Command Lines. | |
| # Local mode is the default. | |
| # Use --global or -g on any command to operate in global mode instead. |
| // Date Object CheatSheet | |
| // The Date object is used to work with dates and times. | |
| // More: http://www.w3schools.com/jsref/jsref_obj_date.asp | |
| // 1. Instantiating a Date. | |
| var date = new Date(); | |
| var date = new Date(milliseconds); |