👨👩👦
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.joshdholtz.sentry" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="8" | |
android:targetSdkVersion="8" /> | |
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
#!/bin/bash | |
ruby ~/scripts/unretina_it.rb |
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
System.gc(); // Getting angry | |
Runtime.getRuntime().gc(); // Getting angrier |
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
/** | |
* | |
* MANIFEST PERMISSIONS | |
* <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | |
* <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
* | |
* | |
* | |
* / |
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
// | |
// TTTAttributedLabel+QuickFonting.m | |
// | |
// Created by Josh Holtz on 3/4/14. | |
// Copyright (c) 2014 RokkinCat. All rights reserved. | |
// | |
#import "TTTAttributedLabel+QuickFonting.h" | |
@implementation TTTAttributedLabel (QuickFonting) |
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
1 banana | |
2 scoops whey protein (banana flavored) | |
12 oz milk | |
3 large spoonsfulls plain greek yogurt | |
Handful of strawberries | |
Handful of blueberries |
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
- (void)cancelAllHTTPOperationsWithMethod:(NSString*)method path:(NSString*)path parameters:(NSDictionary*)parameters ignoreParams:(BOOL)ignoreParams { | |
NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:(method ?: @"GET") URLString:[[NSURL URLWithString:path relativeToURL:self.baseURL] absoluteString] parameters:parameters]; | |
NSString *URLStringToMatched = [[request URL] absoluteString]; | |
for (NSOperation *operation in [self.operationQueue operations]) { | |
if (![operation isKindOfClass:[AFHTTPRequestOperation class]]) { | |
continue; | |
} | |
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
// Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
protocol Cool { | |
init(name: String) | |
func talk() -> String | |
} |
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
struct This { | |
static var powerRangers: String? | |
} |
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
// | |
// ViewController.swift | |
// SwiftTest | |
// | |
// Created by Josh Holtz on 8/3/14. | |
// Copyright (c) 2014 Josh Holtz. All rights reserved. | |
// | |
import UIKit |