CAT | General
13
Backup your Gmail account with getmail in ubuntu 8.04 LTS
0 Comments | Posted by Edwin in General, Ubuntu
Recently we needed to have backups for old email accounts in our Google apps account. We needed to free up some space and a way to reference back to the emails in these accounts.
I’ve found various options with Thunderbird and Mac Mail. But all require to play with the off-line or sync features. Also I needed something that I could run from the backup server without moving 25GB of email from one computer to another. After couple queries in google, I found a good solution which was using getmail to retrieve emails from POP Gmail accounts.
So, here it is. Please remember to activate POP or IMAP feature in your Gmail account settings before start.
(more…)
Thinking about what to write this month on my blog, it came to my mind I could probably write about the tools I use in my day to day development projects.
1. A MAC with OS X 10.5
Well to start I use a MAC BOOK PRO with OS X 10.5.7. This laptop has been with me for over a year and a half and is still as fast as the first time I turned it on.
2. Firefox 3.5B99 (yes the BETA versions, helping the community to debug)
Some days ago I decided to experiment with Twitter API. They offer a really simple to use API and good documentation that allowed me to create a function to submit to twitter using PHP and the curl library.
So, Twitter offer in its documentation something like this…. ” Post a status update and get the resulting status back as JSON: curl -u username:password -d status=”your message here” http://twitter.com/statuses/update.json “
Another consideration to rank higher in yahoo and google is making sure that your images contain the information about what they are representing.
For example, lets say a T-Shirt site, they usually have a bunch of designs or products related to a certain content. If your PHP code is generating these images or grabbing them from a Database (files names usually come from a Database), you probably want to take advantage of that by adding to the ALT tag the title of the product. This also accomplish two things: a) If user has a slow down in his connection he will see the product name until the image loads, making it easy for them to (more…)
Probably you already know all the SEO tips out there, but I think if you are working on a new project with PHP (btw php is my fav script language), you need to consider a way to handle “friendly urls”. You know, something similar to how WP handles the URL for evry post or page (i.e. mydomain.com/post_name ), instead of the usual page_id=12&type=post.
If you are interested on how to do it, check apache mod-rewrite or you can read more about how to do “Friendly URLS with PHP” at “The html blog“
