This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Machines - Mike McNeil - @mikermcneil | |
Brining the lessons of Node down to the database - Josh Kuhn - @deontologician | |
Intro to Kraken - Lenny Markus - @LennyMarkus | |
Intro to Meteor - Rahul Choudhury | |
REST APIs with Loopback - Shubhra Kar - @ShubhraKar | |
Maintaining JavaScript Code Quality with ESLint - Jamund Ferguson - @xjamundx | |
Introduction to iojs - Ross Kukulinski - @rosskukulinski | |
Using Flow with NodeJS - Adam Crabtree - @CrabDude | |
Shipping NodeJS with Docker Containers - Ross Kukulinski - @rosskukulinski | |
Developing with Typescript - Peter Snider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function reviewed(){ | |
docker run -t --rm -e IDT_USERNAME -e IDT_PASSWORD -e IDT_ADDRESS jess/idonethis "reviewed #${1}" | |
} | |
function http(){ | |
docker run -t --rm jess/httpie "$@" | |
} | |
function aws(){ | |
docker run -t --rm -v $HOME/.aws:/root/.aws jess/awscli "$@" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch( animation ) { | |
case 1: | |
outClass = 'pt-page-moveToLeft'; | |
inClass = 'pt-page-moveFromRight'; | |
break; | |
case 2: | |
outClass = 'pt-page-moveToRight'; | |
inClass = 'pt-page-moveFromLeft'; | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cloudstorageclient = pkgcloud.storage.createClient({ | |
provider: "amazon", | |
accessKeyId: "**redacted**", | |
accessKey: "**redacted**", | |
region:"us-west-2" | |
}); | |
var localuploadfile = fs.createReadStream('/path/to/local/file'); | |
var cloudupload = cloudstorageclient.upload({ | |
container: cloudStorageContainer, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Rackspace LB Configurator | |
After=docker.service | |
After=etcd.service | |
Requires=docker.service | |
Requires=etcd.service | |
[Service] | |
EnvironmentFile=/etc/environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ if ls "/services/nginx/marketing" }} | |
upstream marketing { | |
least_conn; | |
{{ range getvs "/services/nginx/marketing/*" }} | |
server {{ . }};{{ end }} | |
} | |
{{ end }} | |
server { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Ross Kukulinski "ross@speakit.io" | |
ENV REFRESHED_AT 2014-09-22 | |
RUN apt-get -qq update | |
RUN apt-get -yqq install supervisor | |
COPY supervisord.conf /etc/supervisord.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM <private repo> | |
MAINTAINER Ross Kukulinski "ross@speakit.io" | |
ADD nginx.toml /etc/confd/conf.d/nginx.toml | |
ADD templates/nginx.tmpl /etc/confd/templates/nginx.tmpl | |
ADD confd-watch /usr/local/bin/confd-watch | |
RUN chmod +x /usr/local/bin/confd-watch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
coreos: | |
fleet: | |
public-ip: $public_ipv4 | |
metadata: region=dfw,provider=rackspace | |
etcd: | |
discovery: https://discovery.etcd.io/youridhere | |
# multi-region and multi-cloud deployments need to use $public_ipv4 | |
# We'll actually fill this in using fixup_etc.sh (see below) | |
# addr: $rax_privatenet_ipv4:4001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in `ip a | grep -- 'inet ' | awk '{print $2}' | grep -v '^127.' | cut -d'/' -f1`; do | |
case `echo $i | cut -d. -f1` in | |
"10") | |
echo "RAX_SERVICENET_IPV4=$i" | |
;; | |
"192") | |
echo "RAX_PRIVATENET_IPV4=$i" |