Skip to content

Instantly share code, notes, and snippets.

View race.zsh
#!/usr/bin/env zsh
#
# Usage:
# Any arguments to this script are passed along to `catkin build`
#
# i.e.:
# ./race.zsh # Run with default number of jobs
# ./race.zsh -p 1 # Run with only one job
#
# Description:
View gist:9381298
### Keybase proof
I hereby claim:
* I am cmansley on github.
* I am cmansley (https://keybase.io/cmansley) on keybase.
* I have a public key whose fingerprint is 67FD FE29 1E3C AFDD 6591 375F 8AA6 9BD5 71CA 52A1
To claim this, I am signing this object:
@cmansley
cmansley / grab.py
Created Aug 8, 2011
Open get the name of all yaml files in a directory
View grab.py
names = [x for x in os.listdir(samples_dir + "/left/") if ".yaml" in x]
@cmansley
cmansley / mbie.py
Created Aug 6, 2011
A simple verification of an optimization from ICML 2005 by Strehl and Littman
View mbie.py
import math
import random
from cvxopt import matrix
from cvxopt import solvers
solvers.options['show_progress'] = False
def dot(T,V):
return sum([T[i]*V[i] for i in range(len(V))])
You can’t perform that action at this time.