Permalink
Browse files

initial import of my main website

  • Loading branch information...
0 parents commit 51cd2a5939c38ed052a9ae5e402753ed696e94a3 @mydimension committed Jan 4, 2011
Showing with 7,650 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +25 −0 .htaccess
  3. +30 −0 404.html
  4. +1 −0 awstats
  5. +1 −0 awstatsicons
  6. +529 −0 hosted/index.php
  7. +2 −0 ie7-test/.htaccess
  8. BIN ie7-test/images/aemail.gif
  9. BIN ie7-test/images/aoutside.gif
  10. BIN ie7-test/images/dwws.gif
  11. BIN ie7-test/images/geourl.gif
  12. BIN ie7-test/images/masthead_ice.jpg
  13. BIN ie7-test/images/masthead_ice_fade.jpg
  14. BIN ie7-test/images/rss10.gif
  15. BIN ie7-test/images/terminator.gif
  16. BIN ie7-test/images/validcss.gif
  17. BIN ie7-test/images/xfn.gif
  18. BIN ie7-test/images/xhtml.gif
  19. +529 −0 ie7-test/index.php
  20. +31 −0 ie7-test/js/blockquotes.js
  21. +36 −0 ie7-test/js/citations.js
  22. +66 −0 ie7-test/js/common.js
  23. +20 −0 ie7-test/js/sleight.js
  24. BIN ie7-test/js/x.gif
  25. +294 −0 ie7-test/styles/blue.css
  26. +242 −0 ie7-test/styles/common.css
  27. +243 −0 ie7-test/styles/emerald.css
  28. +295 −0 ie7-test/styles/ice.css
  29. +44 −0 ie7-test/styles/ie7-html.css
  30. +48 −0 ie7-test/styles/ie7-style.htc
  31. +797 −0 ie7-test/styles/ie7.htc
  32. +271 −0 ie7-test/styles/muted_gray.css
  33. BIN images/aemail.gif
  34. BIN images/aoutside.gif
  35. BIN images/approved_508.gif
  36. BIN images/background.jpg
  37. BIN images/background.png
  38. BIN images/background_refined.jpg
  39. BIN images/background_tile.jpg
  40. BIN images/blogshares.gif
  41. BIN images/computernerd.gif
  42. BIN images/dwws.gif
  43. BIN images/geourl.gif
  44. BIN images/geourl.png
  45. BIN images/geourl_bfade.png
  46. BIN images/hosted/Andrew.gif
  47. BIN images/hosted/Gir.gif
  48. BIN images/hosted/Gir.psd
  49. BIN images/hosted/GirDance.gif
  50. BIN images/hosted/Gir_AIM.gif
  51. BIN images/masthead.png
  52. BIN images/masthead_emerald.png
  53. BIN images/masthead_ice.jpg
  54. BIN images/masthead_ice_fade.jpg
  55. BIN images/masthead_refined.png
  56. BIN images/php423.0401.gif
  57. BIN images/php430.0401.gif
  58. BIN images/rss.png
  59. BIN images/rss10.gif
  60. BIN images/rss_bfade.png
  61. BIN images/terminator.gif
  62. BIN images/valid-css.png
  63. BIN images/valid-css_bfade.png
  64. BIN images/valid-xhtml10.png
  65. BIN images/valid-xhtml10_bfade.png
  66. BIN images/validcss.gif
  67. BIN images/xfn.gif
  68. BIN images/xhtml.gif
  69. +5 −0 index.php
  70. +31 −0 js/blockquotes.js
  71. +59 −0 js/bq.js
  72. +36 −0 js/citations.js
  73. +94 −0 js/common.js
  74. +20 −0 js/sleight.js
  75. BIN js/x.gif
  76. BIN projects/journal_o_andy_redesign/color_bars.gif
  77. +2,323 −0 projects/journal_o_andy_redesign/functions.php
  78. +89 −0 projects/journal_o_andy_redesign/index.html
  79. +136 −0 projects/journal_o_andy_redesign/main.css
  80. +1 −0 projects/journal_o_andy_redesign/phpinfo.php
  81. +5 −0 robots.txt
  82. +294 −0 styles/blue.css
  83. +241 −0 styles/common.css
  84. +243 −0 styles/emerald.css
  85. +296 −0 styles/ice.css
  86. +271 −0 styles/muted_gray.css
  87. +1 −0 wordpress
@@ -0,0 +1 @@
+priv_stats/
@@ -0,0 +1,25 @@
+AddHandler server-parsed .html
+AddType text/x-component .htc
+
+RewriteEngine on
+RewriteBase /
+
+#take care of trailing slash problem for real directories
+RewriteCond %{REQUEST_URI} -d
+RewriteRule ^(.+[^/])$ $1/ [R]
+
+RewriteRule ^rss.xml$ /feed/ [R]
+
+# WordPress is handling most of this internally
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule . /index.php [L]
+
+# Redirect gallery requests
+RewriteRule ^gallery(.*) http://www.flickr.com/photos/mydimension/ [R]
+
+# block the idiots still trying to access a non-existent page
+RewriteCond %{REQUEST_URI} (^/refer) [NC]
+
+# give a solid 403 - Forbidden, thanks for coming out
+RewriteRule .* - [F,L]
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Page Not Found!</title>
+</head>
+
+<body bgcolor="#ffffff">
+<font face = "arial">
+<p align="center">
+This is your custom 404 "Not found" Error page. This page is displayed
+whenever a file that a web browser requests is not found on your
+website.
+<p align="center">
+If you would like to change this page, edit the file "404.html"
+in your "www" dir.
+<p>
+<b>Important!!!!</b>
+<p>
+If you use Microsoft Internet Explorer, please read this important
+article about "404" pages. It will save you a lot of frustration!
+<p align = "center">
+<a href="http://www.plinko.net/404/custom.asp#ie">Force IE5 to display your 404 and not its own</a>
+
+<p align = "center">
+You may also wish to read this article:
+<p align = "center">
+<a href="http://support.microsoft.com/support/kb/articles/q218/1/55.asp">
+click here for Microsoft Knowledge Base article</a>
+
+</body>
+</html>
Oops, something went wrong.
@@ -0,0 +1,2 @@
+AddType text/x-component .htc
+AddType application/x-httpd-php .php
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
@@ -0,0 +1,31 @@
+/*
+* blockquotes.js
+*
+* Simon Willison, 20th December 2002
+*
+* Explanation:
+* http://simon.incutio.com/archive/2002/12/20/#blockquoteCitations
+* Inspired by Adrian Holovaty:
+* http://www.holovaty.com/blog/archive/2002/12/20/0454
+* Alternative implementation of the same idea by Paul Hammond:
+* http://www.paranoidfish.org/boxes/2002/12/20/
+*/
+
+function extractBlockquoteCitations() {
+ quotes = document.getElementsByTagName('blockquote');
+ for (i = 0; i < quotes.length; i++) {
+ cite = quotes[i].getAttribute('cite');
+ if (cite != '') {
+ newlink = document.createElement('a');
+ newlink.setAttribute('href', cite);
+ newlink.setAttribute('title', cite);
+ newlink.appendChild(document.createTextNode('Source'));
+ newdiv = document.createElement('div');
+ newdiv.className = 'blockquotesource';
+ newdiv.appendChild(newlink);
+ quotes[i].appendChild(newdiv);
+ }
+ }
+}
+
+window.onload = extractBlockquoteCitations;
@@ -0,0 +1,36 @@
+addEvent(window, "load", init);
+
+function init() {
+ if (document.getElementsByTagName && document.createElement && document.createTextNode && document.insertBefore) {
+ quotes = document.getElementsByTagName('blockquote');
+ for(var i=quotes.length; i-->0;) {
+ var quote = quotes[i];
+ if(quote.cite) {
+ var block = document.createElement('p');
+ block.className = 'blockquotecite';
+ var link = document.createElement('a');
+ link.href = quote.cite;
+ var text = document.createTextNode('[source]')
+ link.appendChild(text);
+ block.appendChild(link);
+// if you want the p tag after the quote instead of in it
+// quote.parentNode.insertBefore(block,quote.nextSibling);
+ quote.appendChild(block);
+ }
+ }
+ }
+}
+
+
+// from scottandrew.com
+function addEvent(obj, evType, fn){
+ if (obj.addEventListener){
+ obj.addEventListener(evType, fn, true);
+ return true;
+ } else if (obj.attachEvent){
+ var r = obj.attachEvent("on"+evType, fn);
+ return r;
+ } else {
+ return false;
+ }
+}
@@ -0,0 +1,66 @@
+function extractBlockquoteCitations() {
+ if (document.getElementsByTagName && document.createElement && document.createTextNode) {
+ quotes = document.getElementsByTagName('blockquote');
+ urlReg = /^(http:\/\/)(.*)$/;
+
+ for (i = 0; i < quotes.length; i++) {
+ cite = quotes[i].getAttribute('cite');
+ if (cite != '') {
+ //create the div.blockquotesource element
+ newdiv = document.createElement('div');
+ newdiv.className = 'blockquotesource';
+
+ //determine if the citation is a url or not
+ if (urlReg.test(cite)) {
+ //yes: create a link to the url
+
+ //create the anchor element
+ newlink = document.createElement('a');
+ newlink.setAttribute('href', cite);
+ newlink.setAttribute('title', cite);
+ newlink.appendChild(document.createTextNode('Source'));
+ //put the link inside the div
+ newdiv.appendChild(newlink);
+ } else {
+ //no: simply display the source. gracefully degrads for browsers that don't support RegExp
+ newdiv.appendChild(document.createTextNode(cite));
+ }
+
+ //apend the whole thing to the blockquote
+ quotes[i].appendChild(newdiv);
+ }
+ }
+ }
+}
+
+function clickableMasthead() {
+ if (document.getElementById) {
+ var masthead = document.getElementById("masthead");
+ if (document.all) { // IE5.x does not understand 'pointer' as a cursor type
+ masthead.style.cursor = "hand";
+ } else {
+ masthead.style.cursor = "pointer";
+ }
+ addEvent(masthead, "click", function() { document.location = '/'; });
+ }
+}
+
+// from scottandrew.com
+function addEvent(obj, evType, fn){
+ if (obj.addEventListener){
+ obj.addEventListener(evType, fn, true);
+ return true;
+ } else if (obj.attachEvent){
+ var r = obj.attachEvent("on"+evType, fn);
+ return r;
+ } else {
+ return false;
+ }
+}
+
+addEvent(window, "load", extractBlockquoteCitations);
+addEvent(window, "load", clickableMasthead);
+
+if (window.attachEvent) {
+ //window.attachEvent("onload", function () { document.recalc(); });
+}
@@ -0,0 +1,20 @@
+if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
+ document.writeln('<style type="text/css">img { visibility:hidden; } </style>');
+ window.attachEvent("onload", fnLoadPngs);
+}
+
+function fnLoadPngs() {
+ var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
+ var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
+
+ for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
+ if (itsAllGood && img.src.match(/\.png$/i) != null) {
+ var src = img.src;
+ img.style.width = img.width + "px";
+ img.style.height = img.height + "px";
+ img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')"
+ img.src = "/js/x.gif";
+ }
+ img.style.visibility = "visible";
+ }
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit 51cd2a5

Please sign in to comment.