Adding a JS library to existing greasemonkey scripts

Aug. 29, 2011, 1:58 p.m. Greasemonkey , JavaScript , jQuery

So the other day, I posted about how adding jQuery to a greasemonkey scripts has become pretty easy. It wasn’t always like  that. The same approach can also be used to add YUI, Prototype etc to any GreaseMonkey script. Now suppose you want to add such a library to existing GreaseMonkey code? Well it ...

tweetupSL – Should I Stay or Should I go?

Aug. 27, 2011, 2:01 p.m. tweetupSL , twitter

“Darling you got to let me know, Should I stay or should I go”  - The clash.The rest of the lyrics have little relation to the Tweetup but should I stay or should I go from the Clash’s 1981 album sure is catchy.  So should i stay or should I go? Decisions. Decisions.I attended the first tweetup held ...

Greasemonkey and Jquery Revisited

Aug. 26, 2011, 2:07 p.m. Greasemonkey , JavaScript , Macbook

Thousands have geeks have been combining the power of Greasemonkey and Jquery thanks to a small to a small tip published by Joan Piedra which explains how to load jQuery by adding script tags to the web page using Greasemonkey code. This approach was needed because jQuery and Greasemonkey didn’t pla ...

MySQL stored procedures with PDO or mysqli

Aug. 21, 2011, 1:48 p.m. mysql , mysqli , PDO

So it looks like the whole world is moving from the PHP mysqli api to PDO (mysqli? what the hell is mysqli? guess you are asking cause you picked up PHP only during the last two years). There are millions of lines of PHP code out there that still uses the mysqli api and caveat that used to trip up c ...

A few wordpress issues here and there

Aug. 17, 2011, 10:59 a.m. Wordpress

This blog is pretty old now, it's origins date back to 2004 In the early days it was hosted on blogger and then on this site itself through MovableType and then finally it moved from MT to Wordpress. Though I had blogged about WP even as far back as 2006, the actual move wasn't made until 2008In the ...

Assume the regulators will not do their job

Aug. 16, 2011, 3:08 a.m. ASI , MPI , Williams

Was it the legendary trader Larry Williams who said you should assume that the regulators will not do their job? So you should be surprised if they take action against manipulators. So we should not be surprised that the last successfull action against manipulators by the Securities Exchange Commisi ...

Moving the goal posts

Aug. 10, 2011, 1:38 a.m. Bubble , cse , entropy , sec

The absolute zero of temperature is unattainable - the third law of thermodynamics.   Prof. Jerence Nansel Oleap Fernando better known as Prof JNO, lectured us on Thermodynamics during our final year at the University of Colombo. He likened the attempt to reach absolute zero to a game of footb ...

Double Dip Recessions and Bubble 2.0

Aug. 9, 2011, 4:19 a.m. Bubble , Recession

The grim prospects of a double dip recession appear to be amongst us and already some economists are saying 'I told you so' while others are saying it's going to be bigger and badder than the one before. In response markets across the world have been tumbling. The sell offs began with the US credit ...

Flash Crash of the CSE

Aug. 8, 2011, 1:28 p.m. ASI , BUKI , Candles , HNB , MPI , NYSE

It was the most interesting day of the year at the CSE. With in seconds of the opening, the Milanka Price index plummeted more than 4% when the index heavy Hatton National Bank (HNB) plunged from 220 to 120. Not as bad as the flash crash of the NYSE when the Dow plunged 9% and recovered but disturbi ...

Macbook LCD dead.

Aug. 5, 2011, 3:32 a.m. toast

The following post that was originally written around Christmas time but someone was never published. Couple of weeks back I wrote about my ailing macbook, since then it has died. Well it died quite a while ago, I didn't get around to writing about it till now.The cause of death is a faulty display. ...

Analysing the plantation sector results

Aug. 3, 2011, 3:57 a.m. Commodities

If there is a code of conduct that stockbrokers are bound by, I and many of the stockbrokers in Sri Lanka have never heard of it. They and their blind followers in the equity forums were happily urging all and sundry to buy into plantation sector companies. Occasionally when someone questioned the w ...