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
<!--[if lt IE 9]><script>var e = ("abbr,article,aside,audio,canvas,datalist,details,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video").split(',');for (var i = 0; i < e.length; i++) document.createElement(e[i]);</script><![endif]--> |
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
var _DoItalicsAndBold = function (text) { | |
// <strong> must go first: | |
text = text.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g, "<strong>$2</strong>"); | |
text = text.replace(/(\w)_(\w)/g, "$1~E95E$2"); // ** GFM ** "~E95E" == escaped "_" | |
text = text.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g, "<em>$2</em>"); | |
return text; | |
}; |
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
article,aside,audio,canvas,footer,header,hgroup,menu,nav,section,video {display:block;} |
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
#!/bin/bash | |
export mvar=`mail -H |tail -1 |sed -n 's/\(..*"\)\([^"][^"].*\)\(["].*\)/\2/p'` | |
/usr/bin/osascript <<-EOF 2>/dev/null 1>&2 | |
tell application "GrowlHelperApp" | |
try | |
set the allNotificationsList to ¬ | |
{"Unix Mail Notification"} | |
set the enabledNotificationsList to ¬ | |
{"Unix Mail Notification"} | |
register as application ¬ |
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 | |
class SaltedHash { | |
protected $salt; | |
protected $active_hash; | |
const SALT_LENGTH = 15; | |
function __construct($hash=null) { | |
$this->active_hash = $hash; |
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
@media screen and (min-device-width: 800px) { | |
body { | |
width:1024px; | |
height:748px; | |
margin:20px auto; | |
background:black; | |
border:1px solid red; | |
} | |
html { | |
background:gray; |
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
new Effect.Parallel([ | |
new Effect.Move(previousBackdrop, { sync: true, x:w, mode: 'absolute' }), | |
new Effect.Move(nextBackdrop, { sync: true, x:0, mode: 'absolute' }), | |
new Effect.Fade(previousTabHilight, {sync:true}), | |
new Effect.Appear(nextTabHilight, {sync:true}), | |
new Effect.Morph(previousTab, {style:'normal'}), | |
new Effect.Morph(nextTab, {style:'selected'}) | |
], { | |
duration: 0.8, | |
transition: Effect.Transitions.easeOutQuad, |
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
Accordion.animating = true; | |
$(previousBackdrop).animate({left:w}, 0.8, "easeOutQuad", function() {this.hide();Accordiun.animating = false;}); | |
$(nextBackdrop).animate({left:0}, 0.8, "easeOutQuad"); | |
$(previousTabHighlight).fadeOut(0.8, "easeOutQuad"); | |
$(nextTabHighlight).fadeIn(0.8, "easeOutQuad", function() {this.className = 'selected';}); | |
$(previousTab).switchClass('selected','normal', 0.8); | |
$(nextTab).switchClass('normal','selected', 0.8); |
OlderNewer