Netbeans ugly fonts

If the fonts “cut your eyes” in Netbeans then: Open netbeans.conf under ${netbeans-home}/etc/ In the netbeans_default_options= section append at the end:

and restart netbeans.

Best practices for better REST API

Copied from here: http://blog.mwaysolutions.com/2014/06/05/10-best-practices-for-better-restful-api/ Web APIs has become an very important topic in the last year. We at M-Way Solutions are working every day with different backend systems and therefore we know about the importance of a clean API design. Typically we use a RESTful design for our web APIs. The concept of REST is…

[SOLVED] Eclipse create new class slow in Fedora

If you’re having problems with eclipse under Fedora, then it might be due to GTK3. So start eclipse like:  

It must also work from eclipse.ini, but you need to make sure to put 2 in the next line:

Thanks to this person: https://hedayatvk.wordpress.com/2015/07/16/eclipse-problems-on-fedora-22/

[SOLVED] ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

If you’ve just installed mysql community server (in my case on Fedora 23) and you’re getting:

The only thing that helped was:

After that you’ll be able to do:

and type the new password. Then: mysql> use mysql; mysql> UPDATE user SET password=PASSWORD(“YOUR NEW PASSWORD HERE”) WHERE User=’root’; mysql> flush privileges; mysql>…

[SOLVED] Netbeans: Activation failed: Not all requested modules can be enabled:

If you’ve just installed Netbeans (8.1 in my case) and try to create a Web Project, you might get this: Activation failed: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.java.kit jarFile: …. SOLUTION: install full JDK either edit <netbeans-IDE-installation>/etc/netbeans.conf unmark netbeans_jdkhome link to JDK location e.g. /usr/local/share/java/jdk1.6.0_07/ or use –jdkhome command-line option e.g. ./bin/netbeans –jdkhome…