Skip to content

Commit

Permalink
Updating how h1s are generated, so they get the benefit of having id …
Browse files Browse the repository at this point in the history
…attributes, which makes for easier linking
  • Loading branch information
mroderick committed Jan 6, 2012
1 parent d4a3ace commit cf674eb
Show file tree
Hide file tree
Showing 26 changed files with 53 additions and 7 deletions.
5 changes: 1 addition & 4 deletions site/_layouts/post.html
Expand Up @@ -4,11 +4,8 @@
---
<div class="article">
<article>
<h1><a href="{{ page.url }}" title="Permalink for this post">{{ page.title }}</a></h1>
<p class="post-date">Posted on {{ page.date | date: "%Y-%m-%d" }}</a></p>

{{ content }}

<p class="post-date">Posted on {{ page.date | date: "%Y-%m-%d" }}</a></p>
</article>
{% unless page.disable_comments %}
<script>
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2008-11-16-fixing-bus-error-segfault-in-rcov.md
Expand Up @@ -5,6 +5,8 @@ topics: ruby coverage rcov
disable_comments: true
---

# Fixing Bus Error / Segfault in Rcov

We have recently run into problems with "rcov":http://eigenclass.org/hiki/rcov crashing with seemingly random errors, like

{% highlight bash %}
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2008-11-20-un-indexable-javascript-warnings.md
Expand Up @@ -5,6 +5,8 @@ topics: javascript
disable_comments: true
---

# How to create un-indexable content for missing javascript warnings

At Gazebo we love to use unobtrusive enhancement to make our solutions available to the biggest possible audience, and greatly improve the experience for users with sophisticated user-agents.

This usually means:
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2009-03-11-hello-world-webby.md
Expand Up @@ -5,6 +5,8 @@ topics: webby
disable_comments: true
---

# Hello world, webby!

You might wonder what is going on with this site right now, and it might look very incomplete at the moment you are viewing it.

I am rebuilding the website using [Webby](http://webby.sourceforge.org), a small web generation tool. It is purely a learning experience, but with a very tangible end goal: an easy-to-manage blog.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2009-03-16-creating-sitemaps-with-comatose-cms.md
Expand Up @@ -5,6 +5,8 @@ topics: rails comatose sitemap
disable_comments: true
---

# Creating Sitemaps with Comatose CMS

For some time now, I've been using [Comatose CMS](http://github.com/darthapo/comatose/tree/master) for client sites. It is quite possible the smallest Rails based CMS, having only the features you need for most sites and flexible enough to allow you to extend it if you need to.

Whenever you're doing content publishing, you should make it as easy as possible for search engines to find and catalog our content. In this post I will show you how you can create a simple [Sitemap](http://www.sitemaps.org) from a Comatose CMS.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2009-03-17-adding-page-caching-to-sitemaps.md
Expand Up @@ -5,6 +5,8 @@ topics: rails comatose sitemap cache
disable_comments: true
---

# Adding Page Caching to Sitemaps

The shortest distance between two points is not a straight line. The shortest distance is zero. Admittedly, we're not about to fold space or do time travel, but you get the idea.

Likewise, for any web framework, the fastest way to deliver content to clients is to not use the framework at all, but let the webserver serve static files to clients.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2009-03-23-sitemaps-with-webby.md
Expand Up @@ -5,6 +5,8 @@ topics: webby sitemap
disable_comments: true
---

# Sitemaps With Webby

As a followup to my two part article about [Creating Sitemaps with Comatose CMS](/2009/03/16/creating-sitemaps-with-comatose-cms/), I wanted to share with you, how I am currently implementing Sitemaps on this blog.

After taking a stab at implementing my own solution for about 10 minutes (with [Webby](http://webby.rubyforge.org/), you get surprisingly far in 10 minutes), I used my google-fu and found an article about [Easy Google/Yahoo! Sitemaps with webby](http://www.opensourcery.co.za/2008/10/19/easy-googleyahoo-sitemaps-with-webby). Implementation took about 5 minutes, and I have have a fully functional Sitemap.
2 changes: 2 additions & 0 deletions site/_posts/2009-03-27-ie6-background-flicker-once-again.md
Expand Up @@ -5,6 +5,8 @@ topics: IE6 javascript
disable_comments: true
---

# IE6 Background flicker once again

Every once in awhile you come across one of those Internet Explorer 6 issues that tries it's hardest to be really annoying. Today was one of those days with IE.

Having flown out to work directly with a client's web team yesterday, I spent some time today cursing at IE6 and trying to deal with a weird flickering of the webpage, apparently caused by hovering over a menu.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: javascript
idcomments_post_id: http://roderick.dk/blog/2009/05/07/introduction-to-low-pro-for-prototype/
---

# Introduction to Low Pro for Prototype

Tonight I gave a lightweight introduction to [Low Pro](http://lowprojs.com) for Prototype at the [Öresund JavaScript meetup](http://www.meetup.com/The-Oresund-JavaScript-Meetup/).

For those that missed it, or just want to study the example again, you can [see the slides as a PDF](/presentations/introduction-to-low-pro-for-prototype/Introduction-to-Low-Pro-for-Prototype.pdf), [see the sample](/presentations/introduction-to-low-pro-for-prototype/intro.html) or [download a zip file with everything](presentations/introduction-to-low-pro-for-prototype/Introduction-to-Low-Pro-for-Prototype.zip).
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: javascript
disable_comments: true
---

# LowPro Updated for Firefox 3.5

Firefox 3.5 was recently released, and offers significant updates. If you have not upgraded yet, you should [do so now](http://mozilla.org/firefox).

In the [LowPro community](http://groups.google.com/group/low-pro), we have been tracking compatibility with the upcoming Firefox. The existing LowPro was compatible with Firefox 3.5RC2, but incompatible with the final release of Firefox 3.5.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2009-07-02-reclaim-disk-space-from-safari-4.md
Expand Up @@ -5,6 +5,8 @@ topics: safari osx
idcomments_post_id: http://roderick.dk/blog/2009/07/02/reclaim-disk-space-from-safari-4/
---

# Reclaim Disk Space From Safari 4

Having a MacBook Pro that seems to be continually low on disk space, I set out to tidy up a bit using the [excellent and free OmniDiskSweeper](http://www.omnigroup.com/applications/omnidisksweeper/). It will help you identify where all your disk space is going. Use with caution though, and always have a recent backup.

After tidying up all over the file system, I noticed that the Safari cache was enourmous ... 1.2GB in my case. Further investigation revealed that most of that space was taken up by Webpage Previews, used by the top sites feature in Safari 4. As I don't care for that feature, I have disabled it with the following command
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: osx
disable_comments: true
---

# Setting Up Virtual Hosts on OS X Leopard

Working with a new client and getting back to my roots of doing pure frontend development, I had to set up a virtual host for development on my MBP.

When working with Rails, I usually just use `script/server` and/or Passenger to serve my applications... in this situation i just needed to serve some static files.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: safari osx
idcomments_post_id: http://roderick.dk/blog/2009/08/03/disable-webpage-preview-images-in-safari-4-final/
---

# Disable Webpage Preview Images in Safari 4 Final

I've finally managed to switch off the final remnant of the Top Sites feature in Safari 4, the automatic generation of 'Webpage Previews'

I've previously written about how to [Reclaim Disk Space From Safari 4](http://roderick.dk/blog/2009/07/02/reclaim-disk-space-from-safari-4/), where I detailed how to set up a job to cleanup the Webpage Previews cache folder.
Expand Down
Expand Up @@ -4,6 +4,9 @@ layout: post
topics: textmate javascript lowpro
disable_comments: true
---

# TextMate snippet for creating Low Pro Behaviors

## Behaviours

To encapsulate complex javascript behaviour on websites, I have been using [Dan Webb's Low Pro](http://www.danwebb.net/lowpro) library for several years. Low Pro allows you to create self-contained Behavior classes, which avoids polluting the global namespace with variables and makes for very easy re-use of code.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: osx mercurial
idcomments_post_id: http://roderick.dk/blog/2009/08/28/installing-mercurial-with-bash-completion/
---

# Installing Mercurial With Bash Completion from MacPorts

Now that Snow Leopard is out, I ran into a few issues with some of my installed ports. Upgrading them to run on the new 64-bit OS also gave me some grief.

I decided to just start over with a clean slate for all my ports.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: javascript juicer sprockets
idcomments_post_id: http://roderick.dk/blog/2009/10/04/combining-javascript-files-juicer-vs-sprockets/
---

# Combining JavaScript Files - Juicer vs Sprockets

Currently working on a project that has well defined use of "namespaces" and structured use folders for its JavaScript files. I wanted to investigate the options for combining and minifying JavaScript files.

I need a tool that:
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2009-11-03-perfect-pitch.md
Expand Up @@ -4,6 +4,8 @@ layout: post
comments_disabled: true
---

# Perfect Pitch

[Perfect Pitch](http://adactio.com/journal/1623/) is an article by Jeremy Keith that discusses some recent issues and misuses of DMCA unfairly to destroy competitors search engine rankings.

It all started out as an innocent comment about attaining [Perfect Pitch](http://www.thesession.org/discussions/display/21250) on The Session.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: webby juicer css performance
disable_comments: true
---

# Speeding Up Your Webby Site With Juicer

On this blog I use several stylesheets to keep things (somewhat) organised. This allows me to upgrade my `coderay.css` file or my [Tripoli CSS](http://devkick.com/lab/tripoli/) stylesheets without having to reorganise everything.

But, just because I like to organise my code into managable chunks, doesn't mean that I have to degrade the performance of the site for the visitors.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: IE JSON
comments_disabled: false
---

# IE8 Getting EcmaScript 262 rev. 5 Compliant Native JSON

Earlier this week, Microsoft posted an article with details on udpates to the native JSON implementation in IE8.

> Because of the new ECMAScript specification changes, some customers have reported issues. These issues are caused by deviations between the native JSON feature in Internet Explorer 8 and the final specification. An update is now available to address these customer issues and improve JSON interoperability of Internet Explorer 8. This update enables JSON interoperability of Internet Explorer 8 to keep in conformance with the new "ECMAScript, fifth edition" standard specification.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2010-02-26-juicer-1-0-0-released.md
Expand Up @@ -4,6 +4,8 @@ layout: post
topics: juicer
---

# Juicer 1.0.0 Released

Earlier today [Christian Johansen](http://cjohansen.no/en/) pushed the button and [published Juicer v1.0.0 as a gem](http://groups.google.com/group/juicer-dev/browse_thread/thread/1ce8b35ab2ccccae).

For those unfamiliar with [Juicer](http://github.com/cjohansen/juicer), it's an open source Ruby based tool that allows you to merge and minify your JavaScript and CSS files. Internally, Juicer uses [JSLint](http://www.jslint.com/) to keep your JavaScript in good shape and supports both YUI Compressor and Google Closure Compiler to make your CSS and JavaScript files as small as possible.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: javascript
idcomments_post_id: http://roderick.dk/blog/2010/09/02/introducing-failfast-a-javascript-library-for-failure/
---

# Introducing FailFast, a JavaScript library for failure

Tomorrow I will be attending [dConstruct 2010](http://2010.dconstruct.org/), which I am very excited about. I flew in a day early, so I could get some time to enjoy Brighton. One of the first stops has been [The Skiff](http://theskiff.org/), "a nice little place to work in the middle of Brighton".

The Skiff is indeed a very nice place: very few interruptions and very friendly people. While sitting at my visitors desk, I've managed to finally finish a little JavaScript library, that has been a very long time in the making: [FailFast](http://github.com/mroderick/FailFast). All it took was tidying up the documentation and writing the last few missing unit tests.
Expand Down
Expand Up @@ -5,6 +5,8 @@ topics: javascript
idcomments_post_id: http://roderick.dk/blog/2010/10/12/introducing-pubsubjs-a-library-for-doing-publish-subscribe-in-javascript/
---

# Introducing PubSubJS, a Library for doing publish/subscribe in JavaScript

For quite a while, I have been working on a large web application for a client. For [publish/subscribe](http://en.wikipedia.org/wiki/Publish/subscribe) style messaging in the web frontend, we use jQuery custom events triggered on the body element. This is quite a neat trick to ensure loose coupling of modules, since you're really just tracking what the user does, and not what module happened to generate the message.

This approach has been introduced to my team by me, and I have been very eager to help my team mates understand how to use it.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2010-11-03-jquery-data-link-considered-harmful.md
Expand Up @@ -5,6 +5,8 @@ topics: javascript
idcomments_post_id: http://roderick.dk/blog/2010/11/03/jquery-data-link-considered-harmful/
---

# jQuery Data Link considered harmful

"Considered harmful" has always been good link bait.

I am not trying to start a flamewar, but merely express my concerns over the recent decisions of the jQuery team to actively endorse plugins that deserves no special treatment from any other plugins out there.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2011-07-10-code-retreat-berlin.md
Expand Up @@ -5,6 +5,8 @@ topics: javascript
idcomments_post_id: http://roderick.dk/blog/2011/07/10/code-retreat-berlin/
---

# Code Retreat Berlin

On Saturday 2011-07-09 I attended [Code Retreat Berlin](coderetreat-berlin.de/), these are my notes.

For those that have not been to or heard of code retreats, let me just quickly sketch out the concept. A code retreat is a place where programmers can practice their craft and improve their collaborative skills. Just like musicians need to practice, so do programmers.
Expand Down
2 changes: 2 additions & 0 deletions site/_posts/2011-12-27-blog-makeover.md
Expand Up @@ -3,6 +3,8 @@ title: Blog makeover
layout: post
---

# Blog makeover

Finally, I've gotten round to migrating my blog from [Webby](http://webby.rubyforge.org/) to [Jekyll](https://github.com/mojombo/jekyll). I guess it really is true that the shoemaker's children go barefoot.

There are a few reasons for my move away from Webby and into the open arms of Jekyll.
Expand Down
6 changes: 3 additions & 3 deletions site/index.html
Expand Up @@ -6,12 +6,12 @@

{% for post in site.posts limit:1 %}
<div class="post">
<h1><a href="{{ post.url }}" title="Permalink for this post">{{ post.title }}</a></h1>
<p class="post-date">Posted on {{ post.date | date: "%Y-%m-%d" }}</a></p>

<div class="post_content">
{{ post.content }}
</div>
<p>
<a href="{{ post.url }}" title="Permalink for this post">Permalink for this post</a>
</p>

{% unless post.disable_comments %}
<script>
Expand Down

0 comments on commit cf674eb

Please sign in to comment.