Archive for June, 2007
AJAX Rules! 80 JavaScript Solutions for professional coding
Smashing Magazine has put together a very comprehensive list of 80 AJAX JavaScript solutions for professional coding. How great is that?!
The list includes solutions for auto-completion, inline editing, menus, tabs, calendars, all sorts of interactive stuff and tables, charts, graphs, forms, grids, lightboxes, galleries, showcases, visual effects and also, some basic JavaScripts that everybody should [...]
Rails production server setup and deployment on Ubuntu/Debian
Please digg this story to spread the word! Thanks!
Okay, this is a big one! This article will show you (and explain to you) how to setup a Ruby on Rails production server with Ubuntu 7.04 or Debian 4.0 and how to deploy your Rails application there.
First, what’s getting installed:
Ruby 1.8.5
Ruby on Rails 1.2.3
Subversion 1.4
MySQL 5.x [...]
Action Mailer: All mail comes from MAILER DAEMON
Today I was trying to send mail from my Rails application through Action Mailer. This is quite simple, but I wanted to use a custom from-address. So, I create a setup_email method in my UserNotifier class that sets some defaults for every email sent out:
class UserNotifier < ActionMailer::Base
protected
def setup_email(user)
[...]
Geslaagd! / Passed my final exams!
Please scroll down for the English version.
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:
Eindrapport: 7,5 – Ik ben er gewoon niet goed in, [...]
Buy it now! Mac OS X 10.5 Leopard
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.
There are, as usual two version available, Apple Mac OS X Version 10.5 Leopard at $129 for a single license and the Apple Mac OS X Version 10.5 Leopard Family Pack for $199, [...]
BASH your SVN and Trac installation!
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.
Creating a new SVN repository and Trac installation every time is quite boring and “if you need to do it more than once, you [...]
ActiveScaffold, Acts_as_taggable_on_steroids
Update: also read Active Scaffold + Acts_as_taggable + Auto Completion.
This is kind of an advanced topic, but I think it may be useful to a lot of people.
ActiveScaffold is a great plugin to start building a user interface. The great thing about AS is, that is automatically recognizes associated models. When editing a model, you [...]
Find and Replace with a MySQL Query
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 [...]
Send mail with a BASH Shell Script
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 [...]
Ultimate List of Ruby Resources
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.
Feel free to [...]
