Skip to content

Instantly share code, notes, and snippets.

🌊
ride the wave

Harper Reed harperreed

View GitHub Profile
View Name space your shell commands.md

#Name space your shell commands

From the awesome jim blandy

Create a directory to hold all your little project-specific scriptlets; mine is ~/moz/bin.

Then, create a script in your personal bin directory --- my little script is called ~/bin/moz --- that reads something like:

#!/usr/bin/env bash
PATH=$HOME/moz/bin:$PATH
View gist:9745276
### Keybase proof
I hereby claim:
* I am harperreed on github.
* I am harper (https://keybase.io/harper) on keybase.
* I have a public key whose fingerprint is 2C65 36AA AD81 F4A1 7FDE C73C 3F9E BC67 5788 BEE6
To claim this, I am signing this object:
@harperreed
harperreed / sub.sh
Created Dec 29, 2014
my ghetto hacked vim^H^H^Hsub command
View sub.sh
#!/bin/sh
#
# This shell script passes all its arguments to the binary inside the
# MacVim.app application bundle. If you make links to this script as view,
# gvim, etc., then it will peek at the name used to call it and set options
# appropriately.
#
# Based on a script by Wout Mertens and suggestions from Laurent Bihanic. This
# version is the fault of Benji Fisher, 16 May 2005 (with modifications by Nico
# Weber and Bjorn Winckler, Aug 13 2007).
View Brewfile
# Install Goodies
#
#
install caskroom/cask/brew-cask
install fortune
install go
install mobile-shell
install nmap
install node
@harperreed
harperreed / Brewfile
Created May 8, 2015
Harper's New Mac Brewfile
View Brewfile
tap 'caskroom/cask'
tap 'homebrew/bundle'
brew 'brew-cask'
brew 'fortune'
brew 'go'
brew 'mobile-shell'
brew 'nmap'
brew 'node'
brew 'openssl'
brew 'pkg-config'
View Web product guidelines.md

#Web product guidelines

From @leahculver. Originally posted here.

  • simple
  • public over private
  • personal vanity
  • internet is global
  • permalinks
  • one important item per page
  • don't break the browser
View my .screenrc
# based off of http://wearehugh.com/public/2007/03/screenrc
# and http://diveintomark.org/archives/2007/03/15/good-easy-2007
# ~/.screenrc
# UTF-8 everywhere
defutf8 on
# disable Ctrl-S/Ctrl-Q "flow control"
View rtorrent.rc
scgi_local = /tmp/rpc.socket
#encoding_list = UTF-8
min_peers = 40
max_peers = 100
min_peers_seed = 10
max_peers_seed = 50
max_uploads = 15
upload_rate =50
directory =/home/torrents/torrents/doing
session = /home/torrents/.rtsession
View blogstore_helper.py
"""
A helper for the app engine blobstore API and Django.
Works with the appengine patch:
http://code.google.com/p/app-engine-patch/
Taken and inspired by:
http://appengine-cookbook.appspot.com/recipe/blobstore-get_uploads-helper-function-for-django-request/
Usage:
You can’t perform that action at this time.