jump to navigation

Blog moved … October 30, 2008

Posted by Mayank in Uncategorized.
add a comment

I have moved this blog to another hosting provider.

The new blog can be found at here and its feed is available here.

Keep in touch, bye.

Advertisements

Me @ RIA Developer Summit 2008, Bengaluru September 18, 2008

Posted by Mayank in Uncategorized.
Tags:
2 comments

I was a speaker at the recently concluded RIA Developer Summit 2008 in Bengaluru, India. Was my first presentation at a public conference and it felt nice to interact with the users of the product we build. Look forward to seeing everyone at future events.

Me speaking at the RIA Developer Summit 2008, Bengaluru

Me speaking at the RIA Developer Summit 2008, Bengaluru

Howto: Speed up Firefox startup September 14, 2008

Posted by Mayank in howto.
Tags: ,
12 comments

Firefox is an amazing browser. The extensibility it provides by way of addons is becoming is problem too. When firefox startsup it usually checks for FireFox updates, updates to all addons and updates to all search engines. I did not, until today, realize that this process was such a time consuming process.

Turn off Automatic Update checks in Firefox and watch your browser popup as soon as u click on its icon :). To turn them off go to Tools > Options > Advanced > Update check off all the Automatic Update checkboxes. This leaves the onus of checking for updates on you, but I guess that better than waiting till eternity for Firefox to startup while it checks for updates of all the plugins you’ve installed.

Hope this helps …

Enjoyyy!!!

Getting started with Eclipse Plugin development September 7, 2008

Posted by Mayank in Uncategorized.
Tags:
add a comment

One of the most intimidating tasks when starting with eclipse development is setting up the workspace. I checked out the source code from the cvs repo but I would just not get the right projects in the workspace for the build to get through with ‘0’ errors …

And then I read this article. Amazing stuff, you have a fully functional workspace in a matter of minutes :). So all those of you who’ve been trying hard and haven’t quite reached there yet, get started using the Import Plugin Fragments feature and eclipse to get a jump start …

Enjoyyy!!!

View methods of base class in Eclipse August 22, 2008

Posted by Mayank in Uncategorized.
Tags:
add a comment

Ctrl + O brings up a list of methods in the opened file.

Did anyone know that on pressing Ctrl + O again, the popup shows methods from the base classes also?

Cool 🙂

Enjoyyy!!!

Howto: Add Basic Authentication Header to HTTPService July 4, 2008

Posted by Mayank in actionscript, flex.
Tags: , , , ,
7 comments

HTTPService in flex supports addition of headers as required. Follow the steps below to add authetication headers to your HTTPService when accessing a service protected by basic authentication.

<mx:Script>
    <![CDATA[
        import mx.utils.Base64Encoder;
        import mx.controls.Alert;
        
        private var baseUrl:String = "http://phprestsql.sourceforge.net/tutorial/user";
        private var auth:String = "p126371rw:demo";
        
        private function init():void{
            var encoder : Base64Encoder = new Base64Encoder();
            encoder.encode(auth);
            userService.headers["Authorization"] = "Basic " + encoder.toString();
            deleteUser();
        }
    ]]>
</mx:Script>
	

Enjoyyy!!!

When Cricket Meets Web 2.0 … June 15, 2008

Posted by Mayank in Uncategorized.
Tags: , , , ,
add a comment

Cricket is one of the unofficial religions for lots of Indians. While the use of technology on field is going to be a debatable issue for sometime to come, there is not doubt that any technology enabling a cricket follower to get scores faster and more reliably is going to be one of the hottest things in town.

Most of the time, users spend time trying to find a site which refreshes scores without going into an endless request …

Well, cricketnirvana.com now has an answer to the yearning cricket fan which will offer him live score updates (without the need to click on any refresh buttons), the manhattans and graphs (that he is used to seeing during any live telecast), videos and much more …

Get your hands on a copy of the desktop client checkout Cricket Center beta here. A small demo of the features of the client is available here.

For the technology enthusiasts, this client was built using Adobe AIR.

Enjoyyy!!!

Howto: Setup ssh authentication without password April 25, 2008

Posted by Mayank in ssh, ubuntu.
Tags: , ,
add a comment
    create rsa/dsa keys using ssh-keygen utility. run the comand ssh-keygen


    mayank@B2 /home/mayank
    $ ssh-keygen
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/mayank/.ssh/id_rsa):
    Created directory '/home/mayank/.ssh'.
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/mayank/.ssh/id_rsa.
    Your public key has been saved in /home/mayank/.ssh/id_rsa.pub.
    The key fingerprint is:
    a7:00:03:16:e3:31:69:6d:cf:e0:5e:b7:e6:91:2c:80 mayank@B2

    scp the generated public to the target machine under the home directory of the user to which you would like have a password-less login.

    @:~user_name/.ssh/authorized_keys2

Next Steps:

Now when you try to ssh to the remote machine, you will be prompted for the passphrase each time. To avoid this you can use keychain. More information about that is available at the following pages.

http://www.ibm.com/developerworks/library/l-keyc.html

http://www.ibm.com/developerworks/linux/library/l-keyc2/

http://www.ibm.com/developerworks/linux/library/l-keyc3/

Enjoyyy!!!

Useful Firefox Plugins February 18, 2008

Posted by Mayank in Uncategorized.
Tags:
add a comment

This is a list of some of my favorite firefox plugins …

Tab Mix Plus – https://addons.mozilla.org/en-US/firefox/addon/1122

DownloadThemAll! – https://addons.mozilla.org/en-US/firefox/addon/201

Web Developer – https://addons.mozilla.org/en-US/firefox/addon/60

Firebug – https://addons.mozilla.org/en-US/firefox/addon/1843

Greasemonkey – https://addons.mozilla.org/en-US/firefox/addon/748

Live HTTP Headers – http://livehttpheaders.mozdev.org/installation.html

IE Tab – https://addons.mozilla.org/en-US/firefox/addon/1419

WML Browser – https://addons.mozilla.org/en-US/firefox/addon/62

Mouse Gestures – https://addons.mozilla.org/en-US/firefox/addon/39

Google Toolbar – http://toolbar.google.com

Google Notebook – http://www.google.com/notebook/download

Enjoyyy!!!

Howto: Uninstall Powershell 1.0 February 16, 2008

Posted by Mayank in powershell.
Tags: ,
52 comments

When you try to install Powershell 2.0, you are prompted to uninstall other versions of Powershells before going ahead with the installation. But neither does powershell appear in Add/Remove programs nor is there an uninstall shortcut in the programs menu.

To uninstall powershell 1.0 run add/remove programs (appwiz.cpl from Win+R) and click the “show updates” checkbox. Powershell will now be shown. It can be removed by clicking on remove :-).

Enjoyyy!!!