Skip to content

Instantly share code, notes, and snippets.

View Pitsko's full-sized avatar

Andrei Pitsko Pitsko

View GitHub Profile
@Pitsko
Pitsko / ReactiveCocoa.podspec.json
Created July 5, 2016 11:49
Fixed ReactiveCocoa.podspec.json 2.5
{
"name": "ReactiveCocoa",
"version": "2.5",
"summary": "A framework for composing and transforming streams of values.",
"homepage": "https://github.com/blog/1107-reactivecocoa-is-now-open-source",
"authors": {
"Josh Abernathy": "josh@github.com"
},
"source": {
"git": "https://github.com/ReactiveCocoa/ReactiveCocoa.git",
xcrun simctl list | awk -F "[()]" '{ for (i=2; i<NF; i+=2) print $i }' | grep '^[-A-Z0-9]*$' | xargs -I uuid xcrun simctl erase uuid
@Pitsko
Pitsko / icon_overlay.sh
Last active January 17, 2018 12:04
ios icon overlay script
version=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "${INFOPLIST_FILE}"`
build=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${INFOPLIST_FILE}"`
export PATH=$PATH:/usr/local/bin
function addOverlayInfo() {
income_icon_name=$1
outcome_icon_name=$2
echo "addOverlayInfo with income ${income_icon_name} and outcoming ${outcome_icon_name}"