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
/** | |
* The following snippet will ask the user to rate your app the second time they launch it. | |
* It lets the user rate it now, "Remind Me Later" or never rate the app. | |
*/ | |
var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); | |
win.addEventListener('open', checkReminderToRate); | |
win.add(Ti.UI.createLabel({ text: 'This is a simple app that will remind you to rate it.' })); | |
win.open(); | |
function checkReminderToRate() { |
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 uiODataSimple = (function() { | |
var API = {}; | |
API.DataJS = require('ti.sap.odata'); | |
API.collectionCache = null; | |
API.useXMLNotJSON = true; | |
API.dataType = API.useXMLNotJSON ? 'application/atom+xml' : 'application/json'; | |
API.queryString = '=xml'; |
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 UIWinCheatSheetIOS6 = (function() { | |
var STYLE = require('ui/STYLE'); | |
var UTILS = require('utils/utils'); | |
var MODEL = require('model/inventory'); | |
var CLOUD = require('ti.cloud'); | |
CLOUD.debug = true; | |
var API = {}; | |
API.APP = null; |
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 UIWinCheatSheetAndroid4_1 = (function() { | |
var STYLE = require('ui/STYLE'); | |
var UTILS = require('utils/utils'); | |
var MODEL = require('model/inventory'); | |
var CLOUD = require('ti.cloud'); | |
CLOUD.debug = true; | |
var API = {}; | |
API.APP = null; |
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
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
#ANDROID exports | |
PATH=/Users/mschmulen/android-sdk-macosx/tools:$PATH | |
PATH=/Users/mschmulen/android-sdk-macosx/platform-tools:$PATH | |
PATH=/usr/local/bin/node:$PATH | |
PATH=/usr/local/bin/npm:$PATH | |
export PATH |
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
/build | |
/modules | |
/.DS_Store | |
/.settings | |
/.project | |
.DS_Store* | |
/Resources/.DS_Store* | |
build.log |
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 UIWinNotifications = (function() { | |
var CLOUD = require('ti.cloud'); | |
CLOUD.debug = true; | |
var API = {}; | |
API.APP = null; | |
API.name = "Notifications"; | |
API.icon = "/KS_nav_views.png"; |
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
[{"uri":'s/111111.js', "yack":'yack'},{"uri":'s/222222.js', "yack":'yack'}]; |
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/env python | |
from urlparse import urljoin | |
import requests | |
import json | |
ACS_BASE_URI = 'http://api.cloud.appcelerator.com/v1/' | |
class API(object): | |
def __init__(self, key, username, password): |