Skip to content

Instantly share code, notes, and snippets.

View jkordish's full-sized avatar

Joseph Kordish jkordish

  • Trellix
  • San Antonio
  • 08:51 (UTC -05:00)
View GitHub Profile
@stevenh512
stevenh512 / gitconfig-git
Created June 11, 2012 10:51
URL rewriting in .gitconfig
# Use git and git+ssh instead of https
[url "git://github.com/"]
insteadOf = https://github.com/
[url "git@github.com:"]
pushInsteadOf = "git://github.com/"
[url "git@github.com:"]
pushInsteadOf = "https://github.com/"

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@jshell
jshell / BBFlakes.py
Created August 19, 2011 19:20
PyFlakes Script for BBEdit 10
#!/usr/bin/env python2.6
"""
A quick script to install into your `Application Support/BBEdit/Scripts` folder.
This runs PyFlakes (requires PyFlakes to be installed at `/usr/local/bin` -
try ``/usr/bin/easy_install-2.6 pyflakes==0.4.0``) and reformats the results
so that they show up in BBEdit's search results / error / warnings window. Then
the errors can be stepped through one at a time.
I've bound this to control-shift-V. You must save your Python file first before
running the check.