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
#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
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
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
require "rubygems" | |
require "json" | |
require "open-uri" | |
puts "API Token:" | |
api_token = gets.strip | |
puts "App ID:" | |
app_id = gets.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
#!/bin/bash | |
# | |
# Show a growl notification every minute if battery is below threshold. | |
# | |
# Setup: | |
# 1. Install growlnotify | |
# 2. Adjust threshold in line 20 (here 656mAh) | |
# 3. Create line in crontab like this: | |
# * * * * * /path/to/script/battery_low.sh |
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
[ | |
{ | |
"pomodoros": [ | |
], | |
"estimate": 4, | |
"list": 0, | |
"interruptions": [ | |
], | |
"subposition": -1, | |
"position": 184, |
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
-- Things to Pomodoro App for iPad | |
-- This script asks Things for the currently selected todos | |
-- and generates a Pomodoro App for iPad compatible JSON file | |
-- for you to import in to the app (using Dropbox) | |
-- | |
-- Created by Thomas on 2011-02-17 | |
-- Inspired by Andreas on 2011-02-17 | |
-- | |
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
-- OmniFocus to Pomodoro App for iPad | |
-- This script practically takes text that's on your clipboard | |
-- and generates a Pomodoro App for iPad compatible JSON file | |
-- for you to import in to the app (using Dropbox) | |
-- | |
-- I'm using it with OmniFocus, where copied tasks remain | |
-- on the clipboard as lines of text, basically. | |
-- If you're stuck on Things and this script is not working, | |
-- NOW might be a good time to switch. | |
-- |
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
# Fixing error code 133 | |
cd /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/ | |
sudo mv IOKit IOKit.saved | |
sudo lipo IOKit.saved -extract_family i386 -output IOKit |