This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MY_USERNAME="username" | |
CONFIGURATION_NAME="Ad Hoc" # Distribution, Ad Hoc... | |
PROJDIR="/path-to-your-xcode-project" | |
APPLICATION_NAME="myapplication" | |
PROJECT_NAME="${APPLICATION_NAME}" # .xcodeproj ommitted | |
TARGET_SDK="iphoneos4.2" # current sdk | |
PROJECT_BUILDDIR="/Users/${MY_USERNAME}/path-to-build-dir/${CONFIGURATION_NAME}-iphoneos" | |
TARGET_TEST_NAME="${APPLICATION_NAME}" | |
BUILD_HISTORY_DIR="${PROJDIR}/distribution/" # write ${APPLICATION_NAME}.IPA here | |
DEVELOPER_NAME="Your Name (Bundle Prefix If Applicable)" # mine was company name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var get = Ember.get, set = Ember.set, doc = document; | |
var FastSelectComponent = Ember.Component.extend({ | |
items: null, | |
valuePath: 'value', | |
labelPath: 'label', | |
value: null, | |
selected: null, | |
tagName: 'select', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.ApplicationAdapter = DS.RESTAdapter.extend({ | |
find: function(store, type, token) { | |
var service = new AuthServiceClient(new Thrift.Protocol(new Thrift.Transport(App.Config.url.auth))); | |
return new Ember.RSVP.Promise(function(resolve, reject) { | |
service.error = function(status) { | |
Ember.run(function(){ | |
reject(status.errorDescription); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Local: | |
git branch --merged | grep -v '>' | grep -v master | xargs -L1 | xargs git branch --delete | |
Remote (origin): | |
git branch -r --merged | grep origin | grep -v '>' | grep -v master | xargs -L1 | cut -d"/" -f2- | xargs git push origin --delete |