Skip to content

Instantly share code, notes, and snippets.

@30equals
30equals / gist:4524356
Created January 13, 2013 14:31
Working config for xdebug in Vagrant
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=33.33.33.1
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_connect_back=1
@30equals
30equals / howto_zsh_noautocorrect
Created August 7, 2012 18:10
Ignore ZSH autocorrect for certain commands
1) List all the commands to not be corrected in ~/.zsh_nocorrect, 1 per line.
2) Add to ~/.zshrc:
if [ -f ~/.zsh_nocorrect ]; then
while read -r COMMAND; do
alias $COMMAND="nocorrect $COMMAND"
done < ~/.zsh_nocorrect
fi
@30equals
30equals / .conkyrc
Created December 9, 2011 22:38
conky config file -- NOT COMPLETE -- need to add weather info etc.. integrates nicely with mocp already though
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
@30equals
30equals / moc_theme
Created December 9, 2011 22:27
moc custom theme
background = default default
frame = default default
window_title = default default
directory = cyan default
selected_directory = cyan white reverse
playlist = default default
selected_playlist = default default reverse
file = default default
selected_file = default default reverse
marked_file = cyan default bold
@30equals
30equals / git_install_redhat
Created January 11, 2011 21:52
install git on redhat/centos
#first install the compiler
yum install gcc gcc-c++ autoconf automake
#install zlib-devel as it's a dependency
yum install zlib-devel
#then get and build git from source
cd /usr/lib
wget "http://kernel.org/pub/software/scm/git/git-1.6.1.2.tar.gz"
tar xzvf git-1.6.1.2.tar.gz