I hereby claim:
- I am kmonaghan on github.
- I am karlmonaghan (https://keybase.io/karlmonaghan) on keybase.
- I have a public key whose fingerprint is E4E4 BABD 771A 7025 CCEF 5EAC 1C2E E488 15BF E648
To claim this, I am signing this object:
| # Make sure 'arial10x10.png' is in the same directory as this script. | |
| import tcod | |
| import tcod.event | |
| # Setup the font. | |
| tcod.console_set_custom_font( | |
| "arial10x10.png", | |
| tcod.FONT_LAYOUT_TCOD | tcod.FONT_TYPE_GREYSCALE, | |
| ) | |
| # Initialize the root console in a context. |
| In a Repo now: | |
| https://github.com/kmonaghan/WWDCBingo |
I hereby claim:
To claim this, I am signing this object:
| SVN=`which svnversion` | |
| REV=`${SVN} -nc ${SOURCE_ROOT} | /usr/bin/sed -e 's/^[^:]*://;s/[A-Za-z]//'` | |
| BASEVERNUM=`/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "${SOURCE_ROOT}"/"${INFOPLIST_FILE}"` | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BASEVERNUM.$REV" "${SOURCE_ROOT}"/"${INFOPLIST_FILE}" |
| #!/bin/bash | |
| # | |
| # (Above line comes out when placing in Xcode scheme) | |
| # | |
| # Inspired by original script by incanus: | |
| # https://gist.github.com/1186990 | |
| # | |
| # Rewritten by martijnthe: | |
| # https://gist.github.com/1379127 | |
| # |
| GIT=`which git` | |
| REV=`$GIT --git-dir=${SOURCE_ROOT}/.git log --pretty=format:'' | wc -l | sed 's/\ //g'` | |
| BASEVERNUM=`/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "${SOURCE_ROOT}"/"${INFOPLIST_FILE}"` | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BASEVERNUM.$REV" "${SOURCE_ROOT}"/"${INFOPLIST_FILE}" |