How to Backup a Website on Unix

Marc-Antoine Ross March 30th, 2006 Add comment

I am always searching and searching for the same shell commands. I don’t use them often enough to remember them. Here’s one to backup your whole site directory into one archive file:

tar -cvzf ~/$(date ’+%F_%H%I%S%P’).tgz ~/domain.com/

This will backup the whole folder “domain.com” into an archive. The filename will include a timestamp, which is quite useful!

What should I bring you back?

Marc-Antoine Ross March 23rd, 2006 5 comments

You want me to bring you something back from my current or next trip? Just leave a comment with your request and I will try to get it for you!

Cheers!

Prototype Cheat Sheet

Marc-Antoine Ross March 17th, 2006 Add comment

Here is a link to a very good cheat sheet on Prototype by Jonathan Snook: Snook.ca.

XHTML bases

Mario Laflamme March 15th, 2006 Add comment

Here is a list of different valid XHTML bases which can be used. The first one is the one that I use most of the time, but the others can be useful in certain cases. (more…)

HTML bases

Mario Laflamme March 15th, 2006 Add comment

Even if I advocate the use of the XHTML, the HTML can be useful in certain cases. Then, here is a list of valid HTML bases which can be used. (more…)

An indexable popup… it’s possible!

Mario Laflamme March 10th, 2006 1 comment

The use of popups is very wide-spread, but most of the time they are not indexable. Nevertheless, there is a very simple way to conceive popups which can be crawled by the robots of search engines. (more…)

XHTML: Open a link in a new window

Mario Laflamme March 9th, 2006 1 comment

Sure, you can to use the tag target=”_blank” to open a link in a new window with XHTML, but this tag is not valid. A simple and effective alternative is to insert the following JavaScript function in your pages and to add the tag rel=”external” to the appropriate links. (more…)

Google Analytics - the waiting has started!

Marc-Antoine Ross March 8th, 2006 3 comments

This is something that can drive me crazy quite quickly. Everybody talked about Google Analytics and all but I’ve been using Urchin for a client and I wasn’t too curious to create a Google Analytics account yet… but now I need one and guess what? It is now “Invitation only”. Please subscribe and we will send you a code when we open more room for you. I want it noooooow! Am I the only geek on earth that can’t wait more than 10 minutes for something?

Reading in a few forums, it varies from a few days to a few months… Anybody has a hint?

An immediate rollover… with no delay!

Mario Laflamme March 7th, 2006 Add comment

I am convinced that most of you have already faced the problem caused by the rollovers with the delay of downloading the images. Several scripts exist and some work better than the others but the following technique is my favorite with its lightness… and even its accessibility! (more…)

Here we go!

Rico Nagtalon March 6th, 2006 Add comment

I consider it an honor to be part of the DevTaxi team. Marc and Mario have been in web development far longer than I have (they were doing server-side scripting when I was still ecstatic from having learned JavaScript image-swapping). Read what they write! Between the two of them, they have close to 20 years of development experience and have come up with some pretty spiffy stuff. I feel privileged to be writing side-by-side with such seasoned coders. (more…)

Previous Posts Next Posts