/images/yoo_jae_suk.png

Changing the Caps Lock key to Ctrl

How many times have you used the caps lock key compare to the ctrl button? Once a year maybe? You must have experienced at least once a situation where you must enter your password, but your caps lock is on, thus you entered your password wrong.

So instead of having an “useless” button on your keyboad, how about changing to a button that you use everyday?

Authentication using certificates, Tomcat and Spring security

Instead of the classic login/password way to access to a secured application, it’s possible to authenticate through a certificate. What’s more, you can also link a ROLE to each certificate.

⚠️ This tutorial is now obsolete and better solution can be used.

TLDR: Check the sample project on my Github.

This tutorial will show you:

  • how to activate the SSL secured by a certificate for our Tomcat
  • how to secure the URL pattern with Spring Security
  • how to access with a browser
  • how to access with a third party application

In order to fully comprehend the tutorial, I will demonstrate it with a concrete example.

MeteorJS, yet another JS framework?

There are so many JS framework out there, and everyday dozen (maybe more) of JS frameworks are created. So why another framework?

Well I think the strength of MeteorJS come from its powerful real time data synchronization for all connected users.

In other words, any change from one device/user will affect the other devices/users in real time. So they won’t need to refresh their page, the data is already fresh!

Avoiding Null Pointers

1
2
3
4
Exception in thread "main" java.lang.NullPointerException
    at ...
    at ...
    at ...

The most common exception that pulls you hair a thousands of times. I don’t know how many time I see this exception every day. The worst of it is when it happens in production. There are no real cure for this curse. Every application cannot escape this issue.

However, there are many ways to avoid and reduce such NullPointerException.