History: https://github.com/meteor/meteor/blob/devel/History.md Cordova integration wiki page: https://github.com/meteor/meteor/wiki/Meteor-Cordova-Phonegap-integration
Create app
meteor create buzz
History: https://github.com/meteor/meteor/blob/devel/History.md Cordova integration wiki page: https://github.com/meteor/meteor/wiki/Meteor-Cordova-Phonegap-integration
Create app
meteor create buzz
<head> | |
<title>selector</title> | |
</head> | |
<body> | |
<h1>Welcome to Meteor!</h1> | |
{{> hello}} | |
</body> |
Replace TCP, application layer comm framework.
instantwebp2p - node fork that supports UDT. congestion control - optimal usage of bandwidth flow control - avoid overwhelming the receiver. window based - no packets in flight
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<CORSConfiguration> | |
<CORSRule> | |
<AllowedOrigin>*</AllowedOrigin> | |
<AllowedMethod>GET</AllowedMethod> | |
</CORSRule> | |
</CORSConfiguration> |
/* | |
> name() | |
'juana-gold-driver' | |
> name() | |
'olaf-tan-panel' | |
> name() | |
'tracey-lavender-microchip' | |
*/ | |
function name () { | |
return faker.helpers.slugify(faker.fake('{{name.firstName}}-{{commerce.color}}-{{hacker.noun}}')).toLowerCase() |
Devshop NYC - http://info.meteor.com/blog/made-in-nyc-meteor-devshop-is-coming-to-new-york Organizers: Adrian Lanning, Alim S. Gafar, Christie Ewen, Katie Reed
Meteor 1.2.1 - https://github.com/meteor/meteor/blob/devel/History.md#v121-2015-oct-26
ecmascript
& ecmascript-collections
(https://github.com/meteor/meteor/tree/master/packages/ecmascript)require("core-js/es6/object");
require("core-js/es6/array");
function queryify (obj) { | |
const pairs = Object.keys(obj).map((k) => { | |
const key = encodeURIComponent(k) | |
const val = encodeURIComponent(obj[k]) | |
return key + '=' + val | |
}) | |
return '?' + pairs.join('&') | |
} |
#!/bin/bash | |
cd /home/cotech/sites | |
git stash | |
git pull | |
rm -rf web/wp | |
composer update | |
cd web/app/themes/coop-tech-oowp-theme | |
composer update | |
npm install |
/** | |
* Convert cols and rows into an array of objects. | |
* Will return array of objects mapping cols to row values. | |
* | |
* Repeated cols are mapped to array values. | |
* | |
* @param {Array} cols The keys | |
* @param {Array} rows the array of arrays of values | |
* @return {Array} The rows as objects | |
* @example |