summaryrefslogtreecommitdiff
path: root/src/Xkcd:1110.ascii
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2015-05-31 01:07:36 -0600
committerAaron Ball <nullspoon@iohq.net>2015-05-31 01:07:36 -0600
commit3f19c2313feb53e3d7c861e317d1d75552c6cb89 (patch)
tree2750ac2865333ea03849a947776628846309d35d /src/Xkcd:1110.ascii
downloadoper.io-3f19c2313feb53e3d7c861e317d1d75552c6cb89.tar.gz
oper.io-3f19c2313feb53e3d7c861e317d1d75552c6cb89.tar.xz
Initial commit of some posts
First iterration of buildpage is written. It works okay. Commiting header and footer html docs as well as style.css (fairly functional port from the old site) Also including four asciidoc syntax versions of the old wiki content.
Diffstat (limited to 'src/Xkcd:1110.ascii')
-rw-r--r--src/Xkcd:1110.ascii67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/Xkcd:1110.ascii b/src/Xkcd:1110.ascii
new file mode 100644
index 0000000..83f8d9a
--- /dev/null
+++ b/src/Xkcd:1110.ascii
@@ -0,0 +1,67 @@
+Xkcd:1110
+=========
+:author: Aaron Ball
+:email: nullspoon@iohq.net
+
+== {doctitle}
+
+I really like the webcomic http://xkcd.com[xkcd]. Its author, Randall, is
+hilarious. If you don't read this comic, you definitely should.
+
+Recently Randall http://xkcd.com/1110[drew one] that blew my mind (seriously,
+there are brains everywhere). He basically made what looks to be a 100x100
+(there are some empty tiles in there so that's not super accurate) grid of a
+sad, yet wonderful world. This world, populated by javascript, will take you a
+tremendous amount of time to scroll through. I can only imagine how much time
+this took him to make.
+
+Well, not to put all of that work to waste, but I decided I wanted to assemble
+the entire grid into a single image. The first step to that is to download the
+entire grid of images. With that, I wrote a script.
+
+Currently, that script is downloading all of that commic with a .2 second sleep
+time between images (no DOSing for me). I will post back here with a zip file
+containing every image and as soon as I have the time, I will write a script to
+automagically assemble the entire thing! I will also post that here.
+
+However, first things first (as I said). The first script to download the
+entire commic looks like so (yes, I'm sure there are more efficient ways to do
+this)
+
+----
+#!/bin/bash
+for n in {0..50..1}; do
+ # Quadrant 1
+ for e in {0..50..1}; do
+ wget "http://imgs.xkcd.com/clickdrag/"$n"n"$e"e.png" && echo $n"n"$e"e.png"
+ sleep .2;
+ done
+
+ # Quadrant 2
+ for w in {0..50..1}; do
+ wget "http://imgs.xkcd.com/clickdrag/"$n"n"$w"w.png" && echo $n"n"$w"w.png"
+ sleep .2;
+ done
+done
+
+for s in {1..50..1}; do
+ # Quadrant 3
+ for w in {0..50..1}; do
+ wget "http://imgs.xkcd.com/clickdrag/"$s"s"$w"w.png" && echo $s"s"$w"w.png"
+ sleep .2;
+ done
+
+ # Quadrant 4
+ for e in {0..50..1}; do
+ wget "http://imgs.xkcd.com/clickdrag/"$s"s"$e"e.png" echo $s"s"$e"e.png"
+ sleep .2;
+ done
+done
+----
+
+Category:xkcd
+Category:Linux
+Category:Scripting
+
+
+// vim: set syntax=asciidoc:

Generated by cgit