Archive for August, 2009

Facebook phone number exporter

I came across this script and it worked for me. This is a good time saver!

Leave a Comment

JSLint – set exception options

I worked with JSLint today to clean up my local code. While cleaning, I encountered a parameter name that had underscore in its name. JSLint didn’t like this and complained. Since this parameter name was used to communicate with the server and could not be changed, I needed to set an exception in the JavaScript file. This led me to the options section of this page. All I had to do was adding the following line at the beginning of the JavaScript file and JSLint stopped complained about the issue:

/*jslint sub: true */

Comments (1)

a vi trick

Vim loves to auto indent. This can present a challenge when pasting text. Auto indent can distort the formatting. The trick documented here is very helpful. Instead of using F3 key stated in the document. I used underscore. It worked beautifully!

set pastetoggle=_

Leave a Comment

JavaScript trick

This might be useful trick to upload and display an image.

Leave a Comment