Skip to content

Instantly share code, notes, and snippets.

View RodrigoAyala's full-sized avatar
🏠
Working from home

Rodrigo Ayala RodrigoAyala

🏠
Working from home
View GitHub Profile
@staltz
staltz / introrx.md
Last active May 9, 2024 07:59
The introduction to Reactive Programming you've been missing
@ndfred
ndfred / install_airport_utility_5.6.1.sh
Created November 8, 2012 22:22
Download and install the Airport Utility 5.6.1 app on Mac OS X Lion and up
#!/bin/sh -e
# Download and install the Airport Utility 5.6.1 app on Mac OS X Lion and up
if [ ! -d "/Applications/Utilities/AirPort Utility 5.6.1.app" ]
then
[ -d /Volumes/AirPortUtility ] && hdiutil detach /Volumes/AirPortUtility
rm -rf /tmp/AirPortUtility5.6.1.dmg /tmp/AirPortUtility5.6.1
echo "Downloading Airport Utility 5.6.1"
@pec1985
pec1985 / app.js
Created April 20, 2012 15:12
Android Menu Example
var win = Ti.UI.createWindow({
exitOnClose: true,
backgroundColor: '#ccc',
fullscreen: false
});
win.open();
var activity = win.activity;
@pec1985
pec1985 / customtable.js
Created April 19, 2012 18:40
Custom Table
function CustomTable(){
var self = {};
var win = Ti.UI.createWindow({
backgroundColor:'#ccc'
});
var table = Ti.UI.createTableView({
top:20,
bottom:20,
left:20,
right:20,
@pec1985
pec1985 / app.js
Created April 19, 2012 13:47
Memory Leak Test
var TabGroup = require('tabgroup');
TabGroup.open()
@pec1985
pec1985 / TableViewIndex.js
Last active September 25, 2015 11:08
Get the right column of letters on a table view
/* Ever wondered how to get the nice column of letters in the right side
* of the table view?
*
* Here is an example:
* 1. We take a list of names from a json file
* 2. We need to sort them by either first name or last name
* 3. We need to create a row header once in a while, when the first letter changes
* 4. We need to create a table index
*
*/
@dawsontoth
dawsontoth / app.js
Created March 4, 2011 00:44
Customize the look of the tab bar in iOS Appcelerator Titanium
Ti.include('overrideTabs.js');
/*
This is a typical new project -- a tab group with three tabs.
*/
var tabGroup = Ti.UI.createTabGroup();
/*
Tab 1.