Skip to content

Instantly share code, notes, and snippets.

Incident Identifier: [TODO]
CrashReporter Key: [TODO]
Hardware Model: iPod5,1
Process: Clock [3512]
Path: /var/mobile/Applications/BC0783D7-3F57-4317-A0C7-BCEBE1AB9632/Clock.app/Clock
Identifier: com.raizlabs.clockradio
Version: 2.3.5
Code Type: ARM
Parent Process: launchd [1]
# Get a Continuous Integration Token on AppBlade.com
# while on your project details page. If you don't
# have a project yet, you'll have to create one.
CI_TOKEN=YOUR_PROJECTS_CI_TOKEN
BUNDLE_PATH=/path/to/bundle
# Optional arguments
ZIPPED_DSYM_PATH=/path/to/a/zipped/dsym
OVERRIDE_BUNDLE_VERSION_STRING=0.0.1
CHANGELOG="Some changes bro"
# Look up all the tags, grep for any on this commit, excluding jenkins-build tags
TAGGED_RELEASE=`git show-ref --tags --dereference | grep \`git rev-parse HEAD\` | awk '$2 !~ /refs\/tags\/jenkins(.+)\^\{\}/ { print $2 }'`
# Any results?
if [ -n "$TAGGED_RELEASE" ]
then
# If there was a match, we are on a tagged release (or many), normalize them, and grab the first one
GIT_TAG=`echo $TAGGED_RELEASE | tr "^{}" " " | tr "/refs/tags/" " " | awk -F" " '{print $1}'`
#!/bin/bash
# some variables we'll use later on
PROJECT_PATH=${WORKSPACE}/trunk
SIGNING_PATH=${PROJECT_PATH}/Signing
APP=Clock
XCODEPROJ_PATH="${PROJECT_PATH}/${APP}.xcodeproj"
XCODE_TARGET_NAME=${APP}.app
DSYM_NAME=${XCODE_TARGET_NAME}.dSYM
BUILD_PATH=${PROJECT_PATH}/build
@jamesdaniels
jamesdaniels / appblade-jenkins.bash
Created January 13, 2012 19:14
Jenkins: push tagged commits to AppBlade
# Push tagged commits to AppBlade
# https://appblade.com/api
# Look up all the tags, grep for any on this commit, excluding jenkins-build tags
TAGGED_RELEASE=`git show-ref --tags --dereference | grep \`git rev-parse HEAD\` | awk '$2 !~ /refs\/tags\/jenkins(.+)\^\{\}/ { print $2 }'`
# Any results?
if [ -n "$TAGGED_RELEASE" ]
then
function savemyshitbro {
git stash
git checkout -b $1
git stash apply
git push origin $1
}
// $savemyshitbro BRANCH_NAME
// usage: savemyshitbro changes_to_something
@jamesdaniels
jamesdaniels / Questions
Created July 13, 2011 15:42
Magma Rails Give-away
Day Job: Rails developer (freelance) and serial startup-cofounder
Open Source contribution (if any): a bundle, mostly focusing around Rails/OAuth/E-commerce
Tell me about your experience with Ruby/Rails: an intense love affair since 2004ish, only made rocky due to my running around with javascript
How do you use GitHub: with gusto?
Favorite luchador(es): strong bad
@jamesdaniels
jamesdaniels / private.rb
Created June 27, 2011 15:24 — forked from joefiorini/private.rb
Indent methods under private?
class Blah
private
def method1
end
def method2
end
Nokogiri::HTML(open('http://hackerunderground.com/')).css('#the_puzzle').text.match(/\[(.+)\]/)[1].split.group_by(&:to_i).select{|k,v| v.size > 1}.map(&:first).select(&:prime?).first
@jamesdaniels
jamesdaniels / haha.rb
Created March 3, 2011 06:31
Oldest ruby file (of my own creation) I could locate on my hard-drive, dated 2/7/04 - man I was bad
#************************************** this will flip all the bits passed to it * * * * * * *
def flip(binary)
# replace 1 with 2, then 0 with 1, and then 2 with 0
return ((binary.tr("1","2")).tr("0","1")).tr("2","0")\
end
#************************************** adding implementation into the Integer class * * * * *
class Integer
def in_unsigned_binary(bits) #******* returns the unsigned binary form of the integer * * *