Skip to content

Instantly share code, notes, and snippets.

halberom / output
Created Jun 5, 2014
ansible - using lookup to get a date timestamp into a variable
View output
TASK: [debug var=mydate] ******************************************************
ok: [localhost] => {
"mydate": "20140605101824"
evanscottgray /
Last active Oct 9, 2020
kill all docker containers at once...
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt
brandonb927 /
Last active Oct 21, 2020
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see
# Alot of these configs have been taken from the various places
# on the web, most from here
You can’t perform that action at this time.