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 <Foundation/Foundation.h> | |
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 80000 | |
@interface NSString (PSPDFModernizer) | |
// Added in iOS 8, retrofitted for iOS 7 | |
- (BOOL)containsString:(NSString *)aString; | |
@end |
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
/* | |
* CLI Tool to download streamable songs from SoundCloud API | |
* Requires Node.js, Flow-JS and cli libraries | |
*/ | |
var cli = require('cli').enable('status'), | |
fs = require('fs'), | |
flow = require('flow'), | |
path = require('path'), | |
SC = require('./node-soundcloud.js'); |
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
# Reset all iOS Simulators | |
# Modified to reset without prompt from stdin | |
simulatorList = [] | |
# Get all of the simulator UUIDs from Xcode | |
rawSimulatorList = `xcrun simctl list` | |
rawSimulatorList.each_line do |line| | |
if line.start_with?(" ") | |
simulator = line.strip |
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
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |
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
# Type(<scope>): <subject> | |
# <body> | |
# <footer> | |
# Type should be one of the following: | |
# * feat (new feature) | |
# * fix (bug fix) | |
# * docs (changes to documentation) |
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
// | |
// crc32.swift | |
// SuperSFV | |
// | |
// Created by C.W. Betts on 8/23/15. | |
// | |
// | |
/* crc32.swift -- compute the CRC-32 of a data stream | |
Copyright (C) 1995-1998 Mark Adler | |
Copyright (C) 2015 C.W. "Madd the Sane" Betts |