Category Archive: scripting/coding

Apr 10

Quickly Truncate MySQL Tables

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 …

Continue reading »

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 …

Continue reading »

Nov 03

Using “Expect” to Automate CLI Interaction

ShareHey guys (gals too), So because of certain regulations with work, I cannot directly access certain areas of the network. This leads me to being forced to jump through two servers to get to where I need to be. Kind of annoying– when you end-up having to log in more than twice just to get …

Continue reading »

Jul 23

Compiling “Ipager” for better workspace-switching

ShareTo put it simply, Ipager is an awesome program. Whenever I use Gnome, one of the applets that’s always on my gnome-panel is the workspace-switcher applet. One of the major problems with that app is the size. Workspace-switcher is TINY and there’s no setting to change that nor will there ever be as it’s an …

Continue reading »

Jul 22

Compiling drivers for the Cisco AE1000

Share Need Linux-friendly dual-band (2.4ghz & 5.0ghz) 802.11n wireless support in a beautiful form factor? If so, the Cisco AE1000 could work for you. One of the nice features of the AE1000 is that it comes with an external cradle which allows you to move the adapter/antenna around to get optimal reception (this was the major selling …

Continue reading »