Skip to content

Instantly share code, notes, and snippets.

  1. Step away from the article for a day, then proof read a preview/draft. You'll catch awkward sentences and minor mistakes.
  2. It's good to be terse but don't be too vauge. It's worth explaining things in a little more detial.
  3. Adding character to your work is important. People don't connect with robots.
@sekati
sekati / xcode-build-bump.sh
Created July 24, 2012 20:44
Xcode Auto-increment Build & Version Numbers
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)
@bendavis78
bendavis78 / gist:3157948
Created July 22, 2012 02:14
Installing pygit2 on ubuntu

Download and build libgit2

$ cd ~/.local/src/
$ git clone git://github.com/libgit2/libgit2.git 
$ cd libgit2
$ mkdir build && cd build
$ cmake ..
$ cmake --build .

If debugging, use the following cmake commands instead: