Archive for the ‘Uncategorized’ Category

JavaScript - links

Friday, January 2nd, 2009

Some JavaScript links

 

http://www.javascriptkit.com/javatutors/closures.shtml

 

https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Class-Based_vs._Prototype-Based_Languages

Closures - a none academic explanation that normal programmers can understand!

Friday, January 2nd, 2009

See this article which I have repeated below:

http://www.javascriptkit.com/javatutors/closures.shtml

It refers to closures in JavaScript but the explanation applies equally to C# delegates.

A closure is the local variables for a function - kept alive after the function has returned, or

A closure is a stack-frame which is not deallocated when the function returns. (as if a ’stack-frame’ were malloc’ed instead of being on the stack!)

Look at the article for the fuller explaination.

http://www.javascriptkit.com/javatutors/closures.shtml

 

Location Of IE Favorites

Friday, January 2nd, 2009

To changed the location of my IE favorites from my local hard disk to a network share:

1. Start Regedit
2. Go to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
3. Double click on Favorites in the right hand panel
4. Enter the new location
5. Click on the OK button
6. Do the same for the User Shell Folders section a few lines down
7. Close Regedit
8. Create the directory you just pointed to
9. Copy any existing Favorites to that location
10. Be sure to include all folders
11. Start the Internet Explorer