Tech

I set a lot of reminders for myself on my company e-mail and I don't have a blackberry yet. I kind of want one for all the great features, but on the other hand I'm concerned with how connected that would make me and thus make me feel obligated to respond. Here's a list of e-mail addresses for some of the most popular carriers (in the US) just replace phonenumber in the addresses below with the proper phone number.

T-Mobile: This email address is being protected from spambots. You need JavaScript enabled to view it.

Virgin Mobile: This email address is being protected from spambots. You need JavaScript enabled to view it.

Cingular: This email address is being protected from spambots. You need JavaScript enabled to view it.

Sprint: This email address is being protected from spambots. You need JavaScript enabled to view it.

Verizon: This email address is being protected from spambots. You need JavaScript enabled to view it.

Nextel: This email address is being protected from spambots. You need JavaScript enabled to view it.

As a side note, you can also do this with a service called teleflip. It's the same thing as sending it to one of the other formats, but it adds a footer to the e-mail that says "Email on your cell - teleflip.com". I just use my SprintPCS address like above to send reminder messages to myself and it's not that hard for me to remember the one address. I can see how it would be beneficial if you wanted to send messages to multiple people though. Teleflip also has some commercial offerings on their website that do more advanced e-mail to SMS features. To use teleflip, send the e-mail to the following:

Teleflip: This email address is being protected from spambots. You need JavaScript enabled to view it.

The following is a short code snippet on how to view which MySQL databases are available for a user, then a command to back them up. This should work on Unix and Linux variants.

To view what databases are available to be backed up, run the following command:
$ mysql -u root -h localhost -p -Bse 'show databases'

To backup each database, run the following command:
$ mysqldump -u root -h localhost -pmypassword databasename | gzip -9 > faqs-db.sql.gz

Here's a quick code snippet on how to backup files and restore them from the shell.

To back them up, run the following code:

$ tar -zcvf filename.tar.gz folder/

To backup all files in the directory you are currently in, run:
$ tar -zcvf filename.tar.gz .

Here's a breakout of the parameters:
z - gzip compression
c - compress the files
v - verbose output (lists the files)
f - file

To uncompress the file(s) (eg. unload to server - overwriting files), use the following:
$ tar -zxvf filename.tar.gz

The key difference is the c in the compress command above was replaced with an x for the extract command.

 

Upgrading from Joomla 1.5RC4 to Stable (Production) was a breeze. There was no need to make changes to database structure or anything. Simply download the full stable release, upload to my server, and overwrite the files. Here's how I did it from the shell.

Navigate to the proper directory:
$ cd /mysite/

Download (wget) the new compressed file:
$ wget http://joomlacode.org/gf/download/frsrelease/5078/21064/Joomla-1.5.0.tar.gz

Uncompress over old files:
$ tar -zxvf Joomla-1.5.0.tar.gz

Remove the installation directory:
$ rm -fR installation

I then visited the site to check to make sure everything was working. Sure enough, it all worked great! I would highly recommed creating a backup of your site files and database. Here are some links from my site on how to do this from the shell:

Create a MySQL Backup from Shell
Create file/website backup from Shell

About Me

Josh Lyon Profile Picture

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Valley Ranch (Irving), TX
E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
ProfilesGoogle, Twitter