This file contains hidden or 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 templates = window['templates'] = {} | |
| $.get('assets/html', function(data) { | |
| $('a[href*=html]', data).each(function() { | |
| $.get('assets/html/' + $(this).attr('href'), function(data) { | |
| _name = this.url.split('/').pop().split('.') | |
| _name.pop() | |
| path = templates | |
| for (var i = 0; i < _name.length; i++) { | |
| segment = _name[i] |
This file contains hidden or 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
| Action compile-sass /git/phpsass/compile-apache.php | |
| AddHandler compile-sass .sass .scss |
This file contains hidden or 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
| global.debug = ( ) -> | |
| tabs = ( n ) -> ( "\t" for i in [0...n] ).join( '' ) | |
| for i in [0...arguments.length] | |
| arg = arguments[i] | |
| type = get_type arg | |
| # last arg is boolean? sleep if true | |
| if ( i + 1 ) is arguments.length and type is 'Boolean' | |
| if arg |
This file contains hidden or 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
| fs = require( 'fs' ) | |
| CoffeeScript = require( 'coffee-script' ) | |
| module.exports = ( builder )-> | |
| builder.hook 'before scripts', ( pkg )-> | |
| if scripts = pkg.conf.scripts | |
| ret_scripts = [] | |
| scripts.forEach (file) -> |
This file contains hidden or 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
| #!/bin/bash | |
| sizes="16 24 32 64 128 256" | |
| colors=("#000" "#33b5e3" "#808080") | |
| names=("black" "holo" "grey") | |
| count=${#names[@]} | |
| for i in `seq 1 $count` ; do | |
| name=${names[i - 1]} |
This file contains hidden or 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
| <?php | |
| function compileSass($filename, $cached = true) { | |
| $cache_dir = './phpsass_cache'; | |
| # if cached, ensure we can write to the cache directory | |
| if ($cached) { | |
| if (!file_exists($cache_dir) && !mkdir($cache_dir)) { | |
| throw 'SASS cache directory does not exist and cannot be created'; | |
| } |
This file contains hidden or 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
| Q = require 'q' | |
| class DeferredObject | |
| constructor: (data) -> | |
| @data = data | |
| for k, v of @data | |
| @__defineGetter__ k, -> this.data[k] | |
| defer: (key, getter) -> |
This file contains hidden or 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
| Q = require 'q' | |
| request = require 'request' | |
| init = request.Request::init | |
| request.Request::init = (options) -> | |
| defer = Q.defer() | |
| @on 'complete', defer.resolve | |
| @on 'error', defer.reject | |
| # copy over promise functions, except timeout. |
This file contains hidden or 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
| #!/bin/sh | |
| apt-get update | |
| apt-get dist-upgrade -y | |
| apt-get install python-software-properties -y | |
| # node | |
| apt-add-repository ppa:chris-lea/node.js -y | |
| # redis |
This file contains hidden or 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 passwords = ['password','123456','12345678','1234','qwerty','12345','dragon','pussy','baseball','football','letmein','monkey','696969','abc123','mustang','michael','shadow','master','jennifer','111111','2000','jordan','superman','harley','1234567','fuckme','hunter','fuckyou','trustno1','ranger','buster','thomas','tigger','robert','soccer','fuck','batman','test','pass','killer','hockey','george','charlie','andrew','michelle','love','sunshine','jessica','asshole','6969','pepper','daniel','access','123456789','654321','joshua','maggie','starwars','silver','william','dallas','yankees','123123','ashley','666666','hello','amanda','orange','biteme','freedom','computer','sexy','thunder','nicole','ginger','heather','hammer','summer','corvette','taylor','fucker','austin','1111','merlin','matthew','121212','golfer','cheese','princess','martin','chelsea','patrick','richard','diamond','yellow','bigdog','secret','asdfgh','sparky','cowboy','camaro','anthony','matrix','falcon','iloveyou','bailey','guitar','jackson','purp |