Skip to content

Instantly share code, notes, and snippets.

@DracoLi
DracoLi / gist:5811044
Last active December 18, 2015 16:19 — forked from pithyless/gist:1208841

Install Python

$ brew install readline sqlite gdbm --universal
$ brew install python --universal --framework
$ python --version
Python 2.7

Symlinks...

@DracoLi
DracoLi / new_bashrc.sh
Created August 11, 2012 08:03 — forked from josephwecker/new_bashrc.sh
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful.
#!/bin/bash
# License: Public Domain.
# Author: Joseph Wecker, 2012
#
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile?
# Are you tired of trying to remember how darwin/mac-osx treat them differently from linux?
# Are you tired of not having your ~/.bash* stuff work the way you expect?
#
# Symlink all of the following to this file:
# * ~/.bashrc
@DracoLi
DracoLi / .gitattributes
Created June 28, 2012 17:27 — forked from krisalyssa/.gitattributes
.gitignore and .gitattributes for Xcode 4.3
# treats your Xcode project file as a binary; prevents Git from trying to fix newlines, show in diffs, and excludes from merges
*.pbxproj -crlf -diff -merge