I hereby claim:
- I am akatrevorjay on github.
- I am trevorj (https://keybase.io/trevorj) on keybase.
- I have a public key ASDdnoVxUD5OTmamHPjWEZIIJDCFOaHFO4dcnUjKreiL8Ao
To claim this, I am signing this object:
#!/bin/bash -exv | |
# __________________________ | |
# chromium-update-nightly.sh | |
# | |
# Simple updater that keeps track of partial downloads and if an update is even needed. | |
# | |
# ~trevorj 043013 | |
# | |
fn="$HOME/Downloads/chrome-linux-latest.zip" |
#!/bin/bash | |
# ___________________ | |
# keychain-wrapper.sh | |
# | |
# -- Simple wrapper to auto-spawn keychain for a target command. | |
# | |
# * Installation via shell pipe: | |
# | |
# curl -sL https://gist.github.com/akatrevorjay/5487632/raw/keychain-wrapper.sh | bash | |
# |
#!/bin/bash -e | |
# ____________ | |
# getkwargs.sh | |
# | |
# -- Gives you simple Python-esque arguments in Bash | |
# ie: your_function_or_script never=always sync daemon=True | |
# | |
# TODO Enhance interface with standard opts support: -p|--path[=blah] | |
# | |
# ~trevorj 05/05/2013 |
#!/usr/bin/env python | |
## | |
## ----- | |
## ATTN: Latest version has been moved to a repo, see: https://github.com/akatrevorjay/crawlfisher | |
## ----- | |
## | |
## Crawls through URLs looking for goo.gl links, verifies they are IO event | |
## invites before saving them to sqlite. | |
## If it's a Youtube video watch link, also check annotations. | |
## |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'erb' | |
bootlocalsh = %Q(#/bin/bash | |
sudo umount /Users | |
sudo /usr/local/etc/init.d/nfs-client start | |
sudo mount -t nfs -o noacl,async <%= vboxnet_ip %>:/Users /Users | |
) |
#!/bin/bash -eo pipefail | |
# ______________________ | |
# docker-machine-wrapper: Wraps a command with your docker-machine dev environment | |
# | |
# * Put a directory in the beginning of $PATH somewhere in your shell init, | |
# ala ~/.bashrc, with a line such as the following at the end of the file: | |
# | |
# export PATH="$HOME/.bin:$PATH" | |
# | |
# Then save this file as "$HOME/.bin/docker". You can symlink it to the same |
import glob | |
import itertools | |
import os | |
# This is getting ridiculous | |
try: | |
from pip._internal.req import parse_requirements | |
from pip._internal.network.session import PipSession | |
except ImportError: | |
try: |
#!/usr/bin/env python | |
""" | |
Originally from: https://www.stavros.io/posts/python-fuse-filesystem/ | |
All credit goes to the author, not me. | |
""" | |
from __future__ import with_statement | |
import os | |
import sys |
#!/bin/bash -e | |
# Blocksize to truncate to and buffer by | |
BS=${BS:-4096} | |
SELF="`basename $0`" | |
death() { echo "$SELF:" "$@" >&2; exit 1; } | |
[ $# -eq 2 ] || death "Usage: $SELF original copy" | |
SRC="$1"; DST="$2" |