Tuesday, July 23, 2013

Java, Threads, and InterruptedException

If you have ever called Thread.sleep and cursed about having to now deal with the InterruptedException, you should read this!

http://www.ibm.com/developerworks/java/library/j-jtp05236/index.html

Friday, November 9, 2012

Java tip: How to list and find threads and thread groups

Found a fantastic post on finding threads and thread groups

http://nadeausoftware.com/articles/2008/04/java_tip_how_list_and_find_threads_and_thread_groups

Friday, September 7, 2012

ssh shortcuts

$ nano ~/.ssh/config

Host nickname
<tab> Hostname machine.hostname
<tab> User xxx

How to fix error “Updating Maven Project”. Unsupported IClasspathEntry kind=4?

Reposting an answer to this problem.
Disable the maven nature for the project (via the right-click menu), run mvn eclipse:clean (while your project is open in STS/eclipse), and then re-enable the maven nature. 
http://stackoverflow.com/questions/10564684/how-to-fix-error-updating-maven-project-unsupported-iclasspathentry-kind-4

Monday, June 25, 2012

Fedora: Add Application to Activities

> cd ~/.local/share/applications

create file: [application name].desktop

[Desktop Entry]
Type=Application
Name=[...]
Comment=[...]
Icon=[absolute path to icon]
Exec=[absolute path to application executable]
Terminal=false
Categories=[categories ';' separated]



 > sudo update-desktop-database

Wednesday, June 6, 2012