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
/* | |
.js-type {font-weight:700} | |
.js-variable, .js-type{color: #228} | |
.js-keyword{color: #708} | |
.js-string {color:#a22} | |
.js-punctuation {color:#666} | |
.js-atom {color:#281} | |
.js-comment, .js-comment * {color: #A70!important} | |
*/ | |
String.prototype.hightlight = function(){ |
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
/* | |
* HTML5 Boilerplate | |
* | |
* What follows is the result of much research on cross-browser styling. | |
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, | |
* Kroc Camen, and the H5BP dev community and team. | |
* | |
* Detailed information about this CSS: h5bp.com/css | |
* | |
* ==|== normalize ========================================================== |
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 | |
/* Placehold transparent image | |
* image.php/{title}-{width}x{height}-{hexcolor}.[png|jpeg|gif|webp|xbm|wbmp|gd|gd2] | |
* | |
* @require: php_gd2, | |
*/ | |
header('Last-Modified: ' . gmdate('D, d M Y H:i:s T', filemtime(__FILE__))); | |
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && |
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
/* | |
adds events to the mouse and left / right keys | |
http://brandonaaron.net/code/mousewheel/docs | |
*/ | |
$(document).bind('mousewheel', function(e, delta) { | |
if(delta > 0) { | |
stopSlideshow(); | |
rotateImages(0); | |
} | |
else { |
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/php | |
<?php | |
require_once('ChromePhp.php'); | |
class HTMLMailPart{ | |
public $content; | |
public $type; | |
public $name; | |
public $path; |
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
$.fn.editable = function(options) { | |
var opts = $.extend({}, $.fn.editable.defaults, options); | |
return this.each(function() { | |
this.style.webkitApperiance = 'textarea'; | |
this.contentEditable=true; | |
}); | |
} | |
$.fn.editable.defaults = { | |
} |
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
html, body, div, span, applet, object, iframe, table, caption, | |
tbody, tfoot, thead, tr, th, td, del, dfn, em, font, img, ins, | |
kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, | |
acronym, address, big, cite, code, dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend { | |
vertical-align: baseline; | |
font-family: inherit; | |
font-weight: inherit; | |
font-style: inherit; |
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/env python | |
# Convert PNG images to GIF, preserving transparency | |
# 2008 - http://www.coderholic.com/png2gif | |
import sys | |
import Image | |
import random | |
import optparse | |
import os |
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
@mixin gradient($from, $to) { | |
/* fallback/image non-cover color */ | |
background-color: $from; | |
/* Firefox 3.6+ */ | |
background-image: -moz-linear-gradient($from, $to); | |
/* Safari 4+, Chrome 1+ */ | |
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from($from), to($to)); |
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 | |
cat .gitignore | sed 's/^/\.\//g;s/\(.*\)\/\([0-9a-zA-Z\*\?\.]*\)$/svn propedit svn:ignore "\2" \1 /mg' | bash |