Featured Post

Passwordless ssh configuration

Simple step-by-step guide to config passwordless ssh access

Monday, November 28, 2011

Thursday, November 24, 2011

Scala comments

Just Started to learn Scala - the problem emerges:
After installing scala on my Windows 7 OS in C:\Program Files(x86)\scala folder, I tried to type scala in cmd.
The result:
C:\Users\Timur>scala 
\scala was unexpected at this time. 
C:\Users\Timur>
How to fix: just change env var SCALA_HOME value from "C:\Program Files(x86)\scala" to "c:\progra~2\scala".
If you have java installed somewhere in "C:\Program Files(x86)\Java" you'll also need to change it to "c:\progra~2\Java".
Solution was found here.

Single Java Crossplatform Installer

Recently found this epic tool...
IzPack
Must learn it immediately.

Wednesday, June 15, 2011

Code Formatting in Blog

Example of code formatting in blog with google-code-prettify.

/*
 * HelloWorld.java
 */

package hello.world;

public class HelloWorld {

    public static void main (String[] args) {

        System.out.println("Hello, World!");
    }
}

And with Alex Gorbatchev's SyntaxHighlighter.

/*
 * HelloWorld.java
 */

package hello.world;

public class HelloWorld {

    public static void main (String[] args) {

        System.out.println("Hello, World!");
    }
}

Useful links