Some new news & some old news that we just learnt about the hard way
-
Meteor UI
-
Meteor Roadmap to 1.0
-
Meteor dependency updates:
-
Node release 0.10
#include <Servo.h> | |
Servo servo; | |
int servoPin = 9; | |
int rotationSpeed = 1250; | |
// Oi! Jamie! You may need to noodle the value of `rotationSpeed` | |
// As far as I can tell, it means: |
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
#!/bin/bash | |
# __ | |
# _____ ____ _/ |_ ____ ____ _______ | |
# / \ _/ __ \ \ __\_/ __ \ / _ \ \_ __ \ | |
# | Y Y \\ ___/ | | \ ___/ ( <_> ) | | \/ | |
# |__|_| / \___ > |__| \___ > \____/ |__| | |
# \/ \/ \/ | |
# | |
# .___ | |
# __| _/ __ __ _____ ______ |
/* | |
Only allow users with a verified email address on a pre-verified domain to log in. | |
We're getting people to authenticate and only authorising those that have an email we recognise. | |
Assumes a Meteor.settings like: | |
{ adminDomains: ['tableflip.io', 'meteor.com'] } | |
...and meteor-developer accounts, but other login mechanisms (email, twitter) would work too. | |
*/ |
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('&') | |
} |
/* | |
====================================================================================================================================== | |
= ==================== ===== =================== =================== ================ =========================== | |
==== ====================== == === == ================== =================== ================ ==== ========================== | |
==== ====================== ======= ====================== =================== ====== ======== ==== ========================== | |
==== ===== = ==== === ===== ===== === ======== ======== === === ===== ======= ==== == === ==== ==== == | |
==== ===== = == = === ======= ========== = ======= ============ = == ==== ======== ==== ====== = == = == = | |
==== ===== ========== === ======= ====== == ========== ======== === == = === ======== ==== == === ==== ===== = = | |
==== ===== ======== === ======= ====== == ========== ======== == |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
body{ | |
margin:0; | |
background: #222; | |
} | |
</style> | |
</head> |
#!/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 |