This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| ./configure \ | |
| --prefix=/usr \ | |
| --mandir=/usr/share/man \ | |
| --infodir=/usr/share/info \ | |
| --sysconfdir=/private/etc \ | |
| --with-apxs2=/usr/sbin/apxs \ | |
| --enable-cli \ | |
| --with-config-file-path=/etc \ | |
| --with-libxml-dir=/usr \ | |
| --with-openssl=/usr \ |
| ## {{{ http://code.activestate.com/recipes/474088/ (r1) | |
| #!/usr/bin/env python2.4 | |
| # This program shows off a python decorator( | |
| # which implements tail call optimization. It | |
| # does this by throwing an exception if it is | |
| # it's own grandparent, and catching such | |
| # exceptions to recall the stack. | |
| import sys |
| def PrimeIter(num): | |
| seq = [ i for i in xrange(num) ] | |
| def gen(): | |
| for n in seq: | |
| if 2<=n<=num/2: | |
| yield n |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer