To catch a thief, or for self defense you got to think like one. Google announces Jarlsberg, a web application that allows its users to publish snippets of text and store assorted files. “Unfortunately,” Jarlsberg has multiple security bugs ranging from cross-site scripting and cross-site request forgery, to information disclosure, denial of service, and remote ....
[Read More]
Consider a situation where you had to execute a job depending on whether another/same program is running. To solve this problem, we take the help of tasklist,find commands. Here is the code which gives us that information, save it as a batch file and tweak it to your needs:
In this example, we are checking for ....
[Read More]
Rational Application Developer (RAD) V 7.0 sometimes functions weird, the search menu is all disabled in all the perspectives and views.
The temporary solution is to click the Search Icon Alternatively use the shortcut Ctrl+H, which brings the same widget .
This issue seems to be a bug in Eclipse. It is sporadic. Generally a restart ....
[Read More]
Add-Art is a firefox plugin that would replace banner ad’s with some art. However lately, it’s become an embarrassment to see such images being called as art, see Image below.
I keep checking Cricinfo at work to stay abreast with the scores, hence I had to do something about this. The good old GreaseMonkey came ....
[Read More]
Try running this piece of javascript, it would throw a “URI malformed” exception.
javascript:alert(decodeURIComponent(escape(’http://rushis.com/®’)));
The ® character is transformed to %AE, which is not a valid input to decodeURIComponent function.
This issue is clearly evident in the latest prototype js 1.6 framework.
_getHeaderJSON: function() {
var json = this.getHeader(’X-JSON’);
if (!json) ....
[Read More]
