#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
Reference: http://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/
FROM python:2.7.9-wheezy | |
RUN pip install coursera | |
RUN pip install --upgrade virtualenv | |
VOLUME /tmp/ | |
WORKDIR /tmp/ | |
ENTRYPOINT bash |
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
Reference: http://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/
pdftk myoldfile.pdf cat 1-2 4-5 output mynewfile.pdf
Reference: http://linuxcommando.blogspot.com/2013/02/splitting-up-is-easy-for-pdf-file.html
https://api.github.com/users/<username>/events/public
Ctrl+F email
References: http://www.sourcecon.com/news/2014/02/06/how-to-find-almost-any-github-users-email-address/
FROM python:2.7.9-wheezy | |
RUN git clone https://github.com/shk3/edx-downloader | |
RUN (cd edx-downloader && pip install -r requirements.txt) | |
RUN pip install --upgrade youtube_dl | |
VOLUME /tmp/ | |
WORKDIR /tmp/ | |
ENTRYPOINT bash |
Here is the enterprise version
https://github.com/cxreg/smartcd
I only needed this
https://github.com/alecthomas/ondir
Macs can brew install ondir, I guess there must be some linux install.
./test.test -test.cpuprofile=x.prof -test.run=XXX -test.bench=MyBenchmark | |
go tool pprof --svg test.test x.prof > x.svg |
alias s='git status' | |
alias test='go test -v 2>&1' | |
alias d='git diff' | |
alias f='gofmt -w -s -l .' |
function repeattest { | |
go test -c | |
while [ $? -eq 0 ]; do | |
GOMAXPROCS=$[ 1 + $[ RANDOM % 100 ]] ./`ls *.test` -test.v $1 2>&1 | |
done | |
} |
<!DOCTYPE HTML><html lang="en-US" prefix="og: http://ogp.me/ns#"><head><link rel="stylesheet" type="text/css" href="https://cdn.n0where.net/wp-content/cache/minify/000000/c455a/default.include.6ddebb.css" media="all" /><script defer type="text/javascript" src="https://cdn.n0where.net/wp-content/cache/minify/000000/c455a/default.include.80798f.js"></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"><link rel="shortcut icon" href="https://cdn.n0where.net/wp-content/uploads/2014/03/favicon.gif" /><meta property="og:image" content="https://cdn.n0where.net/wp-content/uploads/2015/06/systemd.jpg" /><title>Understanding Systemd</title><script type="text/javascript">var ajaxurl='https://n0where.net/wp-admin/admin-ajax.php',ap_nonce='63f0fe5e7b',ap_max_tags='5';disable_hover_card=false;</script><meta name="robots" content="noodp,noydir"/><meta name="description" content="Understanding systemd - suite of sy |