Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

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

.

Reference: http://www.macworld.co.uk/how-to/mac/what-do-if-youve-forgotten-your-mac-password-3594395/

Tuesday, March 1, 2016

TP102-AngularJS Directives

.

<html>

  <head>
    <title>AngularJS Directives</title>
  </head>

  <body>
    <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>

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

    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>

  </body>

</html>




ref: https://www.tutorialspoint.com/angularjs/angularjs_directives.htm

201603

TP101-Introduction To AngularJS


<!doctype html>
<html ng-app>

  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  </head>

  <body>
    <div>
      <label>Name:</label>
      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr />

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

  </body>

</html>



ref: https://www.tutorialspoint.com/angularjs/index.htm .

201603

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 Tools.zip folder

Use 7zip to extract the tools.zip 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"
Done.
You can test by typing java -version.

Reference

1) https://www.whitebyte.info/programming/java/how-to-install-a-portable-jdk-in-windows-without-admin-rights

2) http://oramack.blogspot.my/2015/08/portable-jdk-8.html

.

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.
Done.
.

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.
Done.
.