- 1Password (hijacks the Snippety window)
- AirBuddy
- Amphetamine
- BlockBlock
- Cork (much better than Brewer X)
- CotEditor (fastest text editor with multi–line editing)
- DaisyDisk
- Fantastical
This file contains hidden or 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
/// This is a list of Hypertext Transfer Protocol (HTTP) response status codes. | |
/// It includes codes from IETF internet standards, other IETF RFCs, other specifications, and some additional commonly used codes. | |
/// The first digit of the status code specifies one of five classes of response; an HTTP client must recognise these five classes at a minimum. | |
enum HTTPStatusCode: Int, Error { | |
/// The response class representation of status codes, these get grouped by their first digit. | |
enum ResponseType { | |
/// - informational: This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. | |
case informational |
At the risk of stating the obvious, any CS major needs a solid understanding of combinatorics, probability, and complexity. Consider studying Concrete Mathematics to bone up on core techniques.
Basic topics you should regularly review (at least before interviewing for a competitive software engineering position):
- sorting
- hashing
- trees
- graphs
- concurrency
This file contains hidden or 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
// NSMutableArray Example | |
// Using this method will sort your current array | |
NSMutableArray *unsortedArray = [[NSMutableArray alloc] initWithObjects:@"Albert", @"Eric", @"Betty", nil]; | |
[unsortedArray addObject:@"Carl"]; | |
[unsortedArray addObject:@"David"]; | |
[unsortedArray sortUsingSelector:@selector(localizedCaseInsensitiveCompare:)]; | |
NSLog(@"sorted array: %@", unsortedArray); | |
// NSArray Example | |
// Using this method will create a new array |
Squeezebox Now Playing is a a Dashing widget which which displays now playing information from a Logitech Squeezebox player.
Generate the list yourself:
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./* | \
sed 's/NS_AVAILABLE_IOS(.*)//g' | \
sed 's/NS_DEPRECATED_IOS(.*)//g' | \
sed 's/API_AVAILABLE(.*)//g' | \
sed 's/API_UNAVAILABLE(.*)//g' | \
sed 's/UI_APPEARANCE_SELECTOR//g' | \
This file contains hidden or 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
public class Json { | |
public static JSONObject getJson(String url){ | |
InputStream is = null; | |
String result = ""; | |
JSONObject jsonObject = null; | |
// HTTP | |
try { |