Skip to content

Instantly share code, notes, and snippets.

View christopherdro's full-sized avatar

Chris Dro christopherdro

View GitHub Profile
@christopherdro
christopherdro / websocket-nodejs-redis-server.js
Created January 27, 2016 04:58 — forked from bricecarpentier/websocket-nodejs-redis-server.js
This is a simple websocket server coded using nodejs and http://einaros.github.io/ws/ connecting to a redis pubsub channel and sending messages to selected clients
var ws = require('ws'),
nconf = require('nconf'),
redis = require('redis');
nconf.argv()
.env();
var server = new ws.Server({port: nconf.get('PORT')});
var sockets = {};
@christopherdro
christopherdro / .travis.yml
Created March 24, 2016 00:32 — forked from johanneswuerbach/.travis.yml
Deploy an iOS app to testflight using Travis CI
---
language: objective-c
before_script:
- ./scripts/travis/add-key.sh
after_script:
- ./scripts/travis/remove-key.sh
after_success:
- ./scripts/travis/testflight.sh
env:
global: