Monday, November 21, 2016

How To Install Unity 3D Into Virtual Box Win 7

1) Install Virtual Box.

2) Create a Virtual Win 7 from iso.
You need to find an iso file e.g.

3) Set 3D Acceleration In Virtual Box Manager.

4) Run Virtual Win 7 in Safe Mode.

4) Install Virtual Box Addition.
Tick Direct3D Support

If your Internet Explorer could not open websites despite live internet connection,  go to menu Tools/Internet Options... , and then go to the Advanced Tab and click Reset button.

Wednesday, April 27, 2016

How to reset Mac password


Apple includes a tool with Mac OS X to replace a Mac's password. This is the best option if you have completely forgotten your password. Follow these steps:

Turn off your Mac (choose Apple > Shut Down).

Press the power button while holding down Command-R. The Mac will boot into Recovery mode.
When you see the load bar appear you can let go of the keys. It may take a few minutes to load.

Select Disk Utility and press Continue.

Choose Utilities > Terminal.

Enter resetpassword (all one word, lowercase letters) and press Return

Select the volume containing the account (normally this will be your Main hard drive).

Choose the account to change with Select the User Account.

Enter a new password and re-enter it into the password fields.

Enter a new password hint related to the password.

Click Save.

A warning will appear that the password has changed, but not the Keychain Password. Click OK.
Click Apple > Shut Down.

Now start up the Mac. You can login using the new password



Tuesday, March 1, 2016

TP102-AngularJS Directives



    <title>AngularJS Directives</title>

    <h1>Sample Application</h1>

    <div ng-app="" ng-init="countries = [{locale:'en-US',name:'United States'}, {locale:'en-GB',name:'United Kingdom'}, {locale:'en-FR',name:'France'}]">
      <p>Enter your Name: <input type="text" ng-model="name"></p>
      <p>Hello <span ng-bind="name"></span>!</p>
      <p>List of Countries with locale:</p>

        <li ng-repeat="country in countries">
          {{ 'Country: ' + + ', Locale: ' + country.locale }}

    <script src=""></script>





TP101-Introduction To AngularJS

<!doctype html>
<html ng-app>

    <script src=""></script>

      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr />

      <h1>Hello {{yourName}}!</h1>



ref: .


Sunday, February 21, 2016

Solution To: jboss studio does not accept java jdk version

Problem: jboss studio does not accept java jdk version

Solution: Install JDK 32 bit instead of 64 bit.

How To Create Portable JDK

How To Create Portable JDK

1) Download JDK

Download to your local folder.

2) Extract folder

Use 7zip to extract the to your target folder
Rename the folder (optional).

3) Setup the tools

Run Cmd Windows.
Go into the target folder (e.g. cd c:\a\jboss\jdk)
Then, type the command to extract the tools.
for /R %f in (.\*.pack) do @"c:\a\jboss\jdk\bin\unpack200" -r -v -l "" "%f" "%~pf%~nf.jar"
You can test by typing java -version.





Sunday, February 7, 2016

104-How To Clone Remote GitHub Repo Using GitHub Desktop application

104-How To Clone Remote GitHub Repo Using GitHub Desktop application

1) Run GitHub Desktop application

2) Find the Add new project.

3) Clone the project

Select Clone button.
Select your local folder to clone the selected remote directory.

103- How To Save Remote GitHub Repo Using GitHub Desktop Application

103- How To Save Remote GitHub Repo Using GitHub Desktop Application

1) Log into GitHub account

2) Find the Download button

3) Dowload to local folder

Click the button and allow GitHub Desktop application to run.
Select your local folder to clone the selected remote directory.

102 How To Create Remote GitHub Repository on

102 How To Create Remote GitHub Repository on

0) Starting Up

1) Log into your GitHub account

You should see the green button “+New Repository”.
Alternatively, you can visit your account page eg and click the Repositories tab. Click the New button.

2) Create a new Project

Type the name “newproject” and click Create Repository.

3) Link your local project to the remote project

You may be required to enter your username and password during this process.



101 How To Create Local GitHub Repository Using Windows Command

101 How To Create Local GitHub Repository Using Windows Command

0) Pre-Requisite

Install GitHub to your computer. Download here.
Add GitHub program to your windows environment. Read here.
You have to register an account at in order to work with GitHub Repository

1) Run Git Command via Windows Console

Press Windows Start Button, type cmd and press Enter key.
1.1) Type cd \ to go to root of your computer.
1.2) Assuming that you have already created a folder github, type cd github to go to that folder.
1.3) Type mkdir newproject to create a new project folder for your local repository (or repo).
1.4) Type cd newproject to go into the folder.
We are going to start typing git command.
1.5) Type git init
You should get a response...
Initialized empty Git repository in C:/github/newproject/.git/
(The screenshot below shows Steps 1 to 5)
1.6) Add a new text file using Windows Explorer.
1.7) Check the changes in Command Windows. Type git status
You should get a response…
On branch master
Initial commit
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        New Text Document.txt
nothing added to commit but untracked files present (use "git add" to track)
(The screenshot below shows Step 7)
Git did not track your file.
You need to give a command for Git to track the file
1.8) Type git add “New Text Document.txt” and then ...
1.9) ...type git status to check the outcome.
(The screenshot below shows Steps 8 to 9)
Git has tracked your file.
1.10) Type git commit -m "add 'New Text Document.txt'" to put a note on what you have committed.

Using GitHub Automatic Page Generator

Using GitHub Automatic Page Generator

0) Pre-requisite

You need to create GitHub Page first. Go here to set it up.
It will appear under your repositories list.

1) Go into the page repository

Click Settings.
Scroll down the Settings Page until you find the GitHub Pages section.
Enter your contents.

2) Publish The Page

Scroll down until you see the “Continue to layouts”(Green) Button.
Click the button.
Select a template and click the Publish Button.

3) Test


Creating GitHub Pages

Creating GitHub Pages Using GitHub Page Generator

0) Pre-requisite

You have to register for a github account at 

1) Create new repository

You need to create a new repository according to the format <username> where <username > is your username or organization name on github.

2) Using Page Generator

Go to the repository settings
Scroll down the page to find the button “Launch automatic page generator”.

3) Edit the page

Edit the page and click Continue to layout.

4) Select Theme

Select theme and click publish page.

5) Done

Test the url via web browser.