Skip to content

Instantly share code, notes, and snippets.

View joelso's full-sized avatar

Joel Söderström joelso

View GitHub Profile
@olalonde
olalonde / deis-v1-to-v2-cheatsheet.md
Last active May 10, 2017 02:53
Deis v1 to v2 cheatsheet

Deis v1 to v2 cheatsheet

Warning: those are personal not, can't guarantee they are correct!

alias kd="kubectl --namespace=deis"

Table of Contents

@guillaumebort
guillaumebort / 1.sql
Created May 25, 2012 15:17
Play 2.0/Anorm
# --- !Ups
CREATE TABLE users(
email VARCHAR(255) NOT NULL PRIMARY KEY,
name VARCHAR(255)
);
CREATE TABLE subjects(
id INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
title LONGTEXT NOT NULL,
@bverbeken
bverbeken / usePlay.sh
Created January 14, 2012 14:55
script to easily switch between Playframework versions
#!/bin/bash
BASE_PATH="$HOME/Development/tools/playframework"
changePath () {
path_remove $1;
export PATH="$1:$PATH";
}
path_remove () {