Skip to content

Instantly share code, notes, and snippets.

View emilyvon's full-sized avatar
🐶

Emily Fung emilyvon

🐶
  • Adelaide
View GitHub Profile
@emilyvon
emilyvon / InfiniteScrollingTableView.js
Created December 14, 2015 00:15 — forked from dawsontoth/InfiniteScrollingTableView.js
Infinite loading table view for iOS and Android.
/**
* We're going to create an infinite loading table view. Whenever you get close to the bottom, we'll load more rows.
*/
var win = Ti.UI.createWindow({ backgroundColor: '#fff' });
var isAndroid = Ti.Platform.osname === 'android';
/**
* Create our UI elements.
*/
var table = Ti.UI.createTableView({ top: 0, right: 0, bottom: 0, left: 0 });
@emilyvon
emilyvon / sublime-text-3-build-3065-license.md
Created October 9, 2015 00:27
Sublime Text 3 (build 3065+) - VALID License

SublimeText3 Valid License without cracking! Just download/install then use this license.

Notice that it may not work on dev builds, but still works on 3083 build!

----- BEGIN LICENSE -----

Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
@emilyvon
emilyvon / push_notifications.js
Last active August 29, 2015 14:26 — forked from yagitoshiro/push_notifications.js
apple push notification sample (Titanium Mobile)
//////////////////////push_notifications.js///////////////////////
var apns = function(){
var pref = require('preferences').preferences;
Titanium.Network.registerForPushNotifications({
types: [
Titanium.Network.NOTIFICATION_TYPE_BADGE,
Titanium.Network.NOTIFICATION_TYPE_ALERT
],
success:function(e)