Skip to content

Instantly share code, notes, and snippets.

View juanghurtado's full-sized avatar

Juan G. Hurtado juanghurtado

View GitHub Profile
@juanghurtado
juanghurtado / app.js
Created July 24, 2012 07:11 — forked from minhnc/app.js
Activity Indicator
var LoadingIndicator = require('utils/ui/LoadingIndicator');
var win = Ti.UI.createWindow();
var loadingIndicator = new LoadingIndicator();
win.add(loadingIndicator);
loadingIndicator.show({message: 'Loading...'});
// TODO - Access to DB - Here I use timeout for demo purpose
@juanghurtado
juanghurtado / snipmatize.py
Created July 4, 2011 11:46 — forked from claytron/snipmatize.py
Convert TexMate snippets into snipMate compatible snippets
#!/usr/bin/env python2.6
"""
About
=====
Convert Texmate snippets into snipmate compatible snippets
http://www.vim.org/scripts/script.php?script_id=2540
http://macromates.com/
# #WCAG Basic wadus
#
# Using http://achecker.ca/checker/index.php
require 'raakt'
desc "WCAG basic wadus"
task :wcag_validate do
# perform a setup of all our variables
setup
# #Nanoc validation task
#
# To use this validation task you need the w3c_validators gem
# gem install w3c_validators
# and run rake validate on your project root
#
require 'yaml'
require 'w3c_validators'
include W3CValidators