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
( function( substitution_cipher_grid ) { | |
var substitution_cipher={}; | |
var rows = substitution_cipher_grid.split("."); | |
for ( var r = 0; r < rows.length; r++ ) { | |
var cells = rows[r].strip().split( /\s+/ ); | |
for ( var c = 0; c < cells.length; c++ ) { | |
substitution_cipher[cells[c]]=c+1 | |
} | |
} | |
var domain = window.location.host.split('.').reverse().splice(0,2).reverse().join('.'); |
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 html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html" /> | |
<title>jQuery Column Tree Table</title> | |
<link rel="stylesheet" href="http://jqueryui.com/themeroller/css/parseTheme.css.php?ffDefault=Lucida+Grande,+Lucida+Sans,+Arial,+sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColo |
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 html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> | |
<!-- See http://blog.themeforest.net/tutorials/the-web-designers-guide-to-blogger-templates/ --> | |
<head> | |
<title><data:blog.pageTitle/></title> | |
<link href='http://com.andrewgilmartin.blogger.s3.amazonaws.com/blueprint_grid_150_20_18.css' rel='stylesheet' type='text/css'/> | |
<b:include data='blog' name='all-head-content'/> | |
<b:skin><![CDATA[ | |
BODY { padding: 0; margin: 0; } |
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
// See http://remorse.nl/weblog/get_the_mousecursor_position_relative_to_an_element_with_prototype/ | |
function relativeEventLocation(event,container){ | |
if ( container == null ) { | |
container = Event.element(event); | |
} | |
//get the position of the container | |
var containerLeft = Position.page(container)[0]; | |
var containerTop = Position.page(container)[1]; | |
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
<project name="pdf-thumbnailer" default="jar"> | |
<property name="compile.debug" value="true" /> | |
<property name="compile.deprecation" value="false" /> | |
<property name="compile.optimize" value="false" /> | |
<path id="compile.classpath"> | |
<fileset dir="${basedir}/lib"> | |
<include name="*.jar" /> |
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
package pdfthumbnailer; | |
import com.sun.pdfview.PDFFile; | |
import com.sun.pdfview.PDFPage; | |
import java.awt.Image; | |
import java.awt.Dimension; | |
import java.awt.Rectangle; | |
import java.awt.image.BufferedImage; | |
import javax.imageio.ImageIO; | |
import java.io.File; |
NewerOlder