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
# #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 |
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
# #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 |
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
#!/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/ |
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 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 |