teknikqa's blog

Genius is overrated

  • Posted on: 28 November 2010
  • By: teknikqa

An old but thought provoking article from the February 1924 issue of The American Magazine - Why I Never Hire Brilliant Men.
Simply put, genius is overrated. So is perfection.

This is where I found the article. (Tao Yue explains how he discovered this gem).

In case, you just want to read the article.

Uploadprogress in Dreamhost

  • Posted on: 18 August 2010
  • By: teknikqa

Uploadprogress is a useful php extension that displays the progress of a file upload.

Till recently I assumed that you couldn't set it up under a shared hosting environment. I'm glad that I was wrong.

This comment in the Drupal forums gives step-by-step instructions on how to do it. (PECL uploadprogress on shared hosting)

I'll have to document the entire process for archival purposes. But some other time. For now its all there in that link.

Bible Quotes and inspiration for the week

  • Posted on: 27 August 2009
  • By: teknikqa

I was told two biblical passages before my interview this week.

Then I replied to them, “The God of heaven will make us prosper, and we his servants will arise and build"
- Nehemiah 2:20; http://ref.ly/Ne2.20

In your strength I can crush an army; with my God I can scale any wall.
- Psalm 18:29; http://ref.ly/Ps18.29

Its inspiring that there are people praying for me. People praying even without me asking them to pray. Its motivating and humbling to know that others think about and care for me. This might sound strange. But these people are ones with whom I last saw more than a year back. We have occasionally talked. But that's about it. I have not told them that I was looking for a job. And yesterday, I get a mail that my old prayer fellowship is praying that I get a job soon.That is just amazing. (And it show the true Christian love).

This is why I've always believed that relationships are more important that any other worldly accomplishments. I would rather have wonderful friends and family and be happy, but poor than have all the riches in the world, but no one to share my joys with.

I pray that the Lord may guide me through the difficult paths of this life.

Oh, the interview went well. They didn't ask many technical questions. Here's one more verse to inspire for the week.

I am the vine; you are the branches. If a man remains in me and I in him, he will bear much fruit; apart from me you can do nothing. - John 15:5; http://ref.ly/Jn15.5

HOW TO: Use personal Bit.ly account with UrlbarExt

  • Posted on: 23 July 2009
  • By: teknikqa

UrlbarExt is a wonderful add-on for Firefox. It provides useful tools from within the address bar of Firefox.


To quote,

UrlbarExt extends the Location Bar with set of commands to (Make Tiny URL,Copy URL,Search site,Go up,Tag pages easily ,Navigate through sequential URL's,View page cached version,Unblock filtered websites and Surf anonymously using online phproxy servers).

This helps to shave a few key strokes from repetitive tasks. Like, copying an URL, searching a site, creating a tiny URL for a link, etc. This is one add-on that is highly recommended for power users. I use bit.ly to create tiny URL's. bit.ly provides statistics for each short URL. This makes for great info. However, the default bit.ly URL shortener in UrlbarExt does not save this to your account. Follow these steps to use your bit.ly account with UrlbarExt.

  • Go to Tools -> Add-ons.
  • Find the UrlbarExt add-on and click on options.

 Firefox Addons

  • Click on the Tiny tab (the second tab from left).

  UrlbarExt Options 

  • Add a new service by clicking on the + symbol. This will create a new url shortening service. Change the caption to whatever you like.
  • Enter the following into the api column.
  • Enter the following into the Arguments column:

    Replace user_id with your username and api_key with your bit.ly api key. (You can get a bit.ly api key at http://bit.ly/account). Update: Replace these terms in the string above.

  • Enter the following into the Filter column:

    This will filter the output and return the shortened url to the address bar.

  • Make sure to select this new service by clicking the radio button in the # column.
  • Click OK and you're set.

In short, this is what I've done. Using the 2.0.1 version of the api, I've given a long URL to bit.ly and asked it to shorten the URL. bit.ly will then return the result in xml format. The shortened URL is listed within the <shortUrl> tag. Filter the resulting xml for this tag and we get the short URL.

Reference: bit.ly api documentation at http://bit.ly/s8BO.

Firefox 3.5 is here!

  • Posted on: 30 June 2009
  • By: teknikqa

Firefox has been updated to version 3.5. This version boasts of a few cool features, such as HTML5 Support and Geo-location.
Get more details at http://lifehacker.com/5295655/top-10-firefox-35-features

Check out this video of what HTML5 can do. http://hacks.mozilla.org/2009/06/connecting-html5-video/

Of course, a version upgrade is never complete without breaking something. My upgrade listed the following extensions as incompatible. Hopefully, these extensions will get upgraded soon.