Author

in-sanity

How to paginate search results in CakePHP

Question: How do I paginate data from a model based on a keyword submitted by a user? I must say that it’s a little tricky because the Pagination component in CakePHP uses GET parameters to do it’s magic. That wouldn’t be a problem if I didn’t care about my URL structure but for SEO purposes [...]

Get your free .com domain now

Get your free .com domain now

This is a Sponsored Post written by me on behalf of Nexx Inc. All opinions are 100% mine. YES! Your eyes don’t deceive you. I want to share a story with you guys. A story about how I came to have a website, how to share stuff over the web with you, how to give [...]

How to switch between databases in CakePHP on the fly

Ever needed to connect to another database in your cake app but got stuck and came with another solution? There is a rather simple way to do this and I think it can be extended to other data sources too (not tested but let me know if you do ). Let’s get to it. First [...]

How to bake on Ubuntu using cakePHP

How to bake on Ubuntu using cakePHP

Today I started a new project that I’m developing for school and I thought I’d do it using cakePHP. I went ahead and downloaded xampp for linux and a fresh copy of the cakePHP framework, 1.3.0-RC3, and I extracted it to my webroot. After I created a virtual host for it, it was time to [...]

Fix for wireless connection stability problem after update on Ubuntu 9.10

Fix for wireless connection stability problem after update on Ubuntu 9.10

I’ve noticed that after updating my Ubuntu system, my wireless connection was a bit unstable. What I mean by that is loosing the connection shortly after getting connected. I don’t know if it’s a problem specific to my wireless card, but this fix worked for me and I’m going to share it with you now. [...]

Update grub menu after kernel updates on Ubuntu 9.10

Update grub menu after kernel updates on Ubuntu 9.10

As we all know, after each kernel update we must use a sudo apt-get autoremove to get rid of the old kernel images. This, however, does not take care of the grub menu which is updated with the new kernel along side with the old kernel entries. To update the grub menu, you must use [...]

Who doesn’t like music?!

Who doesn't like music?!

I’m a huge fan of the progressive metal band Dream Theater and I love to play their tunes on the guitar. Having said that, I know that sheet music is a little hard to understand for some people when they see the song notes for the first time. To come in the aid of those [...]

Key shaped USB drive

Key shaped USB drive

We all hang our USB flash drives to our key chains because we don’t want to forget to take them (I mean… you don’t normally forget to take your keys with you, right?!). So, to have a more natural look of the key chain that should have keys hanging on it (you know.. it’s a [...]

The holidays are coming

I can’t believe how time flies. It seems like yesterday I was on a shopping spree for Christmas gifts, outfits for the Christmas party, for the new years party, spreading the good old Christmas cheer to all friends and family in the whole process. I like to have a Christmas present package. I mean I [...]

Using the ArrayList object in JAVA

I continue sharing with you bits of code from my JAVA project picking up the thread left in Running SQL queries in JAVA. I remind you that I must develop a library application for school project. So far I showed you how I connected to a database and how I manipulate data from that database. [...]