Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/protocool/ack-tmbundle.git Ack.tmbundle
git clone git://github.com/textmate/ruby-haml.tmbundle.git
git clone git://github.com/seaofclouds/sass-textmate-bundle.git "Ruby Saas.tmbundle"
git clone git://github.com/drnic/github-tmbundle.git "GitHub.tmbundle"
@kevinoneill
kevinoneill / UIImage+Size.h
Created March 21, 2011 03:32
Tinting UIImages
//
// UIImage+Size.h
// Quickie
//
// Created by Kevin O'Neill on 13/03/11.
// Copyright 2011 Kevin O'Neill. All rights reserved.
//
#import <UIKit/UIKit.h>
@kevinoneill
kevinoneill / Xcode4TestFlightintegration.sh
Created February 26, 2012 08:39 — forked from martijnthe/Xcode4TestFlightintegration.sh
ReWrite: "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"
#!/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
#
@kevinoneill
kevinoneill / InMobiSDK.podspec
Last active August 29, 2015 14:00
InMobiSDK.podspec 4.3.0
Pod::Spec.new do |s|
s.name = "InMobiSDK"
s.version = "4.3.0"
s.summary = "InMobi iOS SDK."
s.homepage = "https://www.inmobi.com"
s.license = {
:type => 'proprietary',
:text => <<-LICENSE
Copyright (C) InMobi. All Right Reserved.
LICENSE
@kevinoneill
kevinoneill / ios-version.sh
Last active August 29, 2015 14:25
iOS - Update Version Number
VERSION=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "${PROJECT_DIR}/${INFOPLIST_FILE}"`
REVISION=`git rev-list HEAD|wc -l|awk '{print $1}'`
COMMIT=`git rev-parse --short HEAD`
echo -n ${TARGET_BUILD_DIR}/${INFOPLIST_PATH} | xargs -0 /usr/libexec/PlistBuddy -c "Set :about-version-text ${VERSION}.${REVISION} (${COMMIT})"
echo -n ${TARGET_BUILD_DIR}/${INFOPLIST_PATH} | xargs -0 /usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${VERSION}.${REVISION}"
echo -n ${TARGET_BUILD_DIR}/${INFOPLIST_PATH} | xargs -0 /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${VERSION}"
Thu Mar 2 04:13:17 UTC 2017
### Keybase proof
I hereby claim:
* I am kevinoneill on github.
* I am kevinoneill (https://keybase.io/kevinoneill) on keybase.
* I have a public key ASD1DUmiDCQPyQ-XNwvhmiDj3BYVT1k6iaucXRkYKktBtQo
To claim this, I am signing this object: