Merge branch 'redesign2017' into 'master'

Redesign and improvements

See merge request !4
This commit is contained in:
Ariejan de Vroom 2017-09-11 14:21:38 +02:00
commit b75fd741e0
134 changed files with 554 additions and 531 deletions

View File

@ -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/

View File

@ -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"

View File

@ -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!

View File

@ -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 <code>favicon</code>."
+++
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?

View File

@ -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!

View File

@ -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!

View File

@ -3,6 +3,7 @@ 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).

View File

@ -1,12 +0,0 @@
+++
date = "2006-10-13"
title = "Google Ads: Cant 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.
<!--more-->

View File

@ -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:
@ -16,5 +17,3 @@ Use our great value offer:
We will submit your website (www.gmail.com) to 890 Search Engines, including Google, Yahoo and MSN.</blockquote>
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.
<!--more-->

View File

@ -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!

View File

@ -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 <a href="http://www.ajaxscaffold.com/">Ajax Scaffold</a> for quite some time now. It's a great piece of software by <a href="http://www.height1percent.com/">Mr. Richard White</a> for <a href="http://www.rubyonrails.com">Ruby on Rails</a>. 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.

View File

@ -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 <a href="http://www.podtropolis.com">Podtropolis</a> 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.
<!--more-->

View File

@ -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.

View File

@ -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: <a href="http://www.cakephp.org">CakePHP</a>.

View File

@ -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 <a href="http://www.google.com/adsense">Google's AdSense</a>. Some guru's claim to recieve five figure checks from Google every month.

View File

@ -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 <a href="http://ariejan.net/2006/10/29/do-your-ads-pay-your-blogging-bills/">previous post</a> I have gathered some popular resources from around the web that talk about making money off <a href="http://www.google.com/adsense">Google Adsense</a>. 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.
</ul>
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.
<em>I highly recommend you do <strong>NOT</strong> 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.</em>

View File

@ -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!

View File

@ -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.

View File

@ -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.

View File

@ -3,6 +3,7 @@ date = "2006-10-31"
title = "WordpressMu: Dont 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 <a href="http://mu.wordpress.org">WordpressMu</a>, the blog hosting tool used on <a href="http://www.wordpress.com">Wordpress.com</a>, you may want to disable the creation of blogs by your visitors.

View File

@ -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 <code>426 Upgrade Required</code> CUPS error."
+++
As I was installing my printer on my Ubuntu 6.06 Dapper LTS server with CUPS I noticed the following error:

View File

@ -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:

View File

@ -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 <a href="http://www.sourceforge.net/projects/cse-tool/">CSE-Tool 1.0</a> has been released.

View File

@ -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! <a href="http://sourceforge.net/project/showfiles.php?group_id=182622&package_id=211849&release_id=465386">Grab the code now</a> or check a <a href="http://www.search-london.net/">live demonstration</a>!

View File

@ -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 <a href="http://ariejan.net/tags/cse-tool/">CSE-Tool</a>.

View File

@ -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 <a href="http://code.google.com/">Google Code</a> is now offering <a href="http://code.google.com/hosting/">Project Hosting</a>! It's in the same style as <a href="http://www.sourceforge.net">SourceForge</a>, but the Google way!

View File

@ -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 <a href="http://ariejan.net/2006/11/21/svn-how-to-release-software-properly/">releasing your project with help from Subversion</a>. Now I want to talk to you about using Subversion to fix bugs in your application.

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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 <a href="http://ariejan.net/2006/12/01/how-to-setup-a-ubuntu-development-server-part-1/">Part 1 - Subversion</a>.

View File

@ -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"
+++
<em>Update 2010-03-25: Bumped to RubyGems version 1.3.6.</em>

View File

@ -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.

View File

@ -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, "<strong>Subversion Kick-Start</strong>".
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 <a href="http://ariejan.net/subscribe/">feed newsletter</a> or <a href="http://feeds.feedburner.com/Ariejan">RSS feed</a> and stay up-to-date! You'll be the first to know when the book is available.
<!--more-->

View File

@ -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 <a href="http://manuals.rubyonrails.com/read/book/17">capistrano</a>.

View File

@ -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.

View File

@ -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.
<!--more-->
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!)

View File

@ -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 <a href="http://macromates.com/">TextMate</a> for editing Rails code.

View File

@ -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.

View File

@ -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.

View File

@ -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 <a href="http://www.ruby-lang.org/en/documentation/quickstart/">20 minute Ruby introduction</a>. 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.

View File

@ -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!

View File

@ -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 <a href="http://ariejan.net/2007/01/23/new-in-rails-resource-scaffold-generator/">previous post</a> 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!

View File

@ -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 <a href="http://wordpress.org">Wordpress 2.1</a>. 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.

View File

@ -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.
``` 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.
``` 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?
``` 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!

View File

@ -1,26 +0,0 @@
+++
date = "2007-02-09"
title = "My photos on Flickr"
tags = ["General", "Everything", "Blog"]
slug = "my-photos-on-flickr"
+++
<style type="text/css">
.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }
</style>
<div class="flickr-frame">
<a href="http://www.flickr.com/photos/ariejan/384590943/" title="photo sharing"><img src="http://farm1.static.flickr.com/182/384590943_e794781bf0.jpg" class="flickr-photo" alt="" /></a>
<br />
<span class="flickr-caption"><a href="http://www.flickr.com/photos/ariejan/384590943/">Near Camden Lock Market, London, UK</a>, originally uploaded by <a href="http://www.flickr.com/people/ariejan/">ariejan</a>.</span>
</div>
<p class="flickr-yourcomment">
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. <br />
<br />
Feel free to check out <a href="http://www.flickr.com/photos/ariejan/">my photo's</a> now. Oh, keep track of more new stuff there. I'm planning on making some very nice pictures this weekend.
</p>

View File

@ -1,26 +0,0 @@
+++
date = "2007-02-17"
title = "Goals in the Park"
tags = ["General", "Everything", "Blog"]
slug = "goals-in-the-park"
+++
<style type="text/css">
.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }
</style>
<div class="flickr-frame">
<a href="http://www.flickr.com/photos/ariejan/392983564/" title="photo sharing"><img src="http://farm1.static.flickr.com/147/392983564_a222b6b741.jpg" class="flickr-photo" alt="" /></a>
<br />
<span class="flickr-caption"><a href="http://www.flickr.com/photos/ariejan/392983564/">Goals in the Park</a>, originally uploaded by <a href="http://www.flickr.com/people/ariejan/">ariejan</a>.</span>
</div>
<p class="flickr-yourcomment">
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 (<a href="http://en.wikipedia.org/wiki/High_dynamic_range_imaging">High Dynamic Range</a>) image of them.<br />
<br />
Hope you enjoy the view and let me know if you want more information on this subjejct!
</p>

View File

@ -3,6 +3,7 @@ date = "2007-02-23"
title = "Subversion Cheat Sheet 1.0!"
tags = ["General", "Features", "Subversion"]
slug = "subversion-cheat-sheet-10"
description = "A Subversion cheatsheet"
+++
I've noticed a huge interest in my <a href="/tags/subversion?phpMyAdmin=umjo2KeaY3NOkOP-0%2Czc9FZ9J96">Subversion articles</a> lately and I thought to create a nice cheat sheet for all you.

View File

@ -3,6 +3,7 @@ date = "2007-02-26"
title = "4 Unusual uses for Subversion"
tags = ["General", "Features", "Subversion"]
slug = "4-unusual-uses-for-subversion"
description = "Subversion can be used for much more than just source code."
+++
The most common use of Subversion is to keep source code of applications versioned and secure. However, there are quite a few other options that are not so common at all.

View File

@ -3,6 +3,7 @@ date = "2007-03-06"
title = "Subversion Cheat Sheet Update: 1.0.1"
tags = ["General", "Blog", "Subversion"]
slug = "subversion-cheat-sheet-update-101"
description = "A new and shiny version"
+++
I've just uploaded version 1.0.1 of the <a href="http://ariejan.net/svncheatsheet">Subversion Cheat Sheet</a> to Ariejan.net.

View File

@ -3,6 +3,7 @@ date = "2007-03-07"
title = "Wordpress Plugin: AutoFlickr 1.0"
tags = ["General", "Wordpress", "Features", "AutoFlickr"]
slug = "wordpress-plugin-autoflickr-10"
description = "Automatically insert Flickr photos in your Wordpress posts"
+++
This post announces my first Wordpress Plugin: AutoFlickr.

View File

@ -3,6 +3,7 @@ date = "2007-03-20"
title = "8 Great ways to use Google for your start-up"
tags = ["General", "Blog", "Google"]
slug = "8-great-ways-to-use-google-for-your-start-up"
description = "Use Google for your start-up!"
+++
<a href="http://www.google.com">Google</a> is more than a search engine or an advertising company. Of course, it's their core business, but Google has more to offer. In this article I'll describe how you can put Google to work for your start-up (or existing business!). Oh, did I mention you can do all of this for free?

View File

@ -3,13 +3,13 @@ date = "2007-03-20"
title = "How I made 6 figures with Google Adsense in 10 days"
tags = ["General", "Blog", "Google", "AdSense", "Sarcasm"]
slug = "how-i-made-6-figures-with-google-adsense-in-10-days"
description = "Well, it's complicated... "
+++
There has been a lot of talk about making money with Google Adsense. There are claims of people earning over $10.000 every month by just putting a few ads up on their site.
I say they are amateurs! I'll show you how to make a 6-figure earning within 10 days after you put up ads on your site! Just follow these easy steps and you can quit your day job after just ten days of work. It' what I did.
<!--more-->
<h3>Decide on a topic for your site</h3>
First you must decide on what the topic of your site is. Try a <a href="http://uv.bidtool.overture.com/d/search/tools/bidtool/?mkt=uk">keyword bid searching tool</a> to find out which keywords and topics will generate the most.

View File

@ -3,14 +3,13 @@ date = "2007-03-21"
title = "26 Things you can do with an old PC"
tags = ["General", "Blog", "Fun"]
slug = "26-things-you-can-do-with-an-old-pc"
description = "Don't throw that old beast out just yet."
+++
We've all been there. Your old trusty PC dies. First thing you do is buy a new one. After you're done playing with all the new bells and whistles your old PC didn't have, it's time to thing what to do with the old fella.
Here are some tips!
<!--more-->
We've all been there. Your old trusty PC dies. First thing you do is buy a new one. After you're done playing with all the new bells and whistles your old PC didn't have, it's time to thing what to do with the old fella. Here are some tips!
The whole system can be used like this:
<ol>
<li>Give it away to friends or family who can use the "upgrade"</li>
<li>Take it apart and see what comes out</li>
@ -24,14 +23,18 @@ The whole system can be used like this:
<li>See what happens when you shoot it</li>
<li>Symbolically throw it out of the window</li>
</ol>
If you only have the casing, this can be put to great use!
<ol start="12">
<li>Take everthing out and turn it into a barbeque</li>
<li>See what happens when you don't cool your processor</li>
<li>Strip it and sell the working parts</li>
<li>Blow it up</li>
</ol>
You an also strip the insides of your case and put another device in it:
<ol start="16">
<li>Coffee maker</li>
<li>Aquarium (with plexi glass plating, of course)</li>
@ -41,12 +44,15 @@ You an also strip the insides of your case and put another device in it:
<li>Make it a mailbox</li>
<li>Build a can dispenser (hit 'reset' to obtain a beverage of your choice)</li>
</ol>
The monitor (CRT) can be used for various purposes as well:
<ol start="23">
<li>This can also be converted into an aquarium</li>
<li>Remove the tube and create a cage for small animals</li>
<li>Ash tray</li>
<li>CD / DVD Rack</li>
</ol>
Got your own personal favourite? Please post a comment and share it with us all!

View File

@ -3,6 +3,7 @@ date = "2007-03-22"
title = "Rails Tip Snippet: Logging informational messages to your log"
tags = ["General", "RubyOnRails", "Features", "TipSnippets"]
slug = "rails-tip-snippet-logging-informational-messages-to-your-log"
description = "How to easily log informational messages in Rails."
+++
This "Rails Tip Snippet" is one in a series of small blocks of code that will make your life developing Rails applications a bit easier.

View File

@ -3,6 +3,7 @@ date = "2007-03-23"
title = "Be productive! 37 things you can do on the toilet"
tags = ["General", "Blog", "Features", "Lists", "Fun", "Productivity"]
slug = "be-productive-37-things-you-can-do-on-the-toilet"
description = "What are you waiting for! Go!"
+++
We all have to go. Most of us once a day. Others have to do it more often. However, we can be much more productive while doing or daily duty at the toilet.

View File

@ -3,9 +3,11 @@ date = "2007-03-25"
title = "Speedlinking: Top 28 startup resources"
tags = ["General", "Blog", "Links"]
slug = "speedlinking-top-28-startup-resources"
description = "Top start-up resources"
+++
I've been reading a lot about startups this weekend. Here is a quick post with all the articles I came across this weekend and found worth mentioning:
<ol>
<li><a href="http://www.startupping.com/">Startupping</a> <strong>TIP</strong></li>
<li><a href="http://www.paulgraham.com/start.html">How to start a startup</a></li>
@ -36,5 +38,6 @@ I've been reading a lot about startups this weekend. Here is a quick post with a
<li><a href="http://onstartups.com/home/tabid/3339/bid/69/Startup-Suicide-Five-Ways-To-Kill-Your-Startup-Which-Will-You-Pick.aspx">Startup Suicide: Five Ways To Kill Your Startup, Which Will You Pick?</a></li>
<li><a href="http://www.miketaber.net/articles/StartupsForTheRestOfUs.aspx">Startups for the rest of us</a></li>
</ol>
Got any articles that are not on the list? Please add a comment to let me know!

View File

@ -3,6 +3,7 @@ date = "2007-03-27"
title = "Rails Tip Snippet: Create a comma-seperate list"
tags = ["General", "RubyOnRails", "Features", "TipSnippets"]
slug = "rails-tip-snippet-create-a-comma-seperate-list"
description = "Got an array? This is how you get a CSV!"
+++
Do you have the need to create a list of roles a certain user belongs to? Enumerate the users attached to a company? All you want is a simple list with the names seperated by commas.
@ -10,6 +11,8 @@ Do you have the need to create a list of roles a certain user belongs to? Enumer
Users: John, Dick, Harry
With Ruby on Rails this is really easy. You probably have a collection of user objects. All you want is a list of names:
<pre lang="ruby">@users.collect{|u| u.name}.join(', ')</pre>
Read more <a href="http://ariejan.net/tags/tipsnippets/">Tip Snippets</a>?

View File

@ -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

View File

@ -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 <a href="http://www.dell.com/content/topics/global.aspx/ideastorm/ideasinaction?c=us&l=en&s=gen">recent survey by DELL</a> 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?

View File

@ -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 <a href="http://www.wordpress.org">WordPress</a> plugin <a href="http://ariejan.net/2007/03/07/wordpress-plugin-autoflickr-10/">AutoFlickr</a>, which shows one or more related photos from the popular Flickr site in your post.

View File

@ -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.

View File

@ -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!

View File

@ -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 <a href="http://www.delta9.nl/">Delta9 Internet</a> to a VPS solution.

View File

@ -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 <a href="http://ariejan.net/2007/03/27/rails-tip-snippet-create-a-comma-seperate-list/">an article</a> that explained how to create a comma separated list from a hash of objects. When I was browsing the <a href="http://api.rubyonrails.com">Rails API documentation</a> I came across a method named <a href="http://api.rubyonrails.com/classes/ActiveSupport/CoreExtensions/Array/Conversions.html#M000372">to_sentence</a>.
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.
<pre lang="ruby">@users = User.find(:all)
@users.collect {|u| u.firstname}.to_sentence
=> "Tom, Dick, and Harry"</pre>
Of you course, you can specify the last separator, called the connector. Also it's possible to not show the last comma.
<pre lang="ruby">@users.collect {|u| u.firstname}.to_sentence(:connector => "and of course,", :skip_last_comma => true)
=> "tom, Dick and of course, Harry"</pre>
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.

View File

@ -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 <a href="http://google.com">Google</a> is about to acquire <a href="http://feedburner.com">FeedBurner</a>. 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!

View File

@ -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:
<pre lang="text">svn: MERGE request failed on '/svn/repository/trunk'
svn: MERGE of '/svn/repository/trunk': 200 OK (http://svn.myserver.com)</pre>
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.

View File

@ -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: <em>"Battery"</em>. 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: <em>"Battery"</em>. Like most words, it has several meani
Come on boys and girls! Sing along to <a href="http://bat-ter-y.com">BAT • TER • Y</a>.
(Please digg the site or post a link to it. Thanks!)

View File

@ -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.

View File

@ -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:
<pre lang="text">IdentLookups off</pre>
Restart ProFTPD and you'll have a fast FTP connection to enjoy!
<pre lang="text">IdentLookups off</pre>
Restart ProFTPD and you'll have a fast FTP connection to enjoy!

View File

@ -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 <a href="http://trac.edgewall.org/">trac</a> 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.

View File

@ -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 (<a href="http://ariejan.net/2006/12/01/how-to-setup-a-ubuntu-development-server-part-1/">part 1</a> and part 2) have been very successful.

View File

@ -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.

View File

@ -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.
<!--more-->
We're going to use the GNU Mail utility here. The basic syntax to send an email is like this:
<pre lang="bash">/usr/bin/mail -s "Subject" someone@example.org < message.txt</pre>
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</pre>
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:
<pre lang="bash">#!/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</pre>
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.

View File

@ -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.

View File

@ -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"
+++
<em>Update: also read <a href="http://ariejan.net/2007/07/01/activescaffold-acts_as_taggable-auto-complete/">Active Scaffold + Acts_as_taggable + Auto Completion</a>.</em>

View File

@ -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 <a href="http://ariejan.net/?s=subversion">Subversion</a> and <a href="http://ariejan.net/?s=trac">Trac</a> on your <a href="http://ariejan.net/?s=ubuntu">Ubuntu server</a>. In my case I have a server that manages different SVN and Trac installations for a group of developers.

View File

@ -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 <a href="http://www.amazon.com/gp/product/B000FK88JK?ie=UTF8&tag=ariejannet-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B000FK88JK">Apple Mac OS X Version 10.5 Leopard</a><img src="http://www.assoc-amazon.com/e/ir?t=ariejannet-20&l=as2&o=1&a=B000FK88JK" style="border: medium none ! important; margin: 0px ! important" border="0" height="1" width="1" />, which is scheduled for release in October 2007.

View File

@ -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!"
+++
<em>Please scroll down for the English version.</em>
@ -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:
<ul>
<li>Eindrapport: 7,5 Ik ben er gewoon niet goed in, maar het is toch nog wat redelijks geworden.</li>
<li>Eindpresentatie: 8 Het ging gewoon lekker</li>
<li>Resultaat: 9 Dit slaat op het werk dat ik heb afgeleverd, mijn inzet, zelfstandigheid etc.</li>
</ul>
Samen komt dit uit op een eindcijfer <strong>8</strong>. Natuurlijk ben ik hier heel trots op, en ga het in ieder geval de rest van de dag vieren!
Feliciteren kan in 'n commentaartje :P
<em>Read more for the English version</em>
<!--more-->
<em>English version below:</em>
<hr /> Today I passed my final exams for my degree in Software Engineering. I've been working on a Ruby on Rails project called "Course Builder" for the past few months. Today, I had to defend my work for a jury.In the Netherlands students are judged on 1 to 10 scale, where 10 is 'total perfection', 6 is 'seems okay' and 1 is total nonsense.
<hr />
Today I passed my final exams for my degree in Software Engineering. I've been working on a Ruby on Rails project called "Course Builder" for the past few months. Today, I had to defend my work for a jury.In the Netherlands students are judged on 1 to 10 scale, where 10 is 'total perfection', 6 is 'seems okay' and 1 is total nonsense.
I've been judged on three subjects:
<ul>
<li>Final report: 7.5 I'm not very good at writing reports, but it's above average, still.</li>
<li>Presentation: 8 It went very well. I'm so happy with my MacBook and KeyNote</li>
<li>Results: 9 The results of my work and how I approached the project as a whole</li>
</ul>
The final grade is an <strong>8</strong>. I'm very happy with the over-all result and I'll be celebrating the rest of the day.
You may congratulate me in a comment :P

View File

@ -3,6 +3,7 @@ date = "2007-06-20"
title = "Action Mailer: All mail comes from MAILER DAEMON"
tags = ["General", "RubyOnRails", "Features", "Ruby"]
slug = "action-mailer-all-mail-comes-from-mailer-daemon"
description = "How to configure ActionMailer properly for sending email"
+++
Today I was trying to send mail from my Rails application through Action Mailer. This is quite simple, but I

View File

@ -3,6 +3,7 @@ date = "2007-06-20"
title = "Rails production server setup and deployment on Ubuntu/Debian"
tags = ["General", "RubyOnRails", "Features", "Linux", "Ubuntu"]
slug = "rails-production-server-setup-and-deployment-on-ubuntudebian"
description = "A guide on how to setup your Ubuntu/Debian server for Rails"
+++
<em>Please digg this story to spread the word! Thanks!</em>

View File

@ -3,6 +3,7 @@ date = "2007-06-21"
title = "AJAX Rules! 80 JavaScript Solutions for professional coding"
tags = ["General", "Blog", "Web Development", "Links"]
slug = "ajax-rules-80-javascript-solutions-for-professional-coding"
description = "80 JavaScript solutions. This is still 2007..."
+++
Smashing Magazine has put together a very comprehensive list of <a href="http://www.smashingmagazine.com/2007/06/20/ajax-javascript-solutions-for-professional-coding/">80 AJAX JavaScript solutions for professional coding</a>. How great is that?!

View File

@ -3,6 +3,7 @@ date = "2007-07-01"
title = "ActiveScaffold + acts_as_taggable + Auto Complete"
tags = ["General", "RubyOnRails", "Features"]
slug = "activescaffold-acts_as_taggable-auto-complete"
description = "More on ActiveScaffold with tagging support."
+++
I've talked before on how to use <a href="http://ariejan.net/2007/06/11/activescaffold-acts_as_taggable_on_steroids/">ActiveScaffold with acts_as_taggable_on_steroids</a>.

View File

@ -3,6 +3,7 @@ date = "2007-07-02"
title = "How to force data to be downloaded as a file from your Rails app"
tags = ["General", "RubyOnRails", "Features"]
slug = "how-to-force-data-to-be-downloaded-as-a-file-from-your-rails-app"
description = "Instead of rendering a file in the browser, force the browser to download and save it as a file."
+++
In the essence of every application is data. One way or another your application manages data and at some point, you need to get that data out. Either you want to synchronize the data with another application or device. Or you want to move your data to another system all together. Either way, you'll need to gather your data and send it from your application to the client... as a file.

View File

@ -3,6 +3,7 @@ date = "2007-07-03"
title = "Got updates?"
tags = ["General", "Ariejan.net", "Blog"]
slug = "got-updates"
description = "Here's what's new on Ariejan.net"
+++
Do you want to stay up-to-date about what's happening at Ariejan.net? That's real easy!

View File

@ -3,6 +3,7 @@ date = "2007-07-03"
title = "How to create and apply a patch with Subversion"
tags = ["General", "Features", "Subversion"]
slug = "how-to-create-and-apply-a-patch-with-subversion"
description = "Sending patches by email can be very convenient. Here's how to create and apply a Subversion patch"
+++
It's been a while since I posted something new on the use of Subversion. I've been working with the tool a lot, and I've found that patches are a great way to communicate code changes.

View File

@ -3,6 +3,7 @@ date = "2007-07-04"
title = "How to resolve Subversion Conflicts"
tags = ["Subversion", "conflicts"]
slug = "how-to-resolve-subversion-conflicts"
description = "Got a merge conflict on Subversion. Don't panic, here's what to do."
+++
If there's more than one person working on a project, chances are (although slim) that at some point two developers work on the same piece of code and check it in. To clarify, let me give you an example.

View File

@ -3,6 +3,7 @@ date = "2007-07-06"
title = "How to write a Rails Plugin (for controllers)"
tags = ["General", "RubyOnRails", "Features"]
slug = "how-to-write-a-rails-plugin-for-controllers"
description = "An easy guide to writing Rails Plugins."
+++
A few days back I posted my very first Rails plugin, <a href="http://ariejan.net/2007/07/03/rails-plugin-acts-as-exportable/">Acts As Exportable</a>. Although writing a plugin is rather easy, you must know a few tricks on how to get things going.

View File

@ -3,6 +3,7 @@ date = "2007-07-06"
title = "Some DNS problems with Ariejan.net"
tags = ["General", "Ariejan.net", "Blog"]
slug = "some-dns-problems-with-ariejannet"
description = "Cannot resolve host..."
+++
This is just a quick note to let you know there are currently some issues with DNS for Ariejan.net. This basically means that Trac and SVN are currently not available. I've made the appropriate changes and things should be working again in a few hours.

View File

@ -3,6 +3,7 @@ date = "2007-07-07"
title = "Clear DNS Cache on your router"
tags = ["General", "Features", "Linux"]
slug = "clear-dns-cache-on-your-router"
description = "How to clear your route DNS cache to get fresh IPs"
+++
I currently have a Linksys router at home that has the <a href="http://www.dd-wrt.com/dd-wrtv2/index.php">DD-WRT Firmware</a> on it. I've been using it for quite some time now, and I'm very happy with it.

View File

@ -3,6 +3,7 @@ date = "2007-07-16"
title = "Ariejan.net - Whats next?"
tags = ["General", "Ariejan.net", "Blog"]
slug = "ariejannet-whats-next"
description = "Here's what I'm up to next."
+++
<strong><a href="#whatsnext">Vote now! What's Next for Ariejan.net? Your opinion counts!</a></strong>

View File

@ -3,6 +3,7 @@ date = "2007-08-01"
title = "Im Back!"
tags = ["General", "Ariejan.net", "Blog"]
slug = "im-back"
description = "I told you I'd be back..."
+++
All right, I'm back!

View File

@ -3,6 +3,7 @@ date = "2007-08-20"
title = "Im back in business!"
tags = ["General", "Ariejan.net", "Blog"]
slug = "im-back-in-business"
description = "Good to go. Reporting for duty."
+++
Ariejan.net is (almost) back in business. With some minor cosmetic improvements to the theme, I'm ready for today.

View File

@ -3,6 +3,7 @@ date = "2007-08-20"
title = "Kabisa, RailsConf Europe and Ariejan.net"
tags = ["General", "Everything", "Blog"]
slug = "kabisa-railsconf-europe-and-ariejannet"
description = "Going to RailsConf Europe in Berlin!"
+++
Hello there! Just a quick post to let you know I'm still alive and kicking! Two weeks ago I started my job at <a href="http://www.kabisa.nl">Kabisa</a> and I've been very busy with that. I really like working at Kabisa and we have some great things planned for the near future. (We're currently working on a few client projects that need our attention.)

View File

@ -3,6 +3,7 @@ date = "2007-08-21"
title = "Using Iconv to convert UTF-8 to ASCII (on Linux)"
tags = ["General", "RubyOnRails", "Features", "Ruby"]
slug = "using-iconv-to-convert-utf-8-to-ascii-on-linux"
description = "Text encoding is a mess. This will help you convert UTF-8 to ASCII on Linux using iconv."
+++
There are situations where you want to remove all the UTF-8 goodness from a string

View File

@ -3,6 +3,7 @@ date = "2007-08-24"
title = "Super Simple Authentication Plugin and Generator"
tags = ["General", "RubyOnRails", "Features"]
slug = "super-simple-authentication-plugin-and-generator"
description = "Authentication made easy"
+++
I hereby proudly announce my <em>Super Simple Authentication</em> plugin and generator.

View File

@ -3,6 +3,7 @@ date = "2007-08-27"
title = "BlueprintCSS Rails Generator"
tags = ["General", "RubyOnRails", "Features"]
slug = "blueprintcss-rails-generator"
description = "Get a kickstart with blueprint css"
+++
<em><strong>This plugin is no longer available.</strong> Blueprint nowadays ships with a very good 'compress' script that allows you to generate all kinds of nice BluePrint layouts. Having a plugin to just copy some files seems a bit excessive. </em>

View File

@ -3,6 +3,7 @@ date = "2007-08-31"
title = "Blueprint 0.5 Rails Plugin released"
tags = ["General", "RubyOnRails", "Features"]
slug = "blueprint-05-rails-plugin-released"
description = "Blueprint now as a Rails plugin"
+++
A few days ago <a href="http://code.google.com/p/blueprintcss/">BlueprintCSS 0.5</a> was released (<a href="http://bjorkoy.com/past/2007/8/28/blueprint_05_the_experiment/">read the Olav's posts here</a>). I've updated the plugin accordingly. The most important change is the use of 24 (!) instead of 14 columns.

Some files were not shown because too many files have changed in this diff Show More