Skip to content

Instantly share code, notes, and snippets.

@blazingpair
blazingpair / MKNetworkKit-cocoapods.0.21.podspec
Last active December 18, 2015 18:28
MKNetwork to work with cocoapods gem 0.21.0.rc1
Pod::Spec.new do |s|
s.name = 'MKNetworkKit'
s.version = '0.84'
s.license = 'MIT'
s.summary = 'Full ARC based Networking Kit for iOS 4+ devices.'
s.homepage = 'https://github.com/MugunthKumar/MKNetworkKit'
s.author = { 'MugunthKumar' => 'mknetworkkit@mk.sg' }
s.source = { :git => 'https://github.com/blazingcloud/MKNetworkKit.git'}
s.source_files = 'MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}'
@blazingpair
blazingpair / ECSlidingViewController.podspec
Created March 8, 2013 00:53
Use latest version of ECSlidingViewController
Pod::Spec.new do |s|
s.name = 'ECSlidingViewController'
s.version = '0.9.0.1'
s.license = 'MIT'
s.summary = 'View controller container that presents its child view controllers in two sliding layers. Inspired by the Path 2.0 and Facebook iPhone apps.'
s.description = 'ECSlidingViewController is a view controller container that presents its child view controllers in two layers. It provides functionality for sliding the top view to reveal the views underneath it. This functionality is inspired by the Path 2.0 and Facebook iPhone apps.'
s.homepage = 'https://github.com/edgecase/ecslidingviewcontroller'
s.author = { 'Mike Enriquez' => 'mike@enriquez.me' }
s.source = { :git => 'https://github.com/edgecase/ECSlidingViewController.git' }
s.platform = :ios
@blazingpair
blazingpair / latest_kiwi_with_hamcrest.podspec
Last active December 11, 2015 03:58
Kiwi integrated with OCHamcrest
Pod::Spec.new do |s|
s.name = 'Kiwi'
s.version = '2.0.3.dev'
s.summary = 'A Behavior Driven Development library for iOS and OS X.'
s.homepage = 'https://github.com/allending/Kiwi'
s.authors = { 'Allen Ding' => 'alding@gmail.com', 'Luke Redpath' => 'luke@lukeredpath.co.uk' }
s.license = { :type => 'MIT', :file => 'License.txt' }
s.source = { :git => 'https://github.com/allending/Kiwi.git', :commit => 'b5b4223884a60fa9842986421ace13ec576b54e1'}
s.source_files = FileList['Classes/*.{h,m}'].exclude(/KWStringPrefixMatcher/).exclude(/KWStringContainsMatcher/)
s.framework = 'SenTestingKit'
@blazingpair
blazingpair / CocoaHTTPServer.podspec
Created December 6, 2012 08:49
CocoaHTTPServer sourced from HEAD
Pod::Spec.new do |s|
s.name = 'CocoaHTTPServer'
s.version = '2.2.1.1'
s.license = 'BSD'
s.summary = 'A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications.'
s.homepage = 'https://github.com/robbiehanson/CocoaHTTPServer'
s.authors = { 'Robbie Hanson' => 'cocoahttpserver@googlegroups.com' }
s.source = { :git => 'https://github.com/robbiehanson/CocoaHTTPServer.git'}
s.source_files = '{Core,Extensions}/**/*.{h,m}'
s.requires_arc = true
@blazingpair
blazingpair / OpenUDID.podspec
Created November 29, 2012 07:51
OpenUDID pod with fixed 2 warnings
Pod::Spec.new do |s|
s.name = 'OpenUDID'
s.version = '1.0.1'
s.summary = 'Open source initiative for a universal and persistent UDID solution for iOS..'
s.homepage = 'http://OpenUDID.org'
s.author = { 'Yann Lechelle' => 'ylechelle@gmail.com' }
s.source = { :git => 'https://github.com/ylechelle/OpenUDID.git', :commit => 'a3840eb144b13d629c45da107b3aa7d9773059d0' }
s.description = 'Open source initiative for a universal and persistent UDID solution for iOS.'
s.platform = :ios
s.source_files = '*.{h,m}'
@blazingpair
blazingpair / gist:3069750
Created July 8, 2012 07:13
Automatically trim whitespace on git commit, save to .git/hooks/pre-commit
#!/bin/sh
if git rev-parse --verify HEAD >/dev/null 2>&1 ; then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi
# Find files with trailing whitespace
@blazingpair
blazingpair / CoverageFix.m
Created July 3, 2012 22:49
This fixes a problem of test coverage in Xcode related to an Apple implementation of a core unix api.
//
// CoverageFix.m
//
// This fixes a problem related to an Apple implementation of a core unix api.
//
// Created by Paul Zabelin on 5/17/12.
// Copyright (c) 2012 Blazing Cloud, Inc. All rights reserved.
//
// Include this into app target to measure Application Tests code coverage
@blazingpair
blazingpair / ShowCoverStory.scpt
Created June 29, 2012 23:35
/usr/bin/osascript for XCode post test action to open CoverStory to show test coverage
set PLATFORM_PREFERRED_ARCH to system attribute "PLATFORM_PREFERRED_ARCH"
set OBJECT_FILE_DIR to system attribute "OBJECT_FILE_DIR"
set BUILD_VARIANTS to system attribute "BUILD_VARIANTS"
set coverageDir to OBJECT_FILE_DIR & "-" & BUILD_VARIANTS & "/" & PLATFORM_PREFERRED_ARCH
if PLATFORM_PREFERRED_ARCH is equal to "i386" then
tell application "CoverStory"
activate
set coverage to open coverageDir
end tell
end if
@blazingpair
blazingpair / IncrediblePowers.rb
Created January 15, 2012 21:22
Workshop Skills Copy
<p>One of the near-term goals for the Workshop organizers is to keep better track of our volunteers, particularly volunteers who come back again and again to multiple workshops. Tell us a little bit about your incredible powers below:</p>
<h2>My Incredible Powers</h2>
<div class="field">
<%= f.check_box :skill_teaching %>
<%= f.label :skill_teaching, 'Teaching' %>
I'm comfortable leading a full-day workshop.
I'm familiar enough with Ruby and Rails to teach the basics.
</div>