Skip to content

Instantly share code, notes, and snippets.

View mbaltrusitis's full-sized avatar
🕴️
-

Matthew Baltrusitis mbaltrusitis

🕴️
-
  • New York, NY
View GitHub Profile
@mbaltrusitis
mbaltrusitis / bash_profile
Created May 21, 2015 04:15
Basic Mac OS X .bash_profile
if [ $(id -u) -eq 0 ];
then # you are root, make the prompt red
PS1="┌─[\e[01;34m\u @ \h\e[00m]---[\e[01;34m$(pwd)\e[00m]\n└─>\e[01;31m#\e[00m "
else
PS1="┌─[\e[0;31m\u @ \h\e[00m]$\n└─>"
fi
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
# Settings via http://hackercodex.com/guide/mac-osx-mavericks-10.9-configuration/
@mbaltrusitis
mbaltrusitis / gist:b5d0fc563d8e02b6fec7
Created March 9, 2015 20:35
CODE Keyboard Karabiner Settings
<item>
<name>CODE/WASD Keyboard Media Keys (Mac)</name>
<appendix>This will bind CODE/WASD the printed values on the media keys to their actual software function.
* Insert : Pause / Play
* Delete : Previous SOng
* End : Next Song
* Pause : Mute Volume
* Page Up : Volume Up
* Page Down : Volume Down
</appendix>