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
// | |
// AWTextureEffects.h | |
// | |
// Created by Manuel Martinez-Almeida Castañeda on 09/05/10. | |
// Copyright 2010 Abstraction Works. All rights reserved. | |
// http://www.abstractionworks.com | |
// | |
#import "CCMutableTexture2D.h" |
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
<html> | |
<head> | |
<title>JQuery.RecurrenceInput Demo</title> | |
<link type="text/css" href="jquery.tools.dateinput.css" rel="stylesheet"></link> | |
<link type="text/css" href="jquery.recurrenceinput.css" rel="stylesheet"></link> | |
<link type="text/css" href="overlays.css" rel="stylesheet"></link> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
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
# Usage: show <local-port> <subdomain> | |
function show() { | |
DOMAIN=".tekacs.com" | |
REMOTE="$2$DOMAIN" | |
ssh -tR 1080:127.0.0.1:$1 vps "sudo ssh -Nl \$USER -L $REMOTE:80:127.0.0.1:1080 localhost" | |
} | |
########################################################################################################## | |
more details on how this works from original gist: |
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
/*jslint regexp: false, continue: true, indent: 4 */ | |
/*global $, alert, jQuery */ | |
(function ($) { | |
$.tools = $.tools || {version: '@VERSION'}; | |
var tool; | |
var LABELS = {}; | |
function safeInArray(value, aryData) |
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
// finds elements that have the keywords 'blue' and 'ajax' in their background-image url | |
$('*').filter(function() { | |
var p = $(this).css('background-image'); | |
var success = true; | |
success &= p.indexOf('blue') != -1; | |
success &= p.indexOf('ajax') != -1; | |
if (success) |
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
import sys.FileSystem; | |
import sys.io.File; | |
/** | |
Haxe port of nekoboot.neko for creating executables from neko bytecode. | |
Original: http://code.google.com/p/nekovm/source/browse/trunk/src/tools/nekoboot.neko | |
Usage : nekoboot <file.n> | |
*/ |
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
import sys.FileSystem; | |
import sys.io.File; | |
/** | |
Haxe port of nekoboot.neko for creating executables from neko bytecode. | |
Original: http://code.google.com/p/nekovm/source/browse/trunk/src/tools/nekoboot.neko | |
Usage : nekoboot <file.n> | |
*/ |
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
package ; | |
import haxe.ds.ObjectMap; | |
#if haxe2 | |
typedef Map<String, T> = Hash<T>; | |
#end | |
class HxEvents | |
{ |
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
function eachAsync(collection, iterator, callback) { | |
var iterate = function(i) { | |
setTimeout(function() { | |
iterator(collection[i]); | |
if (i < collection.length) { | |
iterate(i + 1); | |
} else { | |
callback(); | |
} | |
}, 0); |
OlderNewer