Archive

Archive for April 2010

Here are all the posts written in 2010 April.

Alertpay integration with CakePHP

Recently I implemented a payment module using Alertpay. If you searched for this kind of code you already know what Alertpay is. For those of you who don’t, Alertpay is a payment processor similar to Paypal. To implement this type of payment you must register for an account and activate the IPN option from the [...]

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 [...]