build-lists: true footer: @orta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "ARTestContext.h" | |
#import "UIDevice+DeviceInfo.h" | |
#import "ARDispatchManager.h" | |
static OCMockObject *ARDeviceMock; | |
static OCMockObject *ARPartialScreenMock; | |
static ARTestContextOptions ARSharedTestContextOptions; | |
NS_ENUM(NSInteger, ARDeviceType){ | |
ARDeviceTypePhone4, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open-uri' | |
require 'nokogiri' | |
`rm pact.html` | |
`touch pact.html` | |
open('pact.html', 'a') do |file| | |
toc = "https://pactwebserial.wordpress.com/table-of-contents/" | |
toc_doc = Nokogiri::HTML( open(toc) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | |
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" | |
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" | |
install_framework() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: AdMangler for bbPress | |
Plugin URI: http://www.webternals.com/products/admangler/ | |
Description: Display ad space on your bbpress powered site with AdMangler. | |
Version: 0.1 | |
Author: Webternals, LLC - Allen Sanford | |
Author URI: http://www.webternals.com/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Cocoa/Cocoa.h> | |
@interface RosterController : NSObject | |
{ | |
BOOL useSSL; | |
IBOutlet id window; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to line 86 on git-achievements | |
# ruby basecamp.rb "`git config user.name`" "$@" "$2" | |
# then create a file called basecamp.rb with the rest of this file in it | |
#!/usr/bin/env ruby | |
require 'rubygems' rescue nil | |
require 'broach' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#keep a good history for using ctrl + r | |
export HISTCONTROL=erasedups | |
export HISTSIZE=10000 | |
shopt -s histappend | |
#colours and vars | |
export EDITOR='mate -w' | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
alias mysql=/usr/local/mysql/bin/mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gitac { | |
if [ "$2" ] | |
then | |
git add src/ | |
git commit -m "$1 [#$2 state:resolved]" | |
else | |
git add src/ | |
git commit -m "$1" | |
fi | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function include (lib){ | |
document.write(unescape('%3Cscript src="javascripts/' + lib +'.js?v=' + Math.floor(Math.random()*20000) | |
+ '"%3E%3C/script%3E')); | |
} |