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
0x3679D70639EbA8DD0F461c5Ed4FAeA9475b064bB |
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
0xbCD67BbE79E310CE78359618370A1f8e22A69e3C |
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
0x8a7DDB7C3322D6DeBc709F6ca3454f3B07804103 |
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
0x31cC92cD183c4ba876E5B46A7750C0D9FC0199a7 |
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
var indexArray = []; | |
var currentChar = ''; | |
var lastChar = ''; | |
// the Array e.places is already sorted alphabetically from ACS with order:'name' in query | |
for (var i = 0; i < e.places.length; i++) { | |
var farm = e.places[i]; | |
// create an index of first chars of the farm name | |
currentChar = farm.name.charAt(0); | |
if (i == 0) indexArray.push({title: currentChar, index: i}); | |
else { |
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
Open Terminal: | |
keytool -exportcert -alias androiddebugkey -keystore ~/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/dev_keystore | openssl sha1 -binary | openssl base64 | |
keytool -exportcert -alias tidev -keystore ~/Library/Application\ Support/Titanium/mobilesdk/osx/6.0.1.GA/android/dev_keystore -list -v |
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
// Vars | |
var olt = Titanium.UI.create2DMatrix(), curX, curY; | |
var initialTop = Alloy.Globals.halfScreenY; | |
var currentViewTop = initialTop; // 100% = curY | |
var swipeDisplacementPercentage = 1; // 0 is at the floor, 2 is all the way to the top | |
var deltaX, deltaY; | |
$.contentArea.addEventListener('touchstart', function(e) { | |
curX = e.x; |
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
{icao:"AGAF",name:"Afutara Airport"}, | |
{icao:"AGAR",name:"Ulawa Airport"}, | |
{icao:"AGAT",name:"Uru Harbour"}, | |
{icao:"AGBA",name:"Barakoma Airport"}, | |
{icao:"AGBT",name:"Batuna Airport"}, | |
{icao:"AGEV",name:"Geva Airport"}, | |
{icao:"AGGA",name:"Auki Airport"}, | |
{icao:"AGGB",name:"Bellona/Anua Airport"}, | |
{icao:"AGGC",name:"Choiseul Bay Airport"}, | |
{icao:"AGGD",name:"Mbambanakira Airport"}, |
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
var xmlrpc = require('./lib/xmlrpc'); | |
var client = xmlrpc.createClient({ | |
url: 'https://api.example.com/XML-RPC' | |
, username: 'xxxx' | |
, password: 'xxxx' | |
}); | |
client | |
.call('foo.methodName') |
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
// Register for an Account ☞ http://cloudinary.com/invites/lpov9zyyucivvxsnalc5/n8b98rtyuredob4geg2z | |
// replace these | |
var cloudinaryCloudName = 'Your_Cloud_Name'; | |
var cloudinaryAPIKey = 999999999999; | |
var cloudinaryAPISecret = 'XXXXXXXXXX-XXXXX-XX'; | |
// call this function & pass in TiBlob Object | |
function cloudImageClean(rawImage) { | |
var nowUnix = moment().unix(); // requires momentjs |