Skip to content

Instantly share code, notes, and snippets.

View chml's full-sized avatar

whathewhat chml

View GitHub Profile
@chml
chml / vimrc
Last active December 29, 2015 05:59
vimrc
"==========================================================================
" 通用设置
"==========================================================================
set nocompatible
syntax enable
syntax on
set background=dark
"set background=light
colo solarized
@chml
chml / gitignore
Created November 25, 2013 14:27
xcode project .gitgnore
# OS X
.DS_Store
.AppleDouble
.LSOverride
.localized
# Thumbnails
._*
#!/bin/bash
## Mini-Xcode: XCode 5
MIN_VERSION="6.0"
# set default output folder is build
OUTPUT_FOLDER=${PREFIX-build}
# set default compiler
CC=${CC-$(xcrun --find gcc)}
@chml
chml / Xcode build number
Last active January 18, 2022 00:06
Using git commit count as Xcode build number
#
# https://gist.github.com/johankool/c33cffc0727b13f22f25
# Set the build number to the current git commit count.
# If we're using the Dev scheme, then we'll suffix the build
# number with the current branch name, to make collisions
# far less likely across feature branches.
# Based on:
# http://w3facility.info/question/how-do-i-force-xcode-to-rebuild-the-info-plist-file-in-my-project-every-time-i-build-the-project/
# http://blog.jaredsinclair.com/post/97193356620/the-best-of-all-possible-xcode-automated-build#fnref:p97193356620-1
#