diff --git a/public/posts/2010/01/basics-of-the-mach-o-file-format.html.md b/public/posts/2010/01/basics-of-the-mach-o-file-format.html.md index 77f4bec..8e6c247 100644 --- a/public/posts/2010/01/basics-of-the-mach-o-file-format.html.md +++ b/public/posts/2010/01/basics-of-the-mach-o-file-format.html.md @@ -111,7 +111,7 @@ two underscores, e.g. __bss or __text
As much of the Mach-O format as we need is defined in - + asm/macho.rb. The Mach header, Segment commands, sections, relocation tables, and symbol table structs are all there, with a few constants as well.
diff --git a/public/posts/2011/12/static-url-shortener-using-htaccess.html.md b/public/posts/2011/12/static-url-shortener-using-htaccess.html.md index 2de0af8..fe25d44 100644 --- a/public/posts/2011/12/static-url-shortener-using-htaccess.html.md +++ b/public/posts/2011/12/static-url-shortener-using-htaccess.html.md @@ -1,4 +1,4 @@ -This blog is statically generated. A few Ruby and Node.js scripts along with a Makefile and some duct tape hold it all together. All of [samhuri.net is on Github][GH] if you want to take a look. Most of it is quite minimal, sometimes to a fault. Little improvements are made here and there and the most recent one is neat [.htaccess][htaccess-wiki] hack. I want to automatically announce new posts on Twitter so short URLs are in order. +This blog is statically generated. A few Ruby and Node.js scripts along with a Makefile and some duct tape hold it all together. All of [samhuri.net is on Github][GH] if you want to take a look. Most of it is quite minimal, sometimes to a fault. Little improvements are made here and there and the most recent one is a neat [.htaccess][htaccess-wiki] hack. I want to automatically announce new posts on Twitter so short URLs are in order. I try to strike a reasonable balance between writing everything for this site myself and using libraries. A quick look at a few short URL projects was enough to see they weren't what I was looking for. They were all database backed servers. Comments on this blog are served up dynamically but everything else is static and I try to avoid dynamic behaviour when possible. Comments are moving to a more static system sometime. Anyway I registered the domain [s42.ca][s42] and nabbed [an algorithm for creating the short codes from Jonathan Snook][snook] before diving into TextMate to implement my idea.