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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
<script src="http://cmx.io/v/0.1/cmx.js"></script> | |
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
<body> | |
<div style="max-width:900px; -webkit-transform:rotate(0deg);"> | |
<scene id="scene1"> | |
<label t="translate(0,346)"> |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
<script src="http://cmx.io/v/0.1/cmx.js"></script> | |
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
<body> | |
<div style="max-width:900px; -webkit-transform:rotate(0deg);"> | |
<scene id="scene1" height="280"> | |
<drawing t="translate(0,31)"> |
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 | |
/* | |
Plugin Name: Freedom of Information? | |
Plugin URI: http://www.bbqiguana.com/tag/wordpress-plugins/ | |
Version: 0.2 | |
Description: A fun plugin that redacts random parts of your content before it is displayed, just like a government document. | |
Author: Randy Hunt | |
Author URI: http://www.bbqiguana.com/ | |
*/ |
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
jQuery(function() { | |
if (jQuery('.post').length < 2) return; | |
jQuery(document).keypress(function(e) { | |
var f=false, b=false; | |
if (e.target.tagName.match(/input|textarea/i)) return; | |
switch (e.which) { | |
case 75: | |
case 107: | |
b=true; | |
break; |
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 | |
/* | |
Plugin Name: Crossposterous | |
Plugin URI: http://www.bbqiguana.com/wordpress-plugins/crossposterous/ | |
Description: This plugin will automatically cross-post your Wordpress blog entry to your Posterous site. | |
Version: 1.2.1 | |
Author: Randy Hunt | |
Author URI: http://www.bbqiguana.com/ | |
*/ |
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
filetype plugin on | |
filetype indent on | |
set ruler | |
set noerrorbells | |
set showmatch | |
set autoread | |
set ignorecase | |
set smartcase |
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
/* Simple JS template rendering function */ | |
function render(obj, template) { | |
var re, v; | |
re = new RegExp("\\[\\[([^\\]]+)\\]\\]"); | |
while (match = re.exec(template)) { | |
val = obj[match[1]] || ''; | |
template = template.replace(match[0], val); | |
} | |
return template; | |
} |
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
#! /usr/bin/python | |
''' | |
EVENTCMD - | |
This script is meant to respond to external 'eventcmd' calls from | |
the mcabber command-line jabber client. | |
''' | |
import sys | |
import re | |
from os import remove, system |
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 | |
# | |
# Searches all HTML files and matches those where a | |
# particular CSS class name is used | |
if command -v ag >/dev/null 2>&1 | |
then | |
# use silver-searcher if available | |
ag -G "\\.html$" "class=\"[^\"]*\\b$1\\b[^\"]*\"" | |
elif command -v ack >/dev/null 2>&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
#! /bin/bash | |
# | |
# USAGE: | |
# orphan [-dv] filename | |
# | |
# OPTIONS: | |
# -d delete the file if it is an orphan | |
# -f force (ie, don't prompt) | |
# -h display help text | |
# -v verbose |
OlderNewer