Skip to content

Instantly share code, notes, and snippets.

# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby
@Rudy-Zidan
Rudy-Zidan / go-setup
Created October 28, 2016 22:49
Go Lang setup environment on ubuntu
Download latest go:
wget https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
Unrar go:
sudo tar -xvf go1.7.linux-amd64.tar.gz
sudo mv go /usr/local
Setting up Go ENV:
export GOROOT=/usr/local/go
export GOPATH=$HOME/Projects/Proj1