Years ago, I was inspired by a dance I saw on “So You Think You Can Dance” concerning people with cancer to write this. Last night, I revised it and decided to put it up here: The One-Footed Dancer This is a poem of no glories It’s just one of those plain old stories It…
Author: milad
Surrender to the Legacy (2)
Following my previous post, I want to report on my experience with Microsoft Windows 8. First of all, I want to say that it was, as propagated, better than 7 in many ways. It was more polished and more robust. I experienced no Blue Screen of Death messages. But, it was no good either. I…
Surrender to the Legacy
I have surrendered to the legacy of Microsoft, Windows 8. This is because now as part of my job I have to test applications on the new Internet Explorer. I have installed Windows 8 on Mac’s Boot Camp partition. It is not the best experience in the world, but it is not bad either. So…
The Cosmere
I have been reading some of Brandon Sanderson‘s works. Also, I have been listening to them, since I have the audiobooks as well as the actual texts. It has proved to be a fresh pleasure. I had thought that Martin’s A Song of Ice and Fire was going to be a rare gem, not to…
MediaWiki Contributions: My Extensions
Recently, I have decided that I want to start writing some extensions for the MediaWiki wiki engine. This is, in addition to being a chance for me get a hands-on knowledge of the project and its code base, a real opportunity to actually contribute to the software I have been using for ages. Of course,…
Distraction Affliction Correction
One of these days, I really have to do this: http://blog.xkcd.com/2011/02/18/distraction-affliction-correction-extensio/ I find myself wasting time … losing as much as hours constantly jumping from one thing to another. This has become so much of a problem that when I am not at work, I hardly manage to accomplish anything. The only thing I do…
JPowerPack
I have been busying myself lately with writing a set of powerful tools for any Java programmer, dubbed JPowerPack. This might seem — and indeed, to myself, it sort of does — like an ambitious and arrogant bearing, but I feel like I have the knowledge at the moment to try and embark on this….
Count Lines From Standard Input in Shell
Here’s a script that will help you count the lines of input from the standard input: result=0 while read inputline do result=`expr $result + 1` done echo $result Now, you can find out the number of files in a directory using: ls -1 | count Update As Jeff Harver has kindly pointed out in the…
Backup Your Linux Machine
I was up to maintenance of my Debian box, and I came in need of creating and maintaining multiple, date-based backups of the machine. Here is the bash script I wrote to accomplish this. #!/bin/bash #Shell Script to backup desired target verbose=”0″ tarv=”” if test “$1” == “-v”; then verbose=”1″ tarv=”-v” fi if test “$verbose”…
Having Your Shell Tweet
Have you ever wanted to have your *nix shell access Twitter? Using the RESTful API, you can achieve this. However, you would need to set up your instance as an app and then configure the API keys and all the what-nots. I personally try to avoid such hassle whenever possible. So, I got this shell…