[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/sbin/sh | |
# To be used with extreme caution. | |
# This script will utterly and totally obliterate any block device | |
# you pass to it. It was designed for use on Android for secure | |
# wiping of devices, but could probably be used otherwise. | |
# DO NOT USE THIS UNLESS YOU ARE ABSOLUTELY SURE OF WHAT YOU'RE DOING | |
help_text="usage: obliterate [partition]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am rfkrocktk on github. | |
* I am rfkrocktk (https://keybase.io/rfkrocktk) on keybase. | |
* I have a public key whose fingerprint is 0E26 BDF1 BD1C 4A16 9571 21A8 8938 1D75 6569 758F | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# -*- coding: utf-8 -*- | |
from dbus.mainloop.glib import DBusGMainLoop | |
import dbus | |
import gobject | |
import logging | |
logging.basicConfig( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g prefix C-o | |
unbind % | |
unbind , | |
bind | split-window -h | |
bind - split-window -v | |
bind R source-file ~/.tmux.conf | |
bind-key -T prefix r command-prompt -p 'rename window:' -I '#W' "rename-window '%%'" | |
set-window-option -g mode-keys vi | |
set -g escape-time 10 | |
set -g default-terminal screen-256color |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ... normal .bashrc stuff | |
# if our gpg agent environment file exists _and_ we're not over SSH | |
if [[ -f "$HOME/.gpg-agent-info" && -z "$SSH_CLIENT" ]]; then | |
# load environment variables to use local gpg agent for gpg and SSH | |
source "$HOME/.gpg-agent-info" | |
export GPG_AGENT_INFO SSH_AUTH_SOCK SSH_AGENT_PID | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# -*- coding: utf-8 -*- | |
import argparse | |
import glob | |
import json | |
import os | |
import sys | |
import yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "$0 takes one argument; the value of the name tag of EC2 instances to search for." >&2 | |
exit 1 | |
fi | |
name="$1" | |
# create a header for the inventory with a group name of "all" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Innocent(object): | |
value = [] | |
i0 = Innocent() | |
i0.value.append("lulz") | |
i1 = Innocent() | |
print(i1.value) |
Or: "How to Make CloudFormation Not Suck So Bad." Basically, we need to incorporate all of the best-of features of various wrapper projects.
Good Things: