ShareThe Dilema Do you have a MySQL database with LOTS and LOTS of tables? Well, if you’re like me sometimes schemas can contain tons of tables with tons of rows per table. What if you want to clear out all the tables from time to time? Well, there’s an easy way to handle this, than …
Category Archive: quick tips
Nov 16
Using Xvfb to Hide those Pesky Windows
ShareDo you have a script that opens up all sorts of windows? Maybe a scraping/posting script that opens up a Firefox session or some other window that you really don’t care to watch or clutter your desktop? As an example, I run a series of selenium scripts (I’ll have a tutorial on this later) that …
Sep 21
Automount a Samba Share with fstab
ShareDo you have another machine that acts as your fileserver? Do you want to automount your samba share so you can access the files on another machine seamlessly? Here’s how to do it in 4 easy steps on Ubuntu 11.04: Step One First, we need to setup a file with our username and password to …
Aug 28
Using “Tree” to output directory structures
Share Here is a life-saver of a command that a lot of folks don’t seem to mention often. I use it all the time so I feel it’s my duty to evangelize this guy. The person/program that I’m referring to is ofcourse “Tree”. Tree isn’t included in a default Ubuntu install so you’ll need to …
Aug 28
How To: Identify different audio devices
Share Just have a quick tip for today on an easy method to identify different alsa audio devices on your linux box. If you’ve ever tried to figure out which audio device is your hdmi output amongst 10 or 15 different devices you’ve probably figured out just how frustrating it can be. Here are a …
Jul 24
Checking Shutter Actuation Values /w “Gphoto2″
ShareGphoto2 is the command-line client for the cross-platform digital camera library that is libgphoto2. Gphoto2 can do some pretty amazing things and supports a great many cameras presently on the market including the majority of Canon and Nikon DSLRs. I found-out about Gphoto2 when trying to find out how many pictures (shutter actuations) my newly …