Archive

Archive for the ‘Dev’ Category

Learning AngularJS – Part 1

April 19, 2015 Leave a comment

angularJS

Prepare your favorite text editor:

I use WebStorm https://www.jetbrains.com/webstorm/download/
webstorm

SublimeText is also quite a good choice, https://www.sublimetext.com/

sublimetext

Install nodejs: https://nodejs.org/

nodejs

Install bower package manager, http://bower.io/

bower

sudo npm install bower –g

Install karma test runner, https://karma-runner.github.io/

karma

sudo npm install karma -g

Install latest JDK, http://www.oracle.com/technetwork/java/javase/downloads/index.html

logo-java

Install Selenium browser automation, http://www.seleniumhq.org/

selenium

npm install selenium-webdriver –g

Install protractor, https://angular.github.io/protractor/

protractor

sudo npm install protractor -g

Install grunt, http://gruntjs.com/

gruntjs

sudo npm install grunt-cli -g

 

Install yeoman, http://yeoman.io/

yeoman

sudo npm install yo -g

 

Install angular and karma generator

sudo npm install generator-karma generator-angular -g

Create your first AngularJS App

yo angular helloAngularJS
Categories: Dev, null

Installing visual studio 2012 on windows 8 release preview

September 18, 2012 Leave a comment
  1. Find the following registry:
    x32: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full.
    x64: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full
  2. Right click on the node, choose Permissions, then click “Advanced” button and change owner of this node to Administrators and then click OK and give Full Control permission to Administrators
  3. Change the value of “Version” parameter to “4.5.50709”

 

Refer to http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/e968a2e7-a996-4492-b0c6-da94a1403cb6

Categories: Dev, null, Windows

Setting Up a SharePoint Developer Virtual Machine

November 25, 2010 Leave a comment

It’s easy to get started with SharePoint 2010 development using the Information Worker Virtual Machine (VM). In this episode, you will learn all of the tips and tricks to get the VM up and running. The Information Worker virtual machine is a Hyper-V based VHD file that has everything you need to build SharePoint solutions already installed. The VM includes Office 2010, SharePoint 2010, Visual Studio 2010, Exchange 2010, and more.

http://channel9.msdn.com/Shows/SharePointSideshow/Setting-Up-a-SharePoint-Developer-Virtual-Machine

Categories: Dev, Windows

Unable to Add/Remove features after installing Visual Studio 2008 SP1

November 24, 2010 Leave a comment
Categories: Dev, Windows

Should I call Form.Dispose() after Form.Close() ?

October 22, 2009 Leave a comment

I bet most of .NET developers do not realized this part of MSDN documentation. It cost me 100%CPU usage for not knowing this.

 

http://msdn.microsoft.com/en-us/library/system.windows.forms.form.close.aspx
*The two conditions when a form is not disposed on Close is when (1) it is part of a multiple-document interface (MDI) application, and the form is not visible; and (2) you have displayed the form using ShowDialog. In these cases, you will need to call Dispose manually to mark all of the form’s controls for garbage collection

 

Important Quotes:

The two conditions when a form is not disposed on Close is when

(1) it is part of a multiple-document interface (MDI) application, and the form is not visible; and

(2) you have displayed the form using ShowDialog. In these cases, you will need to call Dispose manually to mark all of the form’s controls for garbage collection.

Categories: Dev, Windows
%d bloggers like this: