Skip to content

Instantly share code, notes, and snippets.

View baruchlubinsky's full-sized avatar

Baruch Lubinsky baruchlubinsky

View GitHub Profile
@baruchlubinsky
baruchlubinsky / server.go
Created March 18, 2015 10:06
A webserver to redirect `go get` requests to a kilnhg (or any other) server.
// A server for responding to go get requests in order to redirect to an unsupported repo host.
package main
import (
"html/template"
"net/http"
"os"
"strings"
)

Keybase proof

I hereby claim:

  • I am baruchlubinsky on github.
  • I am baruchlubinsky (https://keybase.io/baruchlubinsky) on keybase.
  • I have a public key whose fingerprint is EE74 3C14 AE52 8E3A 9B1F 3AA9 2324 6E49 EB6B 3333

To claim this, I am signing this object:

@baruchlubinsky
baruchlubinsky / mongo.sh
Created August 27, 2013 10:14
Install MongoDB on Ubuntu
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list
sudo apt-get update
sudo apt-get install mongodb-10gen