I’m back from my vacation and this is a smallish post before we return to our regular programming (I’m full of puns ). Rahul (my friend and guest author on this blog) introduced me to an old-but-useful trick a few days ago that I didn’t know about. It’s about customizing nautilus to display a context menu that has a few of your chosen scripts to weave their magic on the selected object.
Admin Note: Rahul is a long time friend of mine, and is a well known geek amongst his friends and colleagues. I’m happy to announce that he will be enriching this site from time-to-time as a guest editor/author. First up is a small tid-bit of a script that he wrote to ease up his life between installations and reinstallations of everyone’s favourite OS: Ubuntu. Over to his post.. Have you ever had to reinstall your ubuntu installation, and then bear the pain of manually installing the applications you’ve come to love (i mean use :)) everyday?
The question that we will be answering today is: **Q2: **Cron? Using tar, making up the script file is enough command line for me. Isn’t there an easy way? Cron is a tool that can schedule any kind of tasks for you, and here we are using it to run our backup script automatically, so that we can concentrate on blogging. Now, most of us are phobic of anything that has anything to do with command line.
"Alpha to Bravo, over. Come in, Bravo, over.. We are under attack, over.. Send reinforcements asap. over and out". Well, if you dream about conversing like this, then you are better off playing something like COD4 or BF2, but if you are into a little bit less intense military warfare, and are a fan of games like worms, tanks, etc (I’m a convicted Worms World Party addict on my HTC Wizard) then you are in for countless fun-filled, sleepless nights.
If you thought that a webcam is just for getting in visual touch with your distant friends, then you could not be more wrong. There are many other uses e.g., making videos, rudimentary security systems, etc. But I didn’t know that it’d be as simple as a a few keystrokes and a couple of clicks, until I stumbled across this article on Linux.com - Five fun ways to use a Linux webcam.
jeffro2pt0 has a little contest going on his blog, giving out coupons to wpdesigners.com which lets you get atleast 12 WordPress themes for just 5$. Only thing you have to do is give a unique idea that could help improve wordpress. Now, I don’t want anymore themes (actually I’m a cheap-skate who can’t spend even 5$ for a theme, unless one of you decides to get me one ), but I got a few ideas instantly.
If you serve any kind of files for download on your WordPress blog(s), one thing you should definitly be looking out for is a download manager plugin. Post attachments are oh-so-2007. Uploading files to your server and hand-posting links everywhere is a pain in the butt. And what about your hunger for statistics? Well, if you agree with me, then i would like to tell you about two fantastic plugins:
Today, this blog completes one month of its existence in this world. The achievements, although minuscule in comparison to all the biggies out there, are significant for me. It achieved the following things in just 30 days from the first post: Front-paged at LifeHacker, HacksZine, and many others. Over 10000 (Ten Thousand) “unique” human visitors. Over 30000 (Thirty Thousand) page views by humans. Over 500000 (Half Million) total hits for all website files included.
Last time, I had told you about how to reduce the backup size. Well, this is a short note further developing on the approaches discussed there. Basically, telling tar to backup only those files which have changed. For this, Linux has a command “find” which I am very fond of. You can give it a option “-newer” followed by a f”_filename_” and it will return the names of the files that are newer than filename.
If you are moving your blog, or just want to start afresh, you would definitely use some way to import your old content into the new place, instead of manually copying and pasting everything. Generally this means saving your database and importing into the new place. But: You have seen WordPress importing your/others’ blogs from other services automatically. Wasn’t that quick and easy. Your databse has become overly full of so much trash over the years and you would like to trim out all the fat and take just the meat (the posts, pages, comments, tags, custom fields etc)