Month: October 2011

Define

Just a quick script for looking up the definition of a word via the commandline… touch define vim define add the following code then :wq to save #! /bin/bash # display definition of a word # curl –stderr /dev/null dict://dict.org/d:$1 | sed ‘/^[.,0-9].*$/d’ then, chmod +x define mv define /usr/bin/define Usage # define linux Linux…


Monitor file changes live

Here’s a quick one for ya… watch -d -n 2 “df; ls -FlAt;” This brings up a top like interface which every 2 seconds shows files which are being written to. Enjoy 🙂


Mikogo

Looking to host an online meeting without paying through the teeth? Look no further. Mikogo is a free desktop sharing tool full of features to assist you in conducting the perfect online meeting or web conference. Take advantage of the opportunity to share any screen content or application over the Internet in true color quality…


Install YUI Compressor

Install YUI Compressor – A code minification tool wget http://yuilibrary.com/downloads/yuicompressor/yuicompressor-2.4.2.zip unzip yuicompressor-2.4.2.zip mv yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar /opt/fileconveyor/code/processors/yuicompressor.jar or Install YUI Compressor via apt: sudo apt-get install yui-compressor Compress the script: java -jar /usr/share/yui-compressor/yui-compressor.jar –type js -v myscript.js -o myscript.min.js RPM available here from http://rpm.pbone.net


Secure-Delete

From ubuntugeek.com The Secure-Delete tools are a particularly useful set of programs that use advanced techniques to permanently delete files. To install the Secure-Delete tools in Ubuntu, run the following command sudo aptitude install secure-delete The Secure-Delete package comes with the following commands srm(Secure remove) – used for deleting files or directories currently on your…


Ubuntu 11.10 add applets to top panel

Just a quick note; I upgraded to ubunutu 11.10 and really missed my applet links in the top panel (yup, using Gnome classic) I could not find out how to add them back in. After a little tinkering, I found the using “ALT + Right Click” on the top panel will open the old ‘add…


FSniper

fsniper is a tool that monitors a given set of directories for new or modified files. Then, based on the file’s type or name, it invokes a script to be run on that file. Directories are monitored using inotify, instead of simply continuously polling them for changes. Common uses include making a single download directory…


Export WordPress Blog As Readable Text

From scrawlbug.com I must be in a bit of a retrospective mood at the moment. Despite spending about six hours on a single piece of work yesterday, I found myself wandering back through some of my blog posts. Surprisingly, I rediscovered quite a few I had forgotten and several that were really quite good. I…