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
Gowalla::Client.new(:api_key => ENV['GOWALLA_API_KEY'], :api_secret => ENV['GOWALLA_API_SECRET']) |
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
- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView | |
{ | |
if(_reachedEndOfFeed) return; | |
if(!_dynamicFeed) return; | |
DLog(); | |
if (!reloading) | |
{ | |
checkForRefresh = YES; // only check offset when dragging | |
} |
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
./buildandarchive.sh | |
../distribution/deploy-testflight.sh | |
scp ../distribution/APPNAME.ipa USER@SERVER:/var/www/VIRTUALHOST/PATH_TO_BETA |
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
<a href="itms-services://?action=download-manifest&url=http://beta.google.com/plusone/manifest.plist"><img src="Icon.png" /><br /><br />Tap Here to Install<br />Google +1<br />On Your Device</a> |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> | |
<title>Google +1 - Beta Release</title> | |
<style type="text/css"> | |
body {background:#fff;margin:0;padding:0;font-family:arial,helvetica,sans-serif;text-align:center;padding:10px;color:#333;font-size:16px;} | |
#container {width:320px;} | |
h1 {margin:0;padding:0;font-size:14px;} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>items</key> | |
<array> | |
<dict> | |
<key>assets</key> | |
<array> | |
<dict> |
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
MY_USERNAME="username" | |
CONFIGURATION_NAME="Ad Hoc" # Distribution, Ad Hoc... | |
PROJDIR="/path-to-your-xcode-project" | |
APPLICATION_NAME="myapplication" | |
PROJECT_NAME="${APPLICATION_NAME}" # .xcodeproj ommitted | |
TARGET_SDK="iphoneos4.2" # current sdk | |
PROJECT_BUILDDIR="/Users/${MY_USERNAME}/path-to-build-dir/${CONFIGURATION_NAME}-iphoneos" | |
TARGET_TEST_NAME="${APPLICATION_NAME}" | |
BUILD_HISTORY_DIR="${PROJDIR}/distribution/" # write ${APPLICATION_NAME}.IPA here | |
DEVELOPER_NAME="Your Name (Bundle Prefix If Applicable)" # mine was company name |
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/sh | |
[email protected] | |
API_TOKEN='<api key under account>' | |
TEAM_TOKEN='<team token under specific team>' | |
NOTES='Buildscript' | |
ENDPOINT=http://testflightapp.com/api/builds.json | |
DISTRIBUTION_LISTS='Internal' | |
curl $ENDPOINT -F file=$FILE -F api_token=$API_TOKEN -F team_token=$TEAM_TOKEN -F notify=true -F distribution_lists=$DISTRIBUTION_LISTS -F notes=$NOTES |
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
#define PrintFrame(frame) NSLog(@"F X:%f Y:%f W:%f H:%f", frame.origin.x, frame.origin.y, frame.size.width, frame.size.height); |
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
Using Inbox for user: (null) with password: (null) | |
2010-07-22 18:08:06.171 Gust[57477:307] before retrive saved messages: (null) | |
2010-07-22 18:08:06.176 Gust[57477:307] copy db into document directory. | |
2010-07-22 18:08:06.322 Gust[57477:307] after retrive saved messages: ( | |
) | |
2010-07-22 18:08:06.326 Gust[57477:307] https://go.urbanairship.com/api/user/(null)/messages/ | |
2010-07-22 18:08:06.389 Gust[57477:307] Inbox not initialized. Waiting for Device Token. | |
2010-07-22 18:08:10.683 Gust[57477:307] Connection ERROR: NSError query result: Error Domain=ASIHTTPRequestErrorDomain Code=3 "Authentication needed" UserInfo=0x189270 {NSLocalizedDescription=Authentication needed} for URL: GET - https://go.urbanairship.com/api/user/(null)/messages/ | |
2010-07-22 18:08:10.688 Gust[57477:307] Using U/P: (null) / (null) | |
2010-07-22 18:08:10.691 Gust[57477:307] Body: (null) |