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
jQuery(document).ready( function() { | |
// this will run after page load | |
DUDE.rollover.init(); | |
}); | |
// creates DUDE hash/object | |
DUDE = {}; | |
// Setup DUDE.rollover child object expando | |
// DUDE.rollover becomes the main object context |
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
DUDE = { | |
rollover : function(){ | |
init: function(){}, | |
preload: function(){}, | |
newimage: function(){}, | |
oldimage: function(){} | |
} | |
}; |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>feature me</title> | |
<link rel="stylesheet" href="http://static.jquery.com/files/rocker/css/reset.css" type="text/css" /> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<!-- used as an aid to quickly test proof of concept html in real time --> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>Live HTML</title> | |
<!--link rel="stylesheet" href="http://static.jquery.com/files/rocker/css/reset.css" type="text/css" / --> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> | |
<link rel="shortcut icon" href="http://www.13elieve.com/favicon.ico" type="image/x-icon"/> |
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 p = function(msg) { | |
console.log(msg); // because I frequently mis-spell consele.lgo (no it doesn't work in ie..silly) | |
}; | |
doIt = function(aObj) { | |
for (k in aObj) { | |
var v = aObj[k]; // assign value to v | |
typeof v != 'string' ? p(k + ": ") || doIt(v) : p(k + ": " + v); // if not string recurse else output k,v | |
} |
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
/* Extract Pages to Folder */ | |
// regular expression acquire the base name of file | |
var re = /.*\/|\.pdf$/ig; | |
// filename is the base name of the file Acrobat is working on | |
var filename = this.path.replace(re,""); | |
try { | |
for ( var i = 0; i < 1; 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
gem install --no-rdoc --no-ri -v=2.7 mysql -- --with-mysql-dir=/opt/lampp |
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
#!/usr/local/bin/ruby | |
# web.rb | |
# to be run with apache, as long as apache is setup to parse .rb and can execute the file | |
puts "Content-Type: text/html" # has to happen before output to browser | |
puts | |
begin # wrap page in exception to avoid 500 errors | |
param = ARGV[0] | |
if ARGV[0] | |
puts <<-end |
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
<html> |
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
RewriteRule ^([^/]+)/([^/]+)/([^/]+)$ http://google.com/file.php?project=$1&category=$2&task=$3 [L] | |
RewriteRule ^([^/]+)/([^/]+)$ http://google.com/file.php?project=$1&category=$2 [L] | |
RewriteRule ^([^/]+)$ http://google.com/file.php?project=$1 [L] |
OlderNewer