We're hosting talks at Shyp next Wednesday and the Wednesday after that. Hope you can join us! Here are the talks:
Want to get notified when we host talks in the future? email me here: [email protected]
12pm, July 15
585 Howard St. 3rd floor
var time = Date.now(); | |
require('sails').lift({ | |
models: { | |
migrate: "safe" | |
}, | |
verbose: true, | |
log: { | |
level: 'silly' | |
}, | |
hooks: { |
> r = require('raven'); | |
> console.log(r); | |
{ version: '0.7.2', | |
Client: | |
{ [Function: Client] | |
super_: { [Function: EventEmitter] listenerCount: [Function] } }, | |
patchGlobal: [Function: patchGlobal], | |
utils: | |
{ getAuthHeader: [Function: getAuthHeader], |
MailchimpError = (function() { | |
function MailchimpError(status, name, error) { | |
this.message = error; | |
this.status = status; | |
this.name = name; | |
// handle the case where you don't invoke this with `new` | |
if (!(this instanceof MailchimpError)) { | |
return new MailchimpError(this.message); | |
} | |
Error.call(this); |
var d = Date.now(); | |
// Subtract 5 minutes | |
d = new Date(d - 5 * 60 * 1000) | |
// Add ten minutes | |
d = new Date(d + 10 * 60 * 1000) | |
console.log(d); |
We're hosting talks at Shyp next Wednesday and the Wednesday after that. Hope you can join us! Here are the talks:
Want to get notified when we host talks in the future? email me here: [email protected]
12pm, July 15
585 Howard St. 3rd floor
# Database connection interface modeled heavily on Go's database/sql library. | |
# | |
# If you need to make a query, call: | |
# | |
# DBConnection.get (err, conn) -> | |
# conn.query 'SELECT foo FROM bar', (err, result) -> | |
# console.log result.rows[0] | |
# conn.release() | |
# | |
# You'll need to release the connection yourself. It's not recommended, but |
root@vagrant-ubuntu-trusty-64:~# dpkg --contents /var/cache/apt/archives/docker-engine_1.9.1-0~trusty_amd64.deb | |
drwxr-xr-x root/root 0 2015-11-20 13:13 ./ | |
drwxr-xr-x root/root 0 2015-11-20 13:12 ./etc/ | |
drwxr-xr-x root/root 0 2015-11-20 13:12 ./etc/init/ | |
-rw-r--r-- root/root 1533 2015-11-20 12:47 ./etc/init/docker.conf | |
drwxr-xr-x root/root 0 2015-11-20 13:12 ./etc/default/ | |
-rw-r--r-- root/root 493 2015-11-20 12:47 ./etc/default/docker | |
drwxr-xr-x root/root 0 2015-11-20 13:12 ./etc/init.d/ | |
-rwxr-xr-x root/root 3585 2015-11-20 12:47 ./etc/init.d/docker | |
drwxr-xr-x root/root 0 2015-11-20 13:12 ./etc/bash_completion.d/ |
-w "\n" |