Category Archives: Development

VSCode: Make vscode-tslint analyze multiple files in a project

vscode-tslint allows you to get Tslint warnings/errors in the problems view. Minimal Versions: visualcode-tslint : 0.5.38 gulp-tslint : 6.1.1 Note that I use typescript@next and tslint@next. The only problem is installing this extension will only show the problems of a file once you open it. Here is how to get it work on your whole […]

AngularJS2: Send HTTP Post request with parameters to PHP

After some troubles trying to reach an old PHP server (Using $_POST to retrieve parameters) with a new Ionic2 project (so using AngularJS2 Http). Here is what worked : var headers = new Headers(); headers.append(’Content-Type’, ‘application/x-www-form-urlencoded; charset=UTF-8′);   var params = ‘’;’’, params , {headers: headers}) .subscribe( data => console.log(’Received:’ + data), err […]

JAD: Recursive Java decompilation command

Recursive JAD decompilation To decompile all the classes of a jar file, unzip the jar in a folder. Then use this command: jad -d . -s java -r **/*.class   -d <dir> – directory for output files -s – output file extension (default: .jad) -r – restore package directory structure JAD can be found here

JAVA 8 : Lambda Expressions. Tutorial, example

Lambda Expressions Introduction JAVA 8 introduces a new language : Lambda Expressions It’s meant to simplify the syntax when one use an anonymous class containing only one method. These interfaces are known as function interfaces.   Use case Suppose you have a list of Person (age, last-name, first-name) and you’re asked to create a method […]

GWT “” possible values for class names

How to modify GWT generated class names Use this configuration tag in the .gwt.xml file : <set-configuration-property name="" value="pretty" /> For those like me looking for all possible values, here is where to find them (at least in GWT 2.5.0) : pretty –> VERBOSE (true, false, true, true), stable –> STABLE_FULL_CLASSNAME (true, true, […]

play framework 2.0 error : Connection timed out

Problem: When trying to launch the play framework you get errors about connection timed out trying to retrieve “ivy.xml” D:\frameworks\play\play-2.0\todolist>play [info] Loading project definition from D:\frameworks\play\play-2.0\todolist\project [error] Server access Error: Connection timed out: connect url= [error] Server access Error: Connection timed out: connect url= [error] Server access Error: Connection timed out: connect url= [error] Server […]