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
{ | |
"files": | |
{ | |
"jquery" : "http://code.jquery.com/jquery.js", | |
"jquery.min" : "http://code.jquery.com/jquery.min.js", | |
"jquery-cookie" : "https://raw.github.com/carhartl/jquery-cookie/master/jquery.cookie.js", | |
"jquery-dotimeout" : "https://raw.github.com/cowboy/jquery-dotimeout/master/jquery.ba-dotimeout.min.js", | |
"jquery-extra-selectors" : "https://raw.github.com/keithclark/JQuery-Extended-Selectors/master/jquery-extra-selectors.js", | |
"jquery-flexslider" : "https://raw.github.com/mbmufffin/FlexSlider/master/jquery.flexslider-min.js", | |
"jquery-mediaelement" : "https://raw.github.com/johndyer/mediaelement/master/build/mediaelement-and-player.js", |
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 background gradient; 2-colors | |
.background-gradient (@start-color: #BE5B63, @end-color: #7F1C24) { | |
// Generated via http://j.mp/ROBdww (CSSGradientButton.com) | |
background-color: @start-color; | |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @start-color), color-stop(100%, @end-color)); | |
background-image: -webkit-linear-gradient(top, @start-color, @end-color); | |
background-image: -moz-linear-gradient(top, @start-color, @end-color); | |
background-image: -ms-linear-gradient(top, @start-color, @end-color); | |
background-image: -o-linear-gradient(top, @start-color, @end-color); | |
background-image: linear-gradient(top, @start-color, @end-color); |
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
alias gi='. /Users/$USER/git-info.sh' |
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
.gist .highlight { | |
border-left: 3ex solid #eee; | |
position: relative; | |
} | |
.gist .highlight pre { counter-reset: linenumbers; } | |
.gist .highlight pre div:before { | |
color: #aaa; | |
content: counter(linenumbers); | |
counter-increment: linenumbers; | |
left: -4ex; |
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
# ~/.bash_profile: executed by bash(1) for login shells. | |
umask 002 | |
PS1='\e[7m[\!] `whoami` @ \h\e[34;47;7;1m \w \e[0m | |
> ' | |
alias cls="clear" | |
alias mytree="find . -type d | sed -e 1d -e 's/[^-][^\/]*\//--/g' - | |
e 's/^/ | |
/' -e 's/-/|-/' | more" | |
alias ls="ls --color=auto" |
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
svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | sort -u > authors-transform.txt |
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
/* Clean version examples */ | |
/* 1.25 dpr */ | |
@media | |
(-webkit-min-device-pixel-ratio: 1.25), | |
(min-resolution: 120dpi){ | |
/* Retina-specific stuff here */ | |
} | |
/* 1.3 dpr */ |
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
// lack of support for CSS :first-child and :last-child | |
if ($.browser.msie && parseInt($.browser.version, 10) === 8) { | |
$('ul li:first').addClass('first'); | |
$('ul li:last').addClass('last'); | |
} |
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> | |
<html> | |
<head> | |
<title>Online / offline Demo<title> | |
<style> | |
body { background: #6c6; } | |
body.offline { background: #ccc; } | |
.container { | |
width: 500px; | |
background: #fff; |
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(document).ready(function() { | |
jQuery('#content div.entry div.info h2 a').each(function() { | |
var new_text = jQuery(this).html().replace(/&/g, '<span class="amp">&</span>'); | |
jQuery(this).html(new_text); | |
}); | |
}); |
OlderNewer