Skip to content

Instantly share code, notes, and snippets.

@yrstruly
yrstruly / gist:2370513
Created April 12, 2012 19:46
Get the GitHub user name from the origin of a clone.
git remote show origin | grep Fetch | sed -e 's/^.*://' -e 's/\/.*//'
@yrstruly
yrstruly / clients.md
Created April 12, 2012 19:43 — forked from defunkt/clients.md
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

@yrstruly
yrstruly / gist:2308312
Created April 5, 2012 05:51
Check for Git.
if git --version 2>&1 >/dev/null ; then
# do stuff
fi
@yrstruly
yrstruly / Inconsolata-dz-Powerline.otf
Created January 19, 2012 04:02 — forked from qrush/Inconsolata-dz-Powerline.otf
vim-powerline patched fonts
@yrstruly
yrstruly / Menlo-ForPowerline.ttc.zip
Created January 19, 2012 04:02 — forked from sjl/Menlo-ForPowerline.ttc.zip
Patched Menlo for Powerline. This one includes the bold, italic, etc variants.
@yrstruly
yrstruly / gist:1579570
Created January 8, 2012 20:31
Getting XCode 4.2 to work with HomeBrew, ruby-build on a fresh install
Recently I've reinstalled OS X Lion on a clean HDD, after having installed XCode 4.2
through the App Store I've ran into a lot of problems when I tried to use HomeBrew
(http://mxcl.github.com/homebrew/) or ruby-build (https://github.com/sstephenson/ruby-build).
This is a know problem see: https://github.com/mxcl/homebrew/issues/6852 or
https://github.com/sstephenson/ruby-build/issues/62.
* the problem is that (so for as I understand it) XCode 4.2 includes only the llvm-gcc
compiler while homebrew/ruby-build depend (partially) on gcc (non-llvm) *
@yrstruly
yrstruly / Skyrim.ini
Created November 16, 2011 02:39
Skyrim ini files
[General]
sLanguage=ENGLISH
uGridsToLoad=7
uExterior Cell Buffer=64
iPreloadSizeLimit=262144000
[Display]
fShadowLODMaxStartFade=1000.0
fSpecularLODMaxStartFade=2000.0
fLightLODMaxStartFade=3500.0