{{ .Title }}
-+
{{ .Title }}
+{{ if eq .Section "posts" }} {{ .Date.Format "2 January 2006" }} {{ end }} @@ -12,34 +12,20 @@ {{ if eq .Section "posts" }} {{ end }}
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bb680ee..884b2d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,8 +20,8 @@ pages:
- hugo
# Compress CSS
- - yui-compressor public/css/outerspace.css -o public/css/outerspace-min.css
- - mv -f public/css/outerspace-min.css public/css/outerspace.css
+ - yui-compressor public/css/style.css -o public/css/style-min.css
+ - mv -f public/css/style-min.css public/css/style.css
# Deploy
- rsync -az4 --stats --delete-after public/* ariejan@mail.devroom.io:/home/ariejan/www/devroom.io/
diff --git a/config.toml b/config.toml
index 5b6ac91..b3b3743 100644
--- a/config.toml
+++ b/config.toml
@@ -5,7 +5,7 @@ copyright = "Ariejan de Vroom"
PygmentsCodeFences = true
pygmentsuseclasses = false
-pygmentsstyle = "pastie"
+pygmentsstyle = "monokai"
[author]
name = "Ariejan de Vroom"
@@ -13,3 +13,5 @@ pygmentsstyle = "pastie"
[permalinks]
posts = "/:year/:month/:day/:slug/"
+[taxonomies]
+ category = "categories"
\ No newline at end of file
diff --git a/content/posts/2006-10-09-welcome-to-ariejannet.md b/content/posts/2006-10-09-welcome-to-ariejannet.md
index 61b9c3e..885a09d 100644
--- a/content/posts/2006-10-09-welcome-to-ariejannet.md
+++ b/content/posts/2006-10-09-welcome-to-ariejannet.md
@@ -3,6 +3,7 @@ date = "2006-10-09"
title = "Welcome to Ariejan.net"
tags = ["General", "Everything", "Wordpress", "Ariejan.net", "Blog"]
slug = "welcome-to-ariejannet"
+description = "A warm welcome to you, visitor"
+++
Well, it has happened to me. Although I make regular backups of my site, this time I was screwed!
diff --git a/content/posts/2006-10-10-easily-create-a-favicon-online.md b/content/posts/2006-10-10-easily-create-a-favicon-online.md
index 87b61ee..4fe9f83 100644
--- a/content/posts/2006-10-10-easily-create-a-favicon-online.md
+++ b/content/posts/2006-10-10-easily-create-a-favicon-online.md
@@ -3,6 +3,7 @@ date = "2006-10-10"
title = "Easily create a FavIcon online!"
tags = ["General", "Everything", "Blog", "Web Development", "Links", "Personal"]
slug = "easily-create-a-favicon-online"
+description = "How to use online services to generate your favicon
."
+++
You know those little icons you see in your browsers address bar? Yes, the ones in you bookmarks! Well, you want such an icon for your site?
diff --git a/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md b/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md
index c3f9e66..5d99b5d 100644
--- a/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md
+++ b/content/posts/2006-10-10-generate-a-sqlite-based-rails-app.md
@@ -3,6 +3,7 @@ date = "2006-10-10"
title = "Generate a SQlite-based Rails app"
tags = ["General", "Everything", "RubyOnRails", "Databases", "SQlite", "Features"]
slug = "generate-a-sqlite-based-rails-app"
+description = "How to generate a Rails app using sqlite."
+++
When you create a Rails application a database.yml files is included with some default configuration for your database. Unfortunately these are defaults for MySQL. If you want to use another database, like SQlite, you'd have to rewrite the entire configuration file. And that's not what you want!
diff --git a/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md b/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md
index d3175fc..a91f1f1 100644
--- a/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md
+++ b/content/posts/2006-10-10-hi-res-wallpapers-for-you-macbook.md
@@ -3,6 +3,7 @@ date = "2006-10-10"
title = "Hi-Res Wallpapers for your MacBook!"
tags = ["General", "Everything", "Blog", "Links", "Eye Candy", "MacBook", "Professional"]
slug = "hi-res-wallpapers-for-you-macbook"
+description = "Wallpapers Galore!"
+++
For all of you who have a flashy Apple MacBook (or any other device with a 1280x800 resolution) here's a nice site with lot's of hi-res wallpapers. Of course, they're all for free!
diff --git a/content/posts/2006-10-10-top-5-dvds-you-must-have.md b/content/posts/2006-10-10-top-5-dvds-you-must-have.md
index 783677d..30dd8e3 100644
--- a/content/posts/2006-10-10-top-5-dvds-you-must-have.md
+++ b/content/posts/2006-10-10-top-5-dvds-you-must-have.md
@@ -1,9 +1,10 @@
-+++
-date = "2006-10-10"
-title = "Top 5 DVDs you must have"
-tags = ["General", "Everything", "Blog", "Lists", "Movies", "DVD", "Coding"]
-slug = "top-5-dvds-you-must-have"
-+++
++++
+date = "2006-10-10"
+title = "Top 5 DVDs you must have"
+tags = ["General", "Everything", "Blog", "Lists", "Movies", "DVD", "Coding"]
+slug = "top-5-dvds-you-must-have"
+description = "Top 5 DVDs I love watching - 2006 edition."
++++
Everybody at this point in time at least owns one or more DVD - Digital Versatile Disk - Videos. Some people try to collect as many DVD's as possible, others just buy the ones they like (or can afford).
I'm not sure how many DVD's I have at this time, but there are quite a few DVD's that you just have to have in your collection.
@@ -47,5 +48,5 @@ If I have to tell you what Star Wars is about, you should not be allowed to have
Part one is really the best movie of all three. It's based on the original novel by Mario Puzo. However, parts two and three really complement the whole story and that's what makes this such a great trilogy.
-There are some very nice Trilogy DVD Boxes available. If you say you like movies, you cannot be taken seriously unless you have this trilogy in your collection.
-
+There are some very nice Trilogy DVD Boxes available. If you say you like movies, you cannot be taken seriously unless you have this trilogy in your collection.
+
diff --git a/content/posts/2006-10-13-google-ads-cant-click-em-but-you-want-to-know-more.md b/content/posts/2006-10-13-google-ads-cant-click-em-but-you-want-to-know-more.md
deleted file mode 100644
index 5481400..0000000
--- a/content/posts/2006-10-13-google-ads-cant-click-em-but-you-want-to-know-more.md
+++ /dev/null
@@ -1,12 +0,0 @@
-+++
-date = "2006-10-13"
-title = "Google Ads: Can’t click ‘em, but you want to know more!"
-tags = ["General", "Everything", "Blog", "Google", "AdSense", "Discussion"]
-slug = "google-ads-cant-click-em-but-you-want-to-know-more"
-+++
-
-Do you have Google Ads on your site? You know you are not allowed to click 'em, because that's fraude. But what do you do when you see an ad on your site that really grabs your attention? Just google? Enter the URL manually? Or are you the kind of person that clicks that ad anyway.
-
-What would you do? Please let me know.
-
-
diff --git a/content/posts/2006-10-13-having-fun-with-spam.md b/content/posts/2006-10-13-having-fun-with-spam.md
index 87b0322..11a6971 100644
--- a/content/posts/2006-10-13-having-fun-with-spam.md
+++ b/content/posts/2006-10-13-having-fun-with-spam.md
@@ -3,6 +3,7 @@ date = "2006-10-13"
title = "Having fun with SPAM!"
tags = ["General", "Everything", "Blog", "Fun"]
slug = "having-fun-with-spam"
+description = ""
+++
I was just wading through my SPAM at Gmail to see if it flagged anything important. Then I came across this message:
@@ -15,6 +16,4 @@ We will get your website (www.gmail.com) to the top positions on all major searc
Use our great value offer:
We will submit your website (www.gmail.com) to 890 Search Engines, including Google, Yahoo and MSN.
-Just keep an eye out for funny SPAM mails. Feel free to let me know if you ever read a funny or really stupid SPAM message.
-
-
+Just keep an eye out for funny SPAM mails. Feel free to let me know if you ever read a funny or really stupid SPAM message.
\ No newline at end of file
diff --git a/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md b/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md
index 5b6e52f..2a091fc 100644
--- a/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md
+++ b/content/posts/2006-10-13-migrate-sqlite3-to-mysql-easily.md
@@ -3,6 +3,7 @@ date = "2006-10-13"
title = "Migrate SQLite3 to MySQL easily"
tags = ["General", "Everything", "RubyOnRails", "Databases", "Features"]
slug = "migrate-sqlite3-to-mysql-easily"
+description = "Migrate your Sqlite3 database to MySQL the easy way"
+++
I've been using a simple Rails application locally with a SQlite 3 database for some time. Now I want to move to another host and use MySQL instead. But guess what? You can't just migrate your data!
diff --git a/content/posts/2006-10-13-tagging-in-ajax_scaffold.md b/content/posts/2006-10-13-tagging-in-ajax_scaffold.md
index 4cba283..9577425 100644
--- a/content/posts/2006-10-13-tagging-in-ajax_scaffold.md
+++ b/content/posts/2006-10-13-tagging-in-ajax_scaffold.md
@@ -3,6 +3,7 @@ date = "2006-10-13"
title = "Tagging in ajax_scaffold"
tags = ["General", "Everything", "Web Development", "RubyOnRails", "Features"]
slug = "tagging-in-ajax_scaffold"
+description = "How to add tagging to your AJAX Scaffolds in Rails."
+++
I've been using the Ajax Scaffold for quite some time now. It's a great piece of software by Mr. Richard White for Ruby on Rails. It seems that the plugin version of AS is getting quite a bit more attention than the generator. I started out with the generator but quickly reverted to the plugin since it's way more flexible and easier to use.
diff --git a/content/posts/2006-10-13-torrents-for-your-ipod.md b/content/posts/2006-10-13-torrents-for-your-ipod.md
deleted file mode 100644
index 2782ff0..0000000
--- a/content/posts/2006-10-13-torrents-for-your-ipod.md
+++ /dev/null
@@ -1,14 +0,0 @@
-+++
-date = "2006-10-13"
-title = "Torrents for your iPod!"
-tags = ["General", "Everything", "Blog", "Links", "Apple", "iPod"]
-slug = "torrents-for-your-ipod"
-+++
-
-I normally wouldn't promote torrent sites here, but when I came across Podtropolis I was amazed!
-
-This site features a lot of (video) iPod specific stuff like music videos, TV Shows and even full length movies.
-
-Of course, don't download any of the stuff! Buy it if you want it.
-
-
diff --git a/content/posts/2006-10-17-happy-birthday-to-me.md b/content/posts/2006-10-17-happy-birthday-to-me.md
deleted file mode 100644
index 3d7f6b7..0000000
--- a/content/posts/2006-10-17-happy-birthday-to-me.md
+++ /dev/null
@@ -1,11 +0,0 @@
-+++
-date = "2006-10-17"
-title = "Happy birthday to me!"
-tags = ["General", "Everything", "Ariejan.net", "Blog"]
-slug = "happy-birthday-to-me"
-+++
-
-Today I'm turning 26. Yes, call me an old fart, but I still feel like 25!
-
-Anyway, I'm off celebrating with my friends.
-
diff --git a/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md b/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md
index 579deac..9f2cc13 100644
--- a/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md
+++ b/content/posts/2006-10-23-ruby-on-rails-for-php-cakephp.md
@@ -3,6 +3,7 @@ date = "2006-10-23"
title = "Ruby On Rails for PHP: CakePHP"
tags = ["General", "Everything", "Blog", "Web Development", "RubyOnRails", "CakePHP"]
slug = "ruby-on-rails-for-php-cakephp"
+description = "Doing PHP but still want that Ruby on Rails goodness? Try CakePHP!"
+++
The framework has been around for some time, but I found out about it a few days ago: CakePHP.
diff --git a/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md b/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md
index dd85c87..78102ab 100644
--- a/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md
+++ b/content/posts/2006-10-29-do-your-ads-pay-your-blogging-bills.md
@@ -3,6 +3,7 @@ date = "2006-10-29"
title = "Do your ads pay your (blogging) bills?"
tags = ["General", "Everything", "Blog", "AdSense"]
slug = "do-your-ads-pay-your-blogging-bills"
+description = "Well, do they?"
+++
I've read many articles on earning money with Google's AdSense. Some guru's claim to recieve five figure checks from Google every month.
diff --git a/content/posts/2006-10-30-adsense-resource-inventory.md b/content/posts/2006-10-30-adsense-resource-inventory.md
index cd3419f..a06d5a7 100644
--- a/content/posts/2006-10-30-adsense-resource-inventory.md
+++ b/content/posts/2006-10-30-adsense-resource-inventory.md
@@ -3,6 +3,7 @@ date = "2006-10-30"
title = "Adsense Resource Inventory"
tags = ["General", "Everything", "Blog", "Links", "AdSense"]
slug = "adsense-resource-inventory"
+description = "Advertize with ariejan.net today!"
+++
In addition to my previous post I have gathered some popular resources from around the web that talk about making money off Google Adsense. I hope this sums up all you need to start making money yourself.
@@ -20,7 +21,7 @@ There are three things you need in order to make money off your site or blog.
This post is about the last part, Ads. I'll talk about getting visitors and creating content in a later post, so stay tuned!
-~
+
So, how to get those ads setup right so you generate the most revenue possible. It's not as easy as it sounds and mostly it's a trial-and-error process. But, there are some general guidelines that will help you get started.
I highly recommend you do NOT buy any software that claims to track Google Ads or create content or sites for you! If you need to track your ads, use Google Analytics, it's free. Content and site generators give you the same site and same content as others. Google knows all and they don't like copy-cats whos only goal is to make money.
diff --git a/content/posts/2006-10-30-cheat-sheets-look-here.md b/content/posts/2006-10-30-cheat-sheets-look-here.md
index 0b950e2..7439c8a 100644
--- a/content/posts/2006-10-30-cheat-sheets-look-here.md
+++ b/content/posts/2006-10-30-cheat-sheets-look-here.md
@@ -3,6 +3,7 @@ date = "2006-10-30"
title = "Cheat sheets? Look here!"
tags = ["General", "Everything", "Blog", "Links"]
slug = "cheat-sheets-look-here"
+description = "Over here! Cheatsheets for all kinds of stuff, including AJAX, CSS and Latex"
+++
Getting confused of all the tools you use on a daily basis? Don't remember all the exact method names and possibilities of SubVersion, Apache, HTML, CSS, MySQL, Ruby on Rails, CVS, AJAX, JavaScript, FireFox, Google, etc. etc.? There is a solution! Cheat sheets make your daily work easier by providing you all you need to know on a single paper!
diff --git a/content/posts/2006-10-30-confused-about-css-columns.md b/content/posts/2006-10-30-confused-about-css-columns.md
index a993313..57b9c11 100644
--- a/content/posts/2006-10-30-confused-about-css-columns.md
+++ b/content/posts/2006-10-30-confused-about-css-columns.md
@@ -3,6 +3,7 @@ date = "2006-10-30"
title = "Confused about CSS Columns?"
tags = ["General", "Everything", "Blog", "Web Development"]
slug = "confused-about-css-columns"
+description = "What is up with these CSS columsn?!"
+++
I'm mainly confused on how to make different layouts with pure CSS. Back in the time when tables were okay, it was rather easy. But with CSS it's gotten rather tricky.
diff --git a/content/posts/2006-10-30-how-does-your-site-look-on.md b/content/posts/2006-10-30-how-does-your-site-look-on.md
index c08858c..24b68c3 100644
--- a/content/posts/2006-10-30-how-does-your-site-look-on.md
+++ b/content/posts/2006-10-30-how-does-your-site-look-on.md
@@ -3,6 +3,7 @@ date = "2006-10-30"
title = "How does your site look on …?"
tags = ["General", "Everything", "Blog", "Web Development", "Links"]
slug = "how-does-your-site-look-on"
+description = "Not sure how your site will look on a given platform: here's a solution"
+++
When designing a web site you always check how the site looks in different browsers, even maybe at different resolutions. But how many browsers do you really use? Firefox, Safari when on Mac, Internet Explorer when on Windows and that's mostly it.
diff --git a/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md b/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md
index 1584c37..4e3c936 100644
--- a/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md
+++ b/content/posts/2006-10-31-wordpressmu-dont-allow-new-blogs.md
@@ -3,6 +3,7 @@ date = "2006-10-31"
title = "WordpressMu: Don’t allow new blogs"
tags = ["General", "Everything", "Features", "WordPressMu"]
slug = "wordpressmu-dont-allow-new-blogs"
+description = "How to fix this issue the easy way."
+++
If you're using WordpressMu, the blog hosting tool used on Wordpress.com, you may want to disable the creation of blogs by your visitors.
diff --git a/content/posts/2006-11-13-cups-426-upgrade-required.md b/content/posts/2006-11-13-cups-426-upgrade-required.md
index 9ccb961..3d3a58f 100644
--- a/content/posts/2006-11-13-cups-426-upgrade-required.md
+++ b/content/posts/2006-11-13-cups-426-upgrade-required.md
@@ -3,6 +3,7 @@ date = "2006-11-13"
title = "CUPS: 426 - Upgrade Required"
tags = ["General", "Everything", "Features", "Linux", "Ubuntu"]
slug = "cups-426-upgrade-required"
+description = "How to fix the 426 Upgrade Required
CUPS error."
+++
As I was installing my printer on my Ubuntu 6.06 Dapper LTS server with CUPS I noticed the following error:
diff --git a/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md b/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md
index 5cf0feb..dc588e3 100644
--- a/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md
+++ b/content/posts/2006-11-15-ubuntu-610-live-dvd-on-the-apple-macbook.md
@@ -3,6 +3,7 @@ date = "2006-11-15"
title = "Ubuntu 6.10 Live DVD on the Apple MacBook"
tags = ["General", "Everything", "Blog", "Linux", "Ubuntu"]
slug = "ubuntu-610-live-dvd-on-the-apple-macbook"
+description = "Sick of macOS? Why not run Ubuntu 6.10 on your MacBook?"
+++
Since I teach various Linux courses at Fontys Centrum IT, I want to run a live CD or DVD on my MacBook. First off, here are my specs:
diff --git a/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md b/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md
index ce52166..cab48b1 100644
--- a/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md
+++ b/content/posts/2006-11-17-announcing-cse-tool-deploy-you-google-cse-with-ease.md
@@ -3,6 +3,7 @@ date = "2006-11-17"
title = "Announcing CSE-Tool: Deploy you Google CSE with ease"
tags = ["General", "Everything", "Blog", "CSE-Tool"]
slug = "announcing-cse-tool-deploy-you-google-cse-with-ease"
+description = "CSE Tool - long since forgotten..."
+++
This is just a short note to let you know that CSE-Tool 1.0 has been released.
diff --git a/content/posts/2006-11-21-cse-tool-110-released.md b/content/posts/2006-11-21-cse-tool-110-released.md
index 953da1f..27a68c4 100644
--- a/content/posts/2006-11-21-cse-tool-110-released.md
+++ b/content/posts/2006-11-21-cse-tool-110-released.md
@@ -3,6 +3,7 @@ date = "2006-11-21"
title = "CSE-Tool 1.1.0 Released"
tags = ["General", "Everything", "Blog", "CSE-Tool"]
slug = "cse-tool-110-released"
+description = "Still gone."
+++
Hot of the press! CSE-Tool 1.1.0 has been released just a few minutes ago! Grab the code now or check a live demonstration!
diff --git a/content/posts/2006-11-21-svn-how-to-release-software-properly.md b/content/posts/2006-11-21-svn-how-to-release-software-properly.md
index f529101..28180fd 100644
--- a/content/posts/2006-11-21-svn-how-to-release-software-properly.md
+++ b/content/posts/2006-11-21-svn-how-to-release-software-properly.md
@@ -3,6 +3,7 @@ date = "2006-11-21"
title = "SVN: How to release software properly"
tags = ["General", "Everything", "Web Development", "Features", "Subversion"]
slug = "svn-how-to-release-software-properly"
+description = "How to use Subversion to manage your software releases."
+++
Many projects use SubVersion nowadays to store their project code. I do this also at work, and for my personal projects like CSE-Tool.
diff --git a/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md b/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md
index 302084c..c9ba1f1 100644
--- a/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md
+++ b/content/posts/2006-11-22-google-project-hosting-sourceforge-competitor.md
@@ -3,6 +3,7 @@ date = "2006-11-22"
title = "Google Project Hosting: SourceForge Competitor"
tags = ["General", "Everything", "Blog", "Web Development", "Links", "Google"]
slug = "google-project-hosting-sourceforge-competitor"
+description = "Google Projects - the SourceForge killer. Anno 2017 Google Projects has closed its doors itself."
+++
I just found out that Google Code is now offering Project Hosting! It's in the same style as SourceForge, but the Google way!
diff --git a/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md b/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md
index 09c57d9..eb99073 100644
--- a/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md
+++ b/content/posts/2006-11-22-svn-how-to-fix-bugs-properly.md
@@ -3,6 +3,7 @@ date = "2006-11-22"
title = "SVN: How to fix bugs properly"
tags = ["General", "Everything", "Web Development", "Features", "Subversion"]
slug = "svn-how-to-fix-bugs-properly"
+description = "A intuitive workflow for handling bugfixes on your Subversion codebase."
+++
I've already told you about releasing your project with help from Subversion. Now I want to talk to you about using Subversion to fix bugs in your application.
diff --git a/content/posts/2006-11-22-wordpress-author-comment-highlighting.md b/content/posts/2006-11-22-wordpress-author-comment-highlighting.md
index 3c35b5a..f8b3be2 100644
--- a/content/posts/2006-11-22-wordpress-author-comment-highlighting.md
+++ b/content/posts/2006-11-22-wordpress-author-comment-highlighting.md
@@ -3,6 +3,7 @@ date = "2006-11-22"
title = "WordPress: Author comment highlighting"
tags = ["General", "Everything", "Wordpress", "Web Development", "Features"]
slug = "wordpress-author-comment-highlighting"
+description = "How to highlight your own comments on Wordpress."
+++
I've seen it lots of times before, but I just added it to Ariejan.net (and the next release of the iAriejan theme). Sometimes there are lots of comments and it's nice for visitors to see what the official reaction of the blog author is.
diff --git a/content/posts/2006-11-24-svn-how-to-structure-your-repository.md b/content/posts/2006-11-24-svn-how-to-structure-your-repository.md
index a2241b1..dcaf42b 100644
--- a/content/posts/2006-11-24-svn-how-to-structure-your-repository.md
+++ b/content/posts/2006-11-24-svn-how-to-structure-your-repository.md
@@ -3,6 +3,7 @@ date = "2006-11-24"
title = "SVN: How to structure your repository"
tags = ["General", "Everything", "Features", "Subversion"]
slug = "svn-how-to-structure-your-repository"
+description = "How to structure your Subversion repo for best results."
+++
_You are reading an article about Subversion. That's great, because it
means you're thinking about the benefits of version control for your
diff --git a/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md b/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md
index 732b887..a71b991 100644
--- a/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md
+++ b/content/posts/2006-11-25-the-three-corner-stones-of-developerhood.md
@@ -3,6 +3,7 @@ date = "2006-11-25"
title = "The Three Corner Stones of Developerhood"
tags = ["General", "Everything", "Blog", "Web Development", "Lists"]
slug = "the-three-corner-stones-of-developerhood"
+description = "I'm still looking for a fourth cornerstone. Suggestions welcome."
+++
As a developer, there are just some things you can't do without. I have found that there are three things that I need. Really need. If one of them is missing, I have trouble doing my job properly.
diff --git a/content/posts/2006-11-30-rails-security-check-up.md b/content/posts/2006-11-30-rails-security-check-up.md
index 4837d05..f4a236e 100644
--- a/content/posts/2006-11-30-rails-security-check-up.md
+++ b/content/posts/2006-11-30-rails-security-check-up.md
@@ -3,6 +3,7 @@ date = "2006-11-30"
title = "Rails: Security Check-up"
tags = ["General", "Everything", "RubyOnRails", "Blogroll"]
slug = "rails-security-check-up"
+description = "Time to do a security check on your Rails app!"
+++
Is your Rails app secure? Really? Maybe you need to perform a major check-up of your Rails application to make sure.
diff --git a/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md b/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md
index d343464..847e5d1 100644
--- a/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md
+++ b/content/posts/2006-12-01-how-to-setup-a-ubuntu-development-server-part-1.md
@@ -3,6 +3,7 @@ date = "2006-12-01"
title = "How to setup a Ubuntu development server - Part 1"
tags = ["General", "Everything", "Web Development", "Features", "Ubuntu", "Subversion"]
slug = "how-to-setup-a-ubuntu-development-server-part-1"
+description = "Everything you need to start programming"
+++
Since I'm starting some real work on my final school project, I want to install a Ubuntu development server here at home. I have a Pentium 4 box here that will perform that task.
diff --git a/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md b/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md
index db09430..aa36ab6 100644
--- a/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md
+++ b/content/posts/2006-12-02-how-to-setup-a-ubuntu-development-server-part-2.md
@@ -3,6 +3,7 @@ date = "2006-12-02"
title = "How to setup a Ubuntu development server - Part 2"
tags = ["General", "Everything", "Web Development", "Features", "Ubuntu"]
slug = "how-to-setup-a-ubuntu-development-server-part-2"
+description = "Everything you need to start programming - and more!"
+++
Also read Part 1 - Subversion.
diff --git a/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md b/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md
index d04c5ea..f52034f 100644
--- a/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md
+++ b/content/posts/2006-12-03-installing-rails-on-ubuntu-dapper-edgy.md
@@ -3,6 +3,7 @@ date = "2006-12-03"
title = "Installing Rails on Ubuntu Dapper / Edgy"
tags = ["General", "Everything", "RubyOnRails", "Features"]
slug = "installing-rails-on-ubuntu-dapper-edgy"
+description = "How to install Ruby on Rails on your Ubuntu server"
+++
Update 2010-03-25: Bumped to RubyGems version 1.3.6.
diff --git a/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md b/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md
index 5fd5376..add0de1 100644
--- a/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md
+++ b/content/posts/2006-12-06-install-ruby-mysql-on-mac-os-x-104-tiger.md
@@ -3,6 +3,7 @@ date = "2006-12-06"
title = "Install ruby-mysql on Mac OS X 10.4 Tiger"
tags = ["General", "Everything", "RubyOnRails", "Features", "Mac OS X"]
slug = "install-ruby-mysql-on-mac-os-x-104-tiger"
+description = "Install MySQL on macOS 10.4 Tiger in just a few easy steps"
+++
You probably know that the built-in mysql code in Rails sucks. To rephrase that, the ruby-mysql gem contains better code, so you want that. Rails automatically detects if you have ruby-mysql installed or not, and uses it if you have it.
diff --git a/content/posts/2006-12-11-announcing-subversion-kick-start.md b/content/posts/2006-12-11-announcing-subversion-kick-start.md
deleted file mode 100644
index 74f958e..0000000
--- a/content/posts/2006-12-11-announcing-subversion-kick-start.md
+++ /dev/null
@@ -1,18 +0,0 @@
-+++
-date = "2006-12-11"
-title = "Announcing “Subversion Kick-Start”"
-tags = ["General", "Everything", "Blog", "Subversion", "kickstart"]
-slug = "announcing-subversion-kick-start"
-+++
-
-With this post I officially announce my first book, "Subversion Kick-Start".
-
-Subversion is a popular version control system that's used by many, many developers around the globe. Most developers know how to find their way around Subversion, but quite a lot do not.
-
-SKS is for every software engineer who wants to learn how to put Subverstion to real use for their projects. It's more than just storing code. It's about structuring the way you write code. It's about optimizing the way you work.
-
-Subversion Kick-Start is aimed at getting you and Subversion up and running as quickly as possible with the minimal amount of effort required.
-
-Please subscribe to my feed newsletter or RSS feed and stay up-to-date! You'll be the first to know when the book is available.
-
-
diff --git a/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md b/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md
index e469b02..e1dc61b 100644
--- a/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md
+++ b/content/posts/2006-12-13-show-the-current-svn-revision-in-your-rails-app.md
@@ -3,6 +3,7 @@ date = "2006-12-13"
title = "Show the current SVN revision in your Rails app"
tags = ["General", "Everything", "RubyOnRails", "Features", "Subversion", "Capistrano"]
slug = "show-the-current-svn-revision-in-your-rails-app"
+description = "This will show you how to publish the currently deployed Subversion revision in your Rails app"
+++
I'm current developing a Rails application. I deploy this application to a demonstration server using capistrano.
diff --git a/content/posts/2006-12-20-svn-how-often-should-you-commit.md b/content/posts/2006-12-20-svn-how-often-should-you-commit.md
index ebace0f..5598aff 100644
--- a/content/posts/2006-12-20-svn-how-often-should-you-commit.md
+++ b/content/posts/2006-12-20-svn-how-often-should-you-commit.md
@@ -3,6 +3,7 @@ date = "2006-12-20"
title = "SVN: How often should you commit?"
tags = ["General", "Everything", "Features", "Subversion"]
slug = "svn-how-often-should-you-commit"
+description = "Is there an optimal timeframe for committing? "
+++
I often hear discussion about how often developers should commit their work to the central repository. Some say that you should only commit when you're next 'release' is ready. Others say that you should commit every change you make in your code. There are even people who say you should commit your changes only at the end of the day.
diff --git a/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md b/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md
index 1288f5e..64583bc 100644
--- a/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md
+++ b/content/posts/2006-12-20-svn-merge-a-branch-with-your-trunk.md
@@ -3,6 +3,7 @@ date = "2006-12-20"
title = "SVN: Merge a branch with your trunk"
tags = ["General", "Everything", "Features", "Subversion"]
slug = "svn-merge-a-branch-with-your-trunk"
+description = "How to successfully merge an SVN Branch with trunk."
+++
When created a TRY-branch a few days back to try some fancy new AJAX technology in my application. Not problems there, so now I want to merge the code in the branch with my trunk.
@@ -10,7 +11,6 @@ When created a TRY-branch a few days back to try some fancy new AJAX technology
Since I'm a lone hacker, the trunk has not been touched since I created the branch. I have a checked-out working copy of the branch available.
Here's a handy-dandy guide on how to merge your branch code with your trunk.
-
Firstly, make sure you have a working copy of your trunk. I choose to switch my working copy back: (oh, make sure you have all your changes checked in in your branch before you switch!)
diff --git a/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md b/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md
index ab15098..757fc0c 100644
--- a/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md
+++ b/content/posts/2006-12-22-textmaterails-easy-partials-for-better-code.md
@@ -3,6 +3,7 @@ date = "2006-12-22"
title = "Textmate+Rails: Easy partials for better code"
tags = ["General", "Everything", "RubyOnRails", "Features", "Textmate"]
slug = "textmaterails-easy-partials-for-better-code"
+description = "Textmate + Rails is an awesome combination"
+++
As you may know, I use TextMate for editing Rails code.
diff --git a/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md b/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md
index e3c51cb..0af95e1 100644
--- a/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md
+++ b/content/posts/2007-01-12-rails-group-results-by-week-using-group_by.md
@@ -3,6 +3,7 @@ date = "2007-01-12"
title = "Rails: Group results by week (using group_by)"
tags = ["General", "Everything", "RubyOnRails", "Features"]
slug = "rails-group-results-by-week-using-group_by"
+description = "How to group ActiveRecod results, for instance by week"
+++
The Enumerable class in Rails contains a method named 'group_by'. This method is pure magic for a developer's point of view. I'll give you a simple example that shows the power of group_by.
diff --git a/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md b/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md
index d8ca315..1b8b654 100644
--- a/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md
+++ b/content/posts/2007-01-19-print-this-page-with-ruby-on-rails.md
@@ -3,6 +3,7 @@ date = "2007-01-19"
title = "“Print this page” with Ruby on Rails"
tags = ["General", "Everything", "RubyOnRails", "Features"]
slug = "print-this-page-with-ruby-on-rails"
+description = "How to add a print-this-page link in your Rails app"
+++
You have put a lot of effort into creating a sexy overview of whatever data your application stores and allow your users to manipulate that data through AJAX controls. But, some people just want to print their data.
diff --git a/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md b/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md
index 958587e..ad17376 100644
--- a/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md
+++ b/content/posts/2007-01-19-why-ruby-rocks-convince-your-fellow-developers.md
@@ -3,6 +3,7 @@ date = "2007-01-19"
title = "Why Ruby Rocks - Convince your fellow developers"
tags = ["General", "Everything", "Blog", "Ruby"]
slug = "why-ruby-rocks-convince-your-fellow-developers"
+description = "Did you convince your co-workers yet to start using Ruby on Rails?"
+++
I often hear questions from my Java and PHP oriented friends about what makes Ruby so great and easy to use. Until today I've shown them some of my Rails feats (AJAX Scaffold always amazes people). Now, I came across this 20 minute Ruby introduction. Starting with the basic "Hello World" item, this article show step by step improvements to end up with blocks, objects and all that makes Ruby really worth while.
diff --git a/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md b/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md
index 3fcb297..0cb7456 100644
--- a/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md
+++ b/content/posts/2007-01-23-new-in-rails-resource-scaffold-generator.md
@@ -3,6 +3,7 @@ date = "2007-01-23"
title = "New in Rails: Resource Scaffold Generator"
tags = ["General", "RubyOnRails", "Features"]
slug = "new-in-rails-resource-scaffold-generator"
+description = "How to use this fancy new scaffold generator!"
+++
Oh boy! Rails 1.2 is all about resources. A product entry in your application is not just a rendered HTML page, but it "is" data. Rails 1.2 allows you to add a .xml extension to your url to retrieve the same product information in XML format!
diff --git a/content/posts/2007-01-23-rails-nested-resource-scaffold.md b/content/posts/2007-01-23-rails-nested-resource-scaffold.md
index e41d298..93c2579 100644
--- a/content/posts/2007-01-23-rails-nested-resource-scaffold.md
+++ b/content/posts/2007-01-23-rails-nested-resource-scaffold.md
@@ -3,6 +3,7 @@ date = "2007-01-23"
title = "Rails: Nested resource scaffold"
tags = ["General", "Everything", "Features"]
slug = "rails-nested-resource-scaffold"
+description = "Nested resources with Rails' scaffolds"
+++
In my previous post I told you about the resource scaffold. What you'll be doing a lot is nesting these resources. Ingredients in recipes, comments on posts, options for products. You name it, you nest it!
diff --git a/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md b/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md
index 63e7298..637f1e1 100644
--- a/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md
+++ b/content/posts/2007-01-23-updates-wordpress-21-themes-and-social.md
@@ -3,6 +3,7 @@ date = "2007-01-23"
title = "Updates: Wordpress 2.1, Themes and Social"
tags = ["General", "Everything", "Wordpress", "Ariejan.net", "Blog"]
slug = "updates-wordpress-21-themes-and-social"
+description = "Yay for me for updating wordpress!"
+++
You can't really see it, but Ariejan.net has been upgraded to Wordpress 2.1. I've been running 2.1 beta's on a private server for some time now, so there weren't any surprises during the upgrade.
diff --git a/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md b/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md
index 332c06b..06cae64 100644
--- a/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md
+++ b/content/posts/2007-01-28-ruby-sort-an-array-of-objects-by-an-attribute.md
@@ -3,20 +3,27 @@ date = "2007-01-28"
title = "Ruby: Sort an array of objects by an attribute"
tags = ["General", "Features", "Ruby"]
slug = "ruby-sort-an-array-of-objects-by-an-attribute"
+description = "How to sort an array of Ruby objects"
+++
In this example I'll show you how easy it is to sort an array of (the same kind of) objects by an attribute. Let's say you have an array of User objects that have the attributes 'name' and 'login_count'. First, find all users.
- @users = User.find(:all)
+``` ruby
+@users = User.find(:all)
+```
Now, we have to sort this array by 'name'. Since we don't know if any user used capitals in his name or not, we use 'downcase' to sort without case sensitivity.
A small not. 'sort' returns a new array and leaves the original unchanged. You may want to just reorder the @users array, so use the 'sort!' method. The '!' indicates it's a destructive method. It will overwrite the current @users array with the new sorting.
- @users.sort! { |a,b| a.name.downcase <=> b.name.downcase }
+``` ruby
+@users.sort! { |a,b| a.name.downcase <=> b.name.downcase }
+```
That's all! Since strings are comparable, this will sort you user objects alphabetically by name. Want to sort on login_count instead?
- @users.sort! { |a,b| a.login_count <=> b.login_count }
+``` ruby
+@users.sort! { |a,b| a.login_count <=> b.login_count }
+```
So, now you can easily sort any object in an array just like you want it too!
diff --git a/content/posts/2007-02-09-my-photos-on-flickr.md b/content/posts/2007-02-09-my-photos-on-flickr.md
deleted file mode 100644
index 9995b73..0000000
--- a/content/posts/2007-02-09-my-photos-on-flickr.md
+++ /dev/null
@@ -1,26 +0,0 @@
-+++
-date = "2007-02-09"
-title = "My photo’s on Flickr"
-tags = ["General", "Everything", "Blog"]
-slug = "my-photos-on-flickr"
-+++
-
-
-
-
- In an idle moment I decided to up all my photo's to Flickr. Normally I burn my photo's to disk or zip them up on an external harddisk. But then, I never look at them again and there a few nice pictures there.
-
-Feel free to check out my photo's now. Oh, keep track of more new stuff there. I'm planning on making some very nice pictures this weekend.
-
- My new hobby is photography, if you didn't know already. Today I was strolling the park and I took this picture. Actually, I took three pictures and created a HDR (High Dynamic Range) image of them.
-
-Hope you enjoy the view and let me know if you want more information on this subjejct!
-
@users.collect{|u| u.name}.join(', ')
+
Read more Tip Snippets?
diff --git a/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md b/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md
index 24a19ed..2c009e6 100644
--- a/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md
+++ b/content/posts/2007-03-27-subversion-how-to-revert-to-a-previous-revision.md
@@ -3,7 +3,9 @@ date = "2007-03-27"
title = "Subversion: How to revert to a previous revision"
tags = ["General", "Features", "Subversion"]
slug = "subversion-how-to-revert-to-a-previous-revision"
+description = "Painless reverts to a previous revision"
+++
+
You've been there. You have been developing in your trunk for a while and at revision 127 you get the feeling you've done it all wrong! The production server is humming away at revision 123 and that's where you want to start out again. But how can you start again from revision 123? Easy as this with Subversion:
``` shell
diff --git a/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md b/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md
index 67784f1..e4b6d6f 100644
--- a/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md
+++ b/content/posts/2007-03-29-5-reasons-why-pc-oems-should-offer-linux.md
@@ -3,6 +3,7 @@ date = "2007-03-29"
title = "5 Reasons why PC OEMs should offer Linux"
tags = ["General", "Blog", "Linux", "Opinion"]
slug = "5-reasons-why-pc-oems-should-offer-linux"
+description = "Linux is superior. Right?"
+++
DELL currently offers Linux as an option for certain laptop and desktop models. Talk is that this service may be expanded to all models. This is a good thing, of course. Results of a recent survey by DELL show that more than 70% of over 100.000 respondents want to use Linux for home and office! What has been keeping companies like DELL away from this?
diff --git a/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md b/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md
index a3fe464..2d929be 100644
--- a/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md
+++ b/content/posts/2007-04-02-what-do-you-want-for-autoflickr.md
@@ -3,6 +3,7 @@ date = "2007-04-02"
title = "What do you want for AutoFlickr?"
tags = ["General", "Blog", "AutoFlickr"]
slug = "what-do-you-want-for-autoflickr"
+description = "Just a quick poll."
+++
Almost a month ago I published my WordPress plugin AutoFlickr, which shows one or more related photos from the popular Flickr site in your post.
diff --git a/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md b/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md
index 2a2b2e0..6819744 100644
--- a/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md
+++ b/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md
@@ -3,6 +3,7 @@ date = "2007-04-03"
title = "TipSnippet: Create a RSS feed"
tags = ["General", "RubyOnRails", "Features", "TipSnippets"]
slug = "tipsnippet-create-a-rss-feed"
+description = "With just a few lines of code you can create an RSS feed in Rails."
+++
RSS is hot! So, you want to fit your new Rails app with one too! That's easy, of course, but you just need to know what to do.
diff --git a/content/posts/2007-04-12-rails-resources-and-permalinks.md b/content/posts/2007-04-12-rails-resources-and-permalinks.md
index 0550235..4ddb6e8 100644
--- a/content/posts/2007-04-12-rails-resources-and-permalinks.md
+++ b/content/posts/2007-04-12-rails-resources-and-permalinks.md
@@ -3,6 +3,7 @@ date = "2007-04-12"
title = "Rails, Resources and Permalinks"
tags = ["General", "RubyOnRails", "Features"]
slug = "rails-resources-and-permalinks"
+description = "How to add permalinks to your resources."
+++
There has been quite a bit of discussion about creating permalinks with a rails resource. In this article I will show you how to create permalinks for a resource named 'pages' without giving up on any of the resource goodness!
diff --git a/content/posts/2007-04-29-ariejannet-server-move.md b/content/posts/2007-04-29-ariejannet-server-move.md
index 545a79c..17d461e 100644
--- a/content/posts/2007-04-29-ariejannet-server-move.md
+++ b/content/posts/2007-04-29-ariejannet-server-move.md
@@ -3,6 +3,7 @@ date = "2007-04-29"
title = "Ariejan.net server move"
tags = ["General", "Ariejan.net", "Blog"]
slug = "ariejannet-server-move"
+description = "I like to move it!"
+++
Just a note to let you know that Ariejan.net has just been moved to a new server! Well, I've moved from shared hosting with Delta9 Internet to a VPS solution.
diff --git a/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md b/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md
index 0b5dec3..b56db2c 100644
--- a/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md
+++ b/content/posts/2007-05-09-rails-snippet-write-like-orwell-with-to_sentence.md
@@ -3,16 +3,24 @@ date = "2007-05-09"
title = "Rails Snippet: Write like Orwell with to_sentence"
tags = ["General", "RubyOnRails", "Features"]
slug = "rails-snippet-write-like-orwell-with-to_sentence"
+description = "Create sentences from your Ruby arrays quick and easy."
+++
A few weeks ago I posted an article that explained how to create a comma separated list from a hash of objects. When I was browsing the Rails API documentation I came across a method named to_sentence.
What this little bugger does is create a human readable, comma separated list of items in an array or hash. But the big difference here is that you can specify what the last separator must be. By default this is set to 'and'. See the following example.
-@users = User.find(:all)
-@users.collect {|u| u.firstname}.to_sentence
-=> "Tom, Dick, and Harry"
-Of you course, you can specify the last separator, called the connector. Also it's possible to not show the last comma.
-@users.collect {|u| u.firstname}.to_sentence(:connector => "and of course,", :skip_last_comma => true)
-=> "tom, Dick and of course, Harry"
-I bet this will greatly simplify the way you list names, tags, categories or whatever else you want summed up in a comma separated list with a human touch.
+``` ruby
+@users = User.find(:all)
+@users.collect {|u| u.firstname}.to_sentence
+=> "Tom, Dick, and Harry"
+```
+
+Of you course, you can specify the last separator, called the connector. Also it's possible to not show the last comma.
+
+``` ruby
+@users.collect {|u| u.firstname}.to_sentence(:connector => "and of course,", :skip_last_comma => true)
+=> "tom, Dick and of course, Harry"
+```
+
+I bet this will greatly simplify the way you list names, tags, categories or whatever else you want summed up in a comma separated list with a human touch.
\ No newline at end of file
diff --git a/content/posts/2007-05-18-feedburner-acquired-by-google.md b/content/posts/2007-05-18-feedburner-acquired-by-google.md
index 7412628..0ae7e4e 100644
--- a/content/posts/2007-05-18-feedburner-acquired-by-google.md
+++ b/content/posts/2007-05-18-feedburner-acquired-by-google.md
@@ -3,6 +3,7 @@ date = "2007-05-18"
title = "FeedBurner acquired by Google!"
tags = ["General", "Blog", "Google"]
slug = "feedburner-acquired-by-google"
+description = "Right. So, my RSS feed moved."
+++
It looks like Google is about to acquire FeedBurner. Just a note to all of you to let you know. If you have a blog or RSS enabled website, burn your feed now and get your AdSense account ready! Soon you'll be able to put targeted ads in your RSS feed and add another source of income to your list! Great news!
diff --git a/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md b/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md
index 3d17a9e..909a4fd 100644
--- a/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md
+++ b/content/posts/2007-05-21-merge-request-failed-on-pathtofile.md
@@ -3,11 +3,14 @@ date = "2007-05-21"
title = "MERGE request failed on ‘/path/to/file’"
tags = ["General", "Features", "Subversion", "Trac"]
slug = "merge-request-failed-on-pathtofile"
+description = "How to fix this annoying Subversion problem."
+++
After upgrading my Subversion server to Ubuntu Feisty, I noticed that when committing I got the following error:
+
svn: MERGE request failed on '/svn/repository/trunk'
svn: MERGE of '/svn/repository/trunk': 200 OK (http://svn.myserver.com)
+
Although the messages says that the commit failed, it has not. A simple 'svn update' will merge the changes you made to the repository to your working copy again and you're good to go.
So, what is the problem here? Are you by any chance running Trac? Did you install the post-commit hook to integrate Subversion with Trac? Right, so did I.
diff --git a/content/posts/2007-05-28-bat-ter-y.md b/content/posts/2007-05-28-bat-ter-y.md
index 43976d7..5cd4145 100644
--- a/content/posts/2007-05-28-bat-ter-y.md
+++ b/content/posts/2007-05-28-bat-ter-y.md
@@ -3,6 +3,7 @@ date = "2007-05-28"
title = "BAT - TER - Y"
tags = ["General", "Blog", "Fun"]
slug = "bat-ter-y"
+description = "BATTERY!"
+++
You all know the word: "Battery". Like most words, it has several meanings. This site greatly explains the meaning of the word battery, and adds a little lyric-sugar to it!
@@ -10,4 +11,3 @@ You all know the word: "Battery". Like most words, it has several meani
Come on boys and girls! Sing along to BAT • TER • Y.
(Please digg the site or post a link to it. Thanks!)
-
diff --git a/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md b/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md
index 3dd98b8..e11ba9a 100644
--- a/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md
+++ b/content/posts/2007-05-29-installing-rmagick-ruby-gem-on-mac-os-x-1049.md
@@ -3,6 +3,7 @@ date = "2007-05-29"
title = "Installing RMagick Ruby Gem on Mac OS X 10.4.9"
tags = ["General", "RubyOnRails", "Features", "Mac OS X", "Ruby"]
slug = "installing-rmagick-ruby-gem-on-mac-os-x-1049"
+description = "RMagic - it's a pain to install it correctly. Here's how."
+++
When you want to manipulate images with Ruby (or your Rails application) you'll probably want RMagick installed. This is no easy feat on Mac OS X.
diff --git a/content/posts/2007-05-29-slow-connections-with-proftpd.md b/content/posts/2007-05-29-slow-connections-with-proftpd.md
index a40fe5d..6ed7f90 100644
--- a/content/posts/2007-05-29-slow-connections-with-proftpd.md
+++ b/content/posts/2007-05-29-slow-connections-with-proftpd.md
@@ -3,6 +3,7 @@ date = "2007-05-29"
title = "Slow connections with ProFTPD"
tags = ["General", "Features", "Linux", "Ubuntu"]
slug = "slow-connections-with-proftpd"
+description = "ProFTPd was acting up and slow to connect? Here's the fix!"
+++
My shiny new VPS, which is running Ubuntu Linux, uses ProFTPD for FTP access. Today I noticed that setting up the connection takes about 5 to 10 seconds. This is really annoying when editing files through FTP.
@@ -10,6 +11,7 @@ My shiny new VPS, which is running Ubuntu Linux, uses ProFTPD for FTP access. To
So, I investigated and found that by default ProFTPD tries to revolve the hostname of the client in order to put that in the logs instead of a plain IP address. This lookup can take quite some time, let's say 5 to 10 seconds, especially when the look up fails and you have to wait on a time-out.
It's easy to stop ProFTPD from behaving like this by adding the following line to your proftpd.conf in /etc/proftpd:
-IdentLookups off
-Restart ProFTPD and you'll have a fast FTP connection to enjoy!
+IdentLookups off
+
+Restart ProFTPD and you'll have a fast FTP connection to enjoy!
\ No newline at end of file
diff --git a/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md b/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md
index 31c9ebd..8189877 100644
--- a/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md
+++ b/content/posts/2007-05-30-trac-webadmin-plugin-and-global-configuration.md
@@ -3,6 +3,7 @@ date = "2007-05-30"
title = "Trac, WebAdmin plugin and global configuration"
tags = ["General", "Features", "Linux", "Ubuntu", "Trac"]
slug = "trac-webadmin-plugin-and-global-configuration"
+description = "A nice plugin for a nice tool. Trac Webadmin"
+++
As you may know I manage quite a few trac installations. A few days ago I upgrade my server from Ubuntu "Dapper Drake" 6.06 to Ubuntu "Feisty Fawn" 7.04. This also upgrade trac 0.9.x to 0.10.3.
diff --git a/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md b/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md
index 67986ec..db7bfbf 100644
--- a/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md
+++ b/content/posts/2007-06-07-coming-up-ubuntu-development-server-guide.md
@@ -3,6 +3,7 @@ date = "2007-06-07"
title = "Coming up: Ubuntu Development Server Guide"
tags = ["General", "Blog", "Web Development", "Linux", "Ubuntu", "Subversion"]
slug = "coming-up-ubuntu-development-server-guide"
+description = "I'm going to write a blog post soon!"
+++
My articles about setting up a Ubuntu Development Server (part 1 and part 2) have been very successful.
diff --git a/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md b/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md
index 37ca11e..622d90b 100644
--- a/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md
+++ b/content/posts/2007-06-10-find-and-replace-with-a-mysql-query.md
@@ -3,6 +3,7 @@ date = "2007-06-10"
title = "Find and Replace with a MySQL Query"
tags = ["General", "Databases", "Features", "MySQL"]
slug = "find-and-replace-with-a-mysql-query"
+description = "Search and Dest^H^H^H^H Replace"
+++
There are times when you have a lot of data in a database (let's say wp_posts for a Wordpress blog like Ariejan.net). When you need to find and replace certain strings, this can be a very tedious task. Find all posts containing the "needle" string and manually replace all these occurrences with "chocolate". With about 200 posts, you can imagine how long this would take to do manually.
diff --git a/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md b/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md
index e7e6c6a..429e7ac 100644
--- a/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md
+++ b/content/posts/2007-06-10-send-mail-with-a-bash-shell-script.md
@@ -3,13 +3,15 @@ date = "2007-06-10"
title = "Send mail with a BASH Shell Script"
tags = ["General", "Features", "BASH", "Shell Scripts"]
slug = "send-mail-with-a-bash-shell-script"
+description = "Easy way to use Bash to send out emails"
+++
Like any good programmer, I try to automate the crap out of everything. If you have to do it more than once, I try to write a script for it.
This time I want to show you how you can easily send an e-mail from a BASH script. The idea is that you want the script to send out an email to notify a user that something has happened.
-
+
We're going to use the GNU Mail utility here. The basic syntax to send an email is like this:
+
/usr/bin/mail -s "Subject" someone@example.org < message.txt
The trick when using this in a shell script is creating and using the message.txt file correctly.
@@ -20,7 +22,9 @@ TO="alarms@ariejan.net"
MESSAGE="/tmp/message.txt"
/usr/bin/mail -s "$SUBJECT" "$TO" < $MESSAGE
+
All we need to do now is create the message. In this example we're going to notify the receiver that something happened at a certain time. We can use the append (>>) operator to add text to the message file. Afterwards, we must remove the temporary message file, of course. The complete script now becomes:
+
#!/bin/bash
SUBJECT="Automated Security Alert"
TO="alarms@ariejan.net"
@@ -32,6 +36,7 @@ echo "Time: `date`" >> $MESSAGE
/usr/bin/mail -s "$SUBJECT" "$TO" < $MESSAGE
rm $MESSAGE
+
The email will contain the a timestamp from when the mail was sent.
This method is great for letting an administrator now if something happened. Maybe you need to check if your webserver is up and running. This script can an administrator about the issue.
diff --git a/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md b/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md
index 1d329ac..24cf9cd 100644
--- a/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md
+++ b/content/posts/2007-06-10-ultimate-list-of-ruby-resources.md
@@ -3,6 +3,7 @@ date = "2007-06-10"
title = "Ultimate List of Ruby Resources"
tags = ["General", "Web Development", "RubyOnRails", "Features", "Lists", "Ruby"]
slug = "ultimate-list-of-ruby-resources"
+description = "The ultimate list. No list is better than this one."
+++
This is the first post, named "Ruby", in a series of "Ultimate List of ... Resources". I'm going to compose several lists for different topics I encounter during my development work. To start, I begin with Ruby. Later, I will add "Ultimate Lists" about Ruby on Rails, Subversion, AJAX and some other topics.
diff --git a/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md b/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md
index fb10a45..f5f2f7c 100644
--- a/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md
+++ b/content/posts/2007-06-11-activescaffold-acts_as_taggable_on_steroids.md
@@ -3,6 +3,7 @@ date = "2007-06-11"
title = "ActiveScaffold, Acts_as_taggable_on_steroids"
tags = ["General", "RubyOnRails", "Features", "ActiveScaffold"]
slug = "activescaffold-acts_as_taggable_on_steroids"
+description = "How to combine ActiveScaffold and ActsAsTaggableOnSteroids"
+++
Update: also read Active Scaffold + Acts_as_taggable + Auto Completion.
diff --git a/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md b/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md
index 1ec34d2..2a622ca 100644
--- a/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md
+++ b/content/posts/2007-06-12-bash-your-svn-and-trac-installation.md
@@ -3,6 +3,7 @@ date = "2007-06-12"
title = "BASH your SVN and Trac installation!"
tags = ["General", "Features", "BASH"]
slug = "bash-your-svn-and-trac-installation"
+description = "Quick bash script to setup your Subversion and Track install"
+++
I've already discussed how to install Subversion and Trac on your Ubuntu server. In my case I have a server that manages different SVN and Trac installations for a group of developers.
diff --git a/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md b/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md
index 04d674f..b76afc0 100644
--- a/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md
+++ b/content/posts/2007-06-14-buy-it-now-mac-os-x-105-leopard.md
@@ -3,6 +3,7 @@ date = "2007-06-14"
title = "Buy it now! Mac OS X 10.5 Leopard"
tags = ["General", "Blog", "Mac OS X"]
slug = "buy-it-now-mac-os-x-105-leopard"
+description = "Yay for Leopards!"
+++
It appears that Amazon is accepting pre-orders for Apple Mac OS X Version 10.5 Leopard, which is scheduled for release in October 2007.
diff --git a/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md b/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md
index b957642..ad3c902 100644
--- a/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md
+++ b/content/posts/2007-06-19-geslaagd-passed-my-final-exams.md
@@ -3,6 +3,7 @@ date = "2007-06-19"
title = "Geslaagd! / Passed my final exams!"
tags = ["General", "Ariejan.net", "Blog"]
slug = "geslaagd-passed-my-final-exams"
+description = "Party time!"
+++
Please scroll down for the English version.
@@ -10,26 +11,31 @@ slug = "geslaagd-passed-my-final-exams"
Bij wijze van hoge uitzondering, een post in het Nederlands op mijn weblog! Ik ben vandaag geslaagd voor mijn opleiding Hogere Informatica (aan Fontys Hogeschool ICT, Eindhoven) en mag mezelf nu gediplomeerd Software Engineer noemen!
Ik ben op drie punten beoordeeld:
+
<% content_for :sidebar do %>
This goes into the sidebar when viewing this action!
<% end %>
-
+
It doesn't matter where you put it in the view, because, as you may notice, the content within the content_for block is not shown in the view. The layout can pull the content for :sidebar and show it in a custom place, mostly the sidebar:
+
<%= yield :sidebar %>
+
Nice, you now don't have to hard-code the sidebar (and it's layout elements) in your views everytime. You can even move the sidebar to another place, without breaking any of your views. How great is that?
What does break your views, however, is not assigning anything to :sidebar. If you don't assign anything to the :sidebar, nothing will be shown, which might break your layout. (Empty div's tend to do that.)
So, how can you solve this? Quite easily, actually. What you want, probably, is display a default sidebar when no custom sidebar has been assigned. you can do this with the following line of über sexy Ruby code:
+
<%= (sidebar = yield :sidebar) ? sidebar : render(:partial => 'shared/sidebar') %>
+
First, you grab the :sidebar content and stuff it into a variable named, you guessed it, 'sidebar'. If this sidebar containts anything, show it. If it doesn't, you render a partial in the app/views/shared directory named _sidebar.rhtml.
Well, there you are. Go enjoy yourself now.
diff --git a/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md b/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md
index 280c9e8..4a58827 100644
--- a/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md
+++ b/content/posts/2007-09-11-10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck.md
@@ -3,6 +3,7 @@ date = "2007-09-11"
title = "10 reasons why Microsoft's 10 reasons not to use Google Apps suck"
tags = ["General", "Blog", "Google", "Discussion"]
slug = "10-reasons-why-microsofts-10-reasons-not-to-use-google-apps-suck"
+description = "This post has gone meta."
+++
You may have already read the 10 reasons why Microsoft thinks the enterprise should not use Google Apps. Well, here's my response:
diff --git a/content/posts/2007-09-17-railsconf-europe-2007.md b/content/posts/2007-09-17-railsconf-europe-2007.md
index 862401b..50925fb 100644
--- a/content/posts/2007-09-17-railsconf-europe-2007.md
+++ b/content/posts/2007-09-17-railsconf-europe-2007.md
@@ -3,6 +3,7 @@ date = "2007-09-17"
title = "RailsConf Europe 2007!"
tags = ["General", "Blog", "Personal", "RubyOnRails"]
slug = "railsconf-europe-2007"
+description = "A short update"
+++
Well, after a long trip, I arrived at my hotel yesterday in Berlin. Today I, and my mates from Kabisa, have joined RailsConf Europe 2007. I don't think I'll be giving a full, in-detail report of everything that happens, but I will let you know anything worth your (and my) time.
diff --git a/content/posts/2007-09-24-rails-20-new-features.md b/content/posts/2007-09-24-rails-20-new-features.md
index 3fe2fb9..206b48d 100644
--- a/content/posts/2007-09-24-rails-20-new-features.md
+++ b/content/posts/2007-09-24-rails-20-new-features.md
@@ -3,6 +3,7 @@ date = "2007-09-24"
title = "Rails 2.0 New Features"
tags = ["General", "Features"]
slug = "rails-20-new-features"
+description = "Rails 2.0 is coming!"
+++
As David Heinemeier Hansson already told us all during his RailsConfEurope 2007 keynote, it's time to take off the party hats. It's no longer at time to celebrate all the new stuff we get. It's time to celebrate what we have already.
diff --git a/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md b/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md
index 023f54c..093d205 100644
--- a/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md
+++ b/content/posts/2007-09-24-whooop-here-it-is-the-new-ariejannet.md
@@ -3,6 +3,7 @@ date = "2007-09-24"
title = "Whooop - here it is! The new Ariejan.net!"
tags = ["General", "Blog"]
slug = "whooop-here-it-is-the-new-ariejannet"
+description = "Redesign and all that!"
+++
Wow! Here it is then! The fully restyled, revamped and repimped Ariejan.net! (I hope you like it). So, "what's changed?", you may ask.
diff --git a/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md b/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md
index 75cca35..8f9d043 100644
--- a/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md
+++ b/content/posts/2007-09-25-the-glorious-canon-eos-400d-digital.md
@@ -3,6 +3,7 @@ date = "2007-09-25"
title = "The Glorious Canon EOS 400D Digital"
tags = ["Blog", "Blogroll", "Photography", "Flickr", "Canon"]
slug = "the-glorious-canon-eos-400d-digital"
+description = "About my new digital camera."
+++
Well, I finally made the big leap into (semi-)professional photography. I bought a Canon EOS 400D Digital SLR Camera. (That's the XTi Rebel for you American folk) This nifty machine allows me to take very beautiful pictures, and I already had a little practice yesterday.
diff --git a/content/posts/2007-09-25-wordpress-23-released.md b/content/posts/2007-09-25-wordpress-23-released.md
index 3aa49a5..0963c3e 100644
--- a/content/posts/2007-09-25-wordpress-23-released.md
+++ b/content/posts/2007-09-25-wordpress-23-released.md
@@ -3,6 +3,7 @@ date = "2007-09-25"
title = "Wordpress 2.3 released!"
tags = ["General", "Wordpress", "Blog", "Releases"]
slug = "wordpress-23-released"
+description = "Awesomesauce!"
+++
Today Wordpress 2.3 was released (see the release notes). I've already updated Ariejan.net, of course, and I'm now able to use all of the following neat new features:
diff --git a/content/posts/2007-09-26-flash-not-clearing-after-a-request.md b/content/posts/2007-09-26-flash-not-clearing-after-a-request.md
index 14cdee4..278b1fc 100644
--- a/content/posts/2007-09-26-flash-not-clearing-after-a-request.md
+++ b/content/posts/2007-09-26-flash-not-clearing-after-a-request.md
@@ -3,6 +3,7 @@ date = "2007-09-26"
title = "Flash not clearing after a request?"
tags = ["General", "RubyOnRails", "Features", "Tips"]
slug = "flash-not-clearing-after-a-request"
+description = "How to fix the flash"
+++
We all know "The Flash" to be a very useful tool in almost every application we write. What does "The Flash" actually do?
diff --git a/content/posts/2007-10-08-google-increases-storage.md b/content/posts/2007-10-08-google-increases-storage.md
index 7c6a016..471d165 100644
--- a/content/posts/2007-10-08-google-increases-storage.md
+++ b/content/posts/2007-10-08-google-increases-storage.md
@@ -3,6 +3,7 @@ date = "2007-10-08"
title = "Google increases storage!"
tags = ["General", "Blog", "Google", "Apps", "GMail"]
slug = "google-increases-storage"
+description = "2GB for free!"
+++
Google today increased the storage available to Google App users.
diff --git a/content/posts/2007-10-17-party-time.md b/content/posts/2007-10-17-party-time.md
index 763252d..6cc331e 100644
--- a/content/posts/2007-10-17-party-time.md
+++ b/content/posts/2007-10-17-party-time.md
@@ -3,6 +3,7 @@ date = "2007-10-17"
title = "Party time!"
tags = ["General", "Blog", "birthday"]
slug = "party-time"
+description = "Happy birthday to me!"
+++
It's that time of the year again... my birthday. I'm turning 27 today and I'll be celebrating this today with friends and family.
diff --git a/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md b/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md
index 4d78669..4c52f57 100644
--- a/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md
+++ b/content/posts/2007-11-15-bash-it-number-of-messages-in-postfix-queue.md
@@ -3,6 +3,7 @@ date = "2007-11-15"
title = "Bash it! - Number of messages in Postfix queue"
tags = ["Blog", "Features", "Linux", "BASH", "Bash IT", "shell", "postfix", "scripting", "mail", "server", "queue", "email", "messages"]
slug = "bash-it-number-of-messages-in-postfix-queue"
+description = "How to get the number of messages in your Postfix queue."
+++
Got bash? Here's a nice snippet that will return the number of messages currently in the postfix queue.
diff --git a/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md b/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md
index b1ab7e9..52a6751 100644
--- a/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md
+++ b/content/posts/2007-11-27-railsjobsnl-ruby-on-rails-jobs-in-the-netherlands.md
@@ -3,6 +3,7 @@ date = "2007-11-27"
title = "RailsJobs.nl - Ruby on Rails Jobs in The Netherlands"
tags = ["General", "Blog", "Ruby", "Ruby on Rails", "Rails", "Jobs", "RailsJobs.nl"]
slug = "railsjobsnl-ruby-on-rails-jobs-in-the-netherlands"
+description = "Railsjobs.nl for all your job hunting pleasure."
+++
The time is now ripe to announce RailsJobs.nl - A shiny new jobboard for Ruby on Rails developers who are seeking a job in the Netherlands or Belgium. I started the site a few days ago and business and job seekers have started to find RailsJobs.nl.
diff --git a/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md b/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md
index 6be540f..a4e7bcb 100644
--- a/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md
+++ b/content/posts/2007-11-30-mysql-reset-the-auto-increment-value-of-a-table.md
@@ -3,6 +3,7 @@ date = "2007-11-30"
title = "MySQL: (Re)set the auto-increment value of a table"
tags = ["General", "Blog", "Databases", "MySQL", "development"]
slug = "mysql-reset-the-auto-increment-value-of-a-table"
+description = "Let's start over by resetting MySQL's auto increment counter."
+++
Sometimes it's necessary to set the starting point of a MySQL auto-increment value.
diff --git a/content/posts/2007-12-06-rails-calculated-column-caching.md b/content/posts/2007-12-06-rails-calculated-column-caching.md
index 65ce3c4..df9f003 100644
--- a/content/posts/2007-12-06-rails-calculated-column-caching.md
+++ b/content/posts/2007-12-06-rails-calculated-column-caching.md
@@ -3,6 +3,7 @@ date = "2007-12-06"
title = "Rails: calculated column caching"
tags = ["Blog", "Features", "Ruby", "Ruby on Rails", "Rails", "cache", "sort", "order", "find", "select", "join"]
slug = "rails-calculated-column-caching"
+description = "Save on query time by caching calculated column values."
+++
Sometimes you're working on a Rails project and you think: "hey! This should be easy!". Well, most of the time it is. I'm working on a project that allows people to rate objects (what they really are doesn't matter at all).
diff --git a/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md b/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md
index 9e86a2b..d337c58 100644
--- a/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md
+++ b/content/posts/2007-12-07-wil-jij-mijn-collega-zijn-kabisa-is-hiring.md
@@ -3,6 +3,7 @@ date = "2007-12-07"
title = "Wil jij mijn collega zijn? - Kabisa is hiring!"
tags = ["General", "Blog", "Kabisa", "promo"]
slug = "wil-jij-mijn-collega-zijn-kabisa-is-hiring"
+description = "I'm looking for new co-workers!"
+++
diff --git a/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md b/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md
index 6029282..73e5e1c 100644
--- a/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md
+++ b/content/posts/2007-12-12-how-to-install-mysql-on-ubuntudebian.md
@@ -3,6 +3,7 @@ date = "2007-12-12"
title = "How to install MySQL on Ubuntu/Debian"
tags = ["Ubuntu", "MySQL", "debian"]
slug = "how-to-install-mysql-on-ubuntudebian"
+description = "Complete guide to installing MySQL on Ubuntu/Debian"
+++
It may seem easy for some, but for others, installing MySQL on Ubuntu or Debian Linux is not an easy task. This article explains to you how to install the MySQL Server and Client packages on a Ubuntu/Debian system.
diff --git a/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md b/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md
index 84c41b2..64dbd8d 100644
--- a/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md
+++ b/content/posts/2007-12-12-run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger.md
@@ -3,6 +3,7 @@ date = "2007-12-12"
title = "Run Internet Explorer 5, 5.5, 6 and 7 natively on Mac OS X Leopard or Tiger"
tags = ["Blog", "Features", "Apple", "Mac OS X", "MacOSX", "osx", "leopard", "tiger", "mac", "windows", "internetexplorer", "explorer", "IE", "IE7", "IE6", "parallels"]
slug = "run-internet-explorer-5-55-6-and-7-natively-on-mac-os-x-leopard-or-tiger"
+description = "I have no idea why I'd ever want to do this, but here goes..."
+++
As a web developer, you probably know all about browsers. They suck. Well, some more than others. But, if you develop apps for Windows users, you'll have to test your app with Internet Explorer.
diff --git a/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md b/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md
index 62b0858..5cbe422 100644
--- a/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md
+++ b/content/posts/2007-12-20-for-you-merry-christmas-and-a-happy-2008.md
@@ -3,6 +3,7 @@ date = "2007-12-20"
title = "For You: Merry Christmas and a Happy 2008!!!"
tags = ["General", "Blog"]
slug = "for-you-merry-christmas-and-a-happy-2008"
+description = "Party time!"
+++
diff --git a/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md b/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md
index a56382f..33dbef3 100644
--- a/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md
+++ b/content/posts/2007-12-31-write-a-dvd-video-from-the-linux-console.md
@@ -3,6 +3,7 @@ date = "2007-12-31"
title = "Write a DVD-Video from the Linux console"
tags = ["Blog", "DVD", "Linux", "Blogroll", "Video", "burn", "burning", "writing"]
slug = "write-a-dvd-video-from-the-linux-console"
+description = "How to create a video DVD from the linux command line"
+++
This is probably my last post for this year, and it's not about Ruby on Rails! Or web development! It's about how to burn a DVD-Video from the Linux console.
diff --git a/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md b/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md
index 10f9fb6..adc28a0 100644
--- a/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md
+++ b/content/posts/2010-09-11-mass-convert-wma-to-mp3-using-ffmpeg-and-ruby.md
@@ -3,6 +3,7 @@ date = "2010-09-11"
title = "Mass convert WMA to MP3 using ffmpeg and ruby"
tags = ["audio", "mp3", "wma", "music", "ffmpeg"]
slug = "mass-convert-wma-to-mp3-using-ffmpeg-and-ruby"
+description = "How to easily convert a large library of WMA files to MP3 using some nifty Ruby scripting and ffmpeg
"
+++
Today I found myself in a situation where I have a few (200+) WMA audio files. Due to personal preference I want MP3, not WMA. So, let's convert that lot.
diff --git a/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md b/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md
index 28a3ebb..ff7b38b 100644
--- a/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md
+++ b/content/posts/2014-11-24-voltmeister-100-atx-bench-power-supply-part-1.md
@@ -2,6 +2,7 @@
date = "2014-11-24"
title = "VoltMeister 100: Bench Power Supply - Part 1"
tags = ["electronics", "voltmeister", "power supply"]
+categories = [ "Electronics" ]
description = "A bench power supply is one of the essential tools of any electronics hobbyist.Although you can buy a such a unit for less that € 50, it's way more fun to build one yourself."
slug = "voltmeister-100-atx-bench-power-supply-part-1"
+++
diff --git a/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md b/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md
index e383785..70d8b4a 100644
--- a/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md
+++ b/content/posts/2014-11-26-voltmeister-100-atx-bench-power-supply-part-2.md
@@ -2,6 +2,7 @@
date = "2014-11-26"
title = "VoltMeister 100: Bench Power Supply - Part 2"
tags = ["electronics", "voltmeister", "power supply"]
+categories = [ "Electronics" ]
description = "In Part 1 of this series I discussed how an ATX power supply can be usedto create a poor man's bench power supply. In Part 2 I'll show you howI managed to fit the ATX power supply, my control board and everythingelse neatly into a single box."
slug = "voltmeister-100-atx-bench-power-supply-part-2"
+++
diff --git a/content/posts/2016-01-07-denon-pma560-repair-log.md b/content/posts/2016-01-07-denon-pma560-repair-log.md
index 2568f54..31a6d87 100644
--- a/content/posts/2016-01-07-denon-pma560-repair-log.md
+++ b/content/posts/2016-01-07-denon-pma560-repair-log.md
@@ -2,6 +2,7 @@
date = "2016-01-07"
title = "Denon PMA-560 Repair Log"
tags = ["ohmexpress", "repair", "audiorepair"]
+categories = [ "Audio Repair" ]
description = "Log of diagnosing and repairing a Denon PMA560 Stereo integrated amplifier."
slug = "denon-pma-560-repair-log"
+++
diff --git a/content/posts/2016-01-12-denon-pma560-repair-log-update.md b/content/posts/2016-01-12-denon-pma560-repair-log-update.md
index c038a9a..eb91cd7 100644
--- a/content/posts/2016-01-12-denon-pma560-repair-log-update.md
+++ b/content/posts/2016-01-12-denon-pma560-repair-log-update.md
@@ -2,6 +2,7 @@
date = "2016-01-12"
title = "Denon PMA-560 Repair Log - Update"
tags = ["ohmexpress", "repair", "audiorepair"]
+categories = [ "Audio Repair" ]
description = "Replacement parts for the Denon PMA-560 have arrived. Let's get to work!"
slug = "denon-pma-560-repair-log-update"
+++
diff --git a/content/posts/2016-01-21-marantz-sr5200-repair-log.md b/content/posts/2016-01-21-marantz-sr5200-repair-log.md
index 7b601ee..3170e8c 100644
--- a/content/posts/2016-01-21-marantz-sr5200-repair-log.md
+++ b/content/posts/2016-01-21-marantz-sr5200-repair-log.md
@@ -2,6 +2,7 @@
date = "2016-01-21"
title = "Marantz SR5200 Repair Log"
tags = ["ohmexpress", "repair", "audiorepair"]
+categories = [ "Audio Repair" ]
description = "A Marantz SR5200 receiver with a non-working front-right channel. Let's fix that!"
slug = "marantz-sr5200-repair-log"
+++
diff --git a/content/posts/2016-04-10-denon-pma-720a-repair-log.md b/content/posts/2016-04-10-denon-pma-720a-repair-log.md
index a9ba5f5..c29c067 100644
--- a/content/posts/2016-04-10-denon-pma-720a-repair-log.md
+++ b/content/posts/2016-04-10-denon-pma-720a-repair-log.md
@@ -2,6 +2,7 @@
date = "2016-04-10"
title = "Denon PMA 720a Repair Log"
tags = ["ohmexpress", "repair", "audiorepair"]
+categories = [ "Audio Repair" ]
description = "A classic 1989 Denon PMA 720a Integrated Amp that made a bang and wont't turn on. Let's solve this!"
slug = "denon-pma-720a-repair-log"
+++
diff --git a/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md b/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md
index dbc06e2..0a8be4a 100644
--- a/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md
+++ b/content/posts/2016-10-09-marantz-pm80-mk2-repair-log.md
@@ -2,6 +2,7 @@
date = "2016-10-09"
title = "Marantz PM80 Mk2 Repair Log"
tags = ["repair", "audiorepair"]
+categories = [ "Audio Repair" ]
description = "The venerable Marantz PM80 Mk2. This unit was completely dead, but I was able to bring it back to life!"
slug = "marantz-pm80-mk2-repair-log"
+++
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index e035b6a..9c69570 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,13 +1,20 @@
{{ partial "header.html" . }}
-+ + {{ if .Description }} + — + {{ .Description | safeHTML }} + {{ end }} +
++
{{ if eq .Section "posts" }} {{ .Date.Format "2 January 2006" }} {{ end }} @@ -12,34 +12,20 @@ {{ if eq .Section "posts" }} {{ end }}
- - — - {{ .Description | safeHTML }}
-