Skip to content

Instantly share code, notes, and snippets.

ulizama / upload.js
Created Apr 12, 2017
Upload file example on Titanium
View upload.js
var xhr = Ti.Network.createHTTPClient();
xhr.onload = function(e) {
xhr.onerror = function(e){
};'POST', 'https://url');
ulizama / genymotionwithplay.txt
Created Sep 25, 2015 — forked from wbroek/genymotionwithplay.txt
Genymotion with Google Play Services
View genymotionwithplay.txt
Download the following ZIPs:
ARM Translation Installer v1.1 (
Download the correct GApps for your Android version:
Google Apps for Android 5.1 ( -
Google Apps for Android 5.0 ( -
Google Apps for Android 4.4.4 ( -
Google Apps for Android 4.3 ( -
Google Apps for Android 4.2 ( -
ulizama / gallery.js
Created Aug 6, 2015
Lazy loading images ScrollableView
View gallery.js
View xcodeerror
Ld /Users/ulizama/Library/Developer/Xcode/DerivedData/Mentor_KIA-eazbmqjumowujwdpcudujhuovafw/Build/Intermediates/Mentor\\\ KIA normal i386
cd /Users/ulizama/Documents/Apps/ProximityAware/build/iphone
export PATH="/Applications/"
/Applications/ -arch i386 -isysroot /Applications/ -L/Users/ulizama/Library/Developer/Xcode/DerivedData/Mentor_KIA-eazbmqjumowujwdpcudujhuovafw/Build/Products/Release-iphonesimulator -L/Users/ulizama/Documents/Apps/ProximityAware/build/iphone/lib -L/Users/ulizama/Library/Application\ Support/Titanium/modules/iphone/co
View gist:223423c4a603be07e2ca
tich.cfg input
"name": "test",
"settings": {
"name": "Test",
"id": "",
"guid": "723236726732",
"properties" :{
"GCM_sender_id" : "1234562"
View gist:d72991fc44a19920d6ae
var _ = require('/lib/underscore');
*This is the lightweight version I use based on Kevin Whinnery's one:
* Wrapper for Titanium UI components. This wrapper provides a few pieces of critical
* functionality, currently missing from Titanium UI objects:
* - The ability to safely extend components with new members
* - Rudimentary resource management and object lifecycle handling
View gist:3085991
package Project::Plugin::Dancer::Rose::Database;
use strict;
use Dancer::Plugin;
use Referdia::DB;
# This module is based on the Dancer::Plugins::Database module
our $VERSION = '0.01';
ulizama / elasticsearch.yml
Created Aug 5, 2011
elasticsearch configuration and test
View elasticsearch.yml
type: custom
tokenizer: whitespace
filter: [snowball]