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
javascript:(function(a){setInterval(function(){var b=a(".js-new-tweets-bar");if(b.length){a(".js-view-toggler").hide().text(b.text().match(/\d+/)+" new tweets. "+(new Date()).toString().match(/\d+:\d+:\d+/)).fadeIn();b.trigger("click")}},1000)})(jQuery); |
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
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style type="text/css"> | |
#box { | |
width:320px; | |
height:320px; | |
background-color:#222; |
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
$.extend($,{ | |
getClientHeight : function(){ | |
return window.innerHeight || document.documentElement.clientHeight; | |
}, | |
getClientWidth : function(){ | |
return window.innerWidth || document.documentElement.clientWidth; | |
}, | |
extractNumber : function(str){ | |
return Number(str.replace(/[^\d\.]/g, "")); | |
}, |
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
/** | |
* JavaScript for Fireworks CS5 | |
* Move selected items to new layers created with those names. | |
*/ | |
(function(){ | |
var sel, dom, debug, i; | |
sel = fw.selection; | |
dom = fw.getDocumentDOM(); | |
debug = []; | |
for(i=0;i<sel.length;i++){ |
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
/** | |
* Get script directory | |
*/ | |
var jsdir = (function(s){ return s[s.length-1].src.split("?")[0].replace(/[^\/]+?$/, ""); }(document.getElementsByTagName("script"))); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.macports.php-fastcgi</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/local/bin/php-cgi</string> |
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
/** | |
* Beautify.js | |
* | |
* @author mach3 | |
* @require opts, js-beautify | |
* @example | |
* node beautify.js [-w] [-t] [-e <encoding>] [-i] [-b] <target> | |
*/ | |
var opts, fs, path, beautify; |
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
/** | |
* Get random string | |
* @param String map | |
* @param Integer min length | |
* @param Integer max length | |
*/ | |
var randomString = function(map, min, max){ | |
var str, len; | |
len = Math.floor(Math.random() * (max - min) + 1) + min; | |
str = ""; |
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
/** | |
* ShadowCanvas | |
* | |
* Drawing illustration with css box-shadow | |
* | |
* @version 0.9 | |
* @author mach3ss | |
* @require jQuery | |
*/ | |
var ShadowCanvas = function(selector, option){ |