Skip to content

Instantly share code, notes, and snippets.

Sylvain Rebaud c0diq

Block or report user

Report or block c0diq

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:ab126675518fdf9add84146c953cbc86
function light() {
if [ -z "$2" ]
then src="pbpaste"
else
src="cat $2"
fi
$src | highlight -O rtf --syntax $1 --font Menlo --style solarized-dark --font-size 24 | pbcopy
}
View Signal+Extensions.swift
//
// Signal+Extensions.swift
// Khan Academy
//
// Created by Nacho Soto on 10/1/15.
// Copyright © 2015 Khan Academy. All rights reserved.
//
import ReactiveCocoa
import Box
@c0diq
c0diq / Xcode4HockeyAppTestFlightintegration.sh
Created Mar 27, 2012
Automatic TestFlight/HockeyApp Upload XCode Script
View Xcode4HockeyAppTestFlightintegration.sh
#!/bin/bash
#
# (Above line comes out when placing in Xcode scheme)
#
# Inspired by original script by incanus:
# https://gist.github.com/1186990
#
# Rewritten by martijnthe:
# https://gist.github.com/1379127
#
@c0diq
c0diq / gist:2213492
Created Mar 27, 2012
Automatic CFBundleVersion increment Build Pre-Action Scheme
View gist:2213492
#!/bin/bash
if [[ $CONFIGURATION == *Adhoc* ]]; then
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" ${PROJECT_DIR}/${INFOPLIST_FILE})
buildNumber=$(($buildNumber + 1))
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" ${PROJECT_DIR}/${INFOPLIST_FILE}
fi
@c0diq
c0diq / Xcode4TestFlightintegration.sh
Created Nov 23, 2011 — forked from martijnthe/Xcode4TestFlightintegration.sh
ReWrite of "Xcode 4 scheme Archive step Post-script for automatic TestFlight build uploading. See the blog post here: http://developmentseed.org/blog/2011/sep/02/automating-development-uploads-testflight-xcode"
View Xcode4TestFlightintegration.sh
#!/bin/bash
#
# (Above line comes out when placing in Xcode scheme)
#
# Inspired by original script by incanus:
# https://gist.github.com/1186990
#
# Rewritten by martijnthe:
# https://gist.github.com/1379127
#
You can’t perform that action at this time.