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
package net.hockeyapp.android.demo; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.List; | |
import org.acra.ACRA; | |
import org.acra.collector.CrashReportData; | |
import org.acra.ReportField; | |
import org.acra.sender.ReportSender; |
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
package net.hockeyapp.android.demo; | |
import org.acra.ACRA; | |
import org.acra.annotation.ReportsCrashes; | |
import android.app.Application; | |
// Replace APP_ID with your App ID on HockeyApp | |
@ReportsCrashes(formKey="APP_ID") | |
public class MyApplication extends Application { |
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> | |
int main(int argc, char *argv[]) { | |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
NSDictionary *one = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:1], @"pubDate", nil]; | |
NSDictionary *two = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:2], @"pubDate", nil]; | |
NSDictionary *three = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:3], @"pubDate", nil]; | |
NSArray *array = [NSArray arrayWithObjects:three, one, two, nil]; |
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 'rubygems' | |
require 'rest_client' | |
# Replace with your values | |
APP_ID = "APP_ID" | |
APP_NAME = "EXECUTABLE_NAME" | |
BUNDLE_ID = "BUNDLE_IDENTIFIER" | |
BUNDLE_VERSION = "BUNDLE_VERSION" | |
files = Dir.glob("*.crash") |
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 "json" | |
require "rest-client" | |
# Replace with your values | |
APP_ID = "APP_ID" | |
API_TOKEN = "API_TOKEN" # Needs rw rights | |
BASE_URL = "https://rink.hockeyapp.net/api/2/apps/" | |
response = RestClient.get "#{BASE_URL}#{APP_ID}/app_versions", {"X-HockeyAppToken" => API_TOKEN} | |
app_versions = JSON.parse(response) |
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
class ActiveResource::Connection | |
def http | |
# Setup http object | |
http = Net::HTTP.new(@site.host, @site.port) | |
http.use_ssl = @site.is_a?(URI::HTTPS) | |
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if http.use_ssl | |
http.read_timeout = @timeout if @timeout | |
# Log to stderr | |
http.set_debug_output $stderr |
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
### Keybase proof | |
I hereby claim: | |
* I am ashtom on github. | |
* I am ashtom (https://keybase.io/ashtom) on keybase. | |
* I have a public key whose fingerprint is E34B 112A 5FA7 D46A 7455 9E11 6E71 8750 737E 08F6 | |
To claim this, I am signing this object: |
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
👩🏻🔧 Kaylee: So, um, how come you | |
don’t care where you’re going? | |
👩🏾🌾 Book: ‘Cause how you get there | |
is the worthier part. |
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
🏃♂️ 297.85 km ███████████████████ | |
🏊♂️ 0.00 km ░░░░░░░░░░░░░░░░░░░ | |
🚴♂️ 0.00 km ░░░░░░░░░░░░░░░░░░░ | |
🗓 0.00 km |