← back to the blog
fousa archive
| JAN | FEB | MRT | APR | MAY | JUN | JUL | AUG | SEP | OCT | NOV | DEC | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 | X | 15 | 24 | 5 | 1 | |||||||
| 2009 | 15 | 13 | 3 | 2 | 2 | 1 | 4 | 6 | 5 | 5 | 6 | |
| 2008 | 1 | 5 |
God, I want to have the iPad so I can start developing some applications for it! Well, not start, because I already started... But I want to hold it, and feel my app! 2 months to go...
Ruby script to check your website's response time // 1 comment
This is a small ruby script that you can use to check your server response time. It could come in handy when you want to use it to check your response time and analyze it. You can run the script you have to pass 2 arguments. The first on is the interval time (in seconds), and the second one is the website to check. > ./response 10 ...
Create a user for your MySQL database
When you want to start to develop a new web application then you'll have to create a new database. In my case I prefer using a MySQL database because it is the same as on my remote server. And I also prefer to create a specific user for each database. And here is how you do that! CREATE USER Go to your console and type the following line t...
Clean URL's in Rails // 1 comment
Another great and awesome informational article by me! PROBLEM When you create a new model (for example Post) you'll also have a posts_controller. This controller will be called from following URL: /posts/. But because I like clean URL's, I prefer it to be called /blog/. SOLUTION What I certainly don't want to do is change the nam...
Reinitialize your Git repo // 1 comment
This came in very handy when you want to reinitialize your Git repository from scratch without losing the current folder structure. WHY? I started developing an iPhone application and for API testing purposes I manually added my username and password in the code. And by accident I committed the change... So now my password was in the Gi...
Migrating MySQL to PostreSQL // 4 comments
I never thought I had to do this but I'm migrating my MySQL database to PostgreSQL for my Rails application! The reason why is that I want to use the same type of database in development as in production. The reason for using PostgreSQL as a production DB is thanks to Heroku. This is a great hosting company! I had a few problems while migr...
Using multiple Ruby versions
I was working on a project that still on Ruby 1.8.5 and locally I was using 1.8.7. At first you'd think, no problem! But reality showed me I was wrong... The count method wasn't supported on Arrays in the older version but I used it in my code and it worked with the newer version... So this failed in production! That's why I looked for a w...
Introduction on Cappuccino
A few weeks ago I decided to dive into the basics of Cappuccino. A nice web based javascript framework that gives the user the look-n-feel of a real (Mac OS X) desktop application. It's not only different for the user but also for the developer... He now can create web applications with Objective-C like code! So for those who adore developing...