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
// Puncture a closure, absolute madness | |
Function.prototype.puncture = function(){ | |
var wormhole = function(__cmd__){ | |
return eval(__cmd__); | |
}; | |
var source = ('' + this).match(/function.+?\{([\s\S]*)\}/)[1]; | |
var fn = new Function('this.wormhole=' + wormhole + '\n' + source); |
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
ruleset a35x110 { | |
meta { | |
name "VRM EmanciPay" | |
description << | |
VRM EmanciPay prototype with ListenLog | |
Twilio # Your Twilio number | |
>> | |
author "Craig Burton with a lot of help from Ed Orcutt" | |
logging off | |
key twitter { |
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
#-webkit-web-inspector #toolbar { | |
background: #cdcdcd !important; | |
height: 36px !important; | |
} | |
#-webkit-web-inspector #main { | |
top: 36px !important; | |
} | |
#-webkit-web-inspector .toolbar-item.elements:hover:after { | |
content: "elements"; | |
z-index: 9999; |
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
/** | |
* adds a pause and unpause method to Mousetrap | |
* this allows you to enable or disable keyboard shortcuts | |
* without having to reset Mousetrap and rebind everything | |
*/ | |
Mousetrap = (function(Mousetrap) { | |
var self = Mousetrap, | |
_original_stop_callback = self.stopCallback, | |
enabled = true; |
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
/* | |
* plugin/tinymce/editor_plugin.js | |
*/ | |
(function(){ | |
tinymce.PluginManager.requireLangPack('languages'); | |
tinymce.create('tinymce.plugins.languages', { | |
createControl: function(n, cm){ | |
/*var list, listlang = { | |
'en': 'English', |
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
body { | |
background: #fff; | |
margin:0; | |
} | |
section{ | |
display: block; | |
width: 550px; | |
position:relative; | |
overflow: hidden; | |
} |
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
<?php | |
// Enable WP_DEBUG mode | |
define('WP_DEBUG', true); | |
// Enable Debug logging to the /wp-content/debug.log file | |
define('WP_DEBUG_LOG', true); | |
// Disable display of errors and warnings | |
define('WP_DEBUG_DISPLAY', false); |
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
<?php | |
/* | |
Plugin Name: Image Optimizer | |
Plugin URI: | |
Description: Automatically optimizes images using jpegtran and optipng on upload | |
Version: 0.1 | |
Author: Scott Walkinshaw | |
Author URI: | |
Support URI: | |
*/ |
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
'use strict' | |
path = require 'path' | |
parse = require('url').parse; | |
module.exports = (grunt) -> | |
grunt.initConfig | |
qunit: | |
all: ['tests/**/*.html'] | |
clean: |
OlderNewer