Skip to content

Instantly share code, notes, and snippets.

View scottheaberlin's full-sized avatar

Scott Heaberlin scottheaberlin

View GitHub Profile
#!/bin/bash
set -ex
# This scripts allows you to upload a binary to the iTunes Connect Store and do it for a specific app_id
# Because when you have multiple apps in status for download, xcodebuild upload will complain that multiple apps are in wait status
# Requires application loader to be installed
# See https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html
# Itunes Connect username & password
USER=bla
@scottheaberlin
scottheaberlin / building soapUI
Last active August 29, 2015 14:14
Build SoapUI 5
To build SoapUI Open Source, you can follow these steps (example given for version 5.1.1)
requirements to build: see https://github.com/SmartBear/soapui/blob/642c67028aa252f8f6133eaa6602ca9369c84573/README.md#prerequisite
$JAVA_HOME must be set or java must be in $PATH
git clone https://github.com/SmartBear/soapui
OR download a source archive (ex: https://github.com/SmartBear/soapui/archive/5.1.1.zip)
unzip and open a command line prompt in the unzipped directory
cd soapui-installer
mvn clean package assembly:single
@scottheaberlin
scottheaberlin / .gitconfig
Last active August 29, 2015 14:05
git config for beyondcompare 3 on windows 7 64 bit under cygwin
[diff]
tool = beyondcompare3
[difftool "beyondcompare3"]
#inspired by http://stackoverflow.com/questions/2069490/git-diff-with-beyond-compare
#use cygpath to transform cygwin path $LOCAL (something like /tmp/U5VvP1_abc) to windows path, because bc3 is a windows software
cmd = \"c:/program files (x86)/beyond compare 3/bcomp.exe\" \"$(cygpath -w $LOCAL)\" \"$REMOTE\"
[mergetool "beyondcompare3"]
cmd = \"c:/program files (x86)/beyond compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
trustExitCode = true
#########################
# .gitignore file for Xcode4 / OS X Source projects
#
# Version 2.0
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
# 2013 updates:
# - fixed the broken "save personal Schemes"
#
# NB: if you are storing "built" products, this WILL NOT WORK,
@scottheaberlin
scottheaberlin / pushdotfiles.sh
Last active December 28, 2015 02:49
pushdotfiles - uses rsync to push home dir "dotfiles" to a target server over SSH. Useful when ssh'ing into a box for the first time to setup a local home dir when there is no central mount for home dirs.
#!/bin/bash
echo "Pushing dotfiles to $1..."
export USER=`whoami`
rsync --exclude=".ssh/" --exclude=".git/" --exclude=".DS_Store" --exclude="bootstrap.sh" --exclude=".bash_history" --exclude="README.md" --include=".**" --exclude="*" -av -e ssh . $USER@$1:~