Skip to content

Instantly share code, notes, and snippets.

Build full FAT (32+64 bit) Python on OS X:
==========================================
readline & gettext:
export MACOSX_DEPLOYMENT_TARGET=10.5
export CFLAGS="-arch ppc7400 -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp"
export CCFLAGS="-arch ppc7400 -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe"
export CXXFLAGS="-arch ppc7400 -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe"
export LDFLAGS="-arch ppc7400 -arch ppc64 -arch i386 -arch x86_64 -bind_at_load"
MacVim with custom Python support:
$ cd vim7/src
$ ./configure --enable-gui=macvim --enable-python-interp
$ make
$ cd MacVim
$ xcodebuild
$ mv build/Release/MacVim.app /Applications
@jbeigel
jbeigel / restart_rdpclip.bat
Created August 25, 2011 12:22
restart rdpclip.exe
taskkill /f /im rdpclip.exe /fi "username eq %USERNAME%"
start rdpclip.exe
exit