Tuesday, February 23, 2010

How to fix mouse click problem on flash player 64 bits with Ubuntu 9.10

I just write here some informations I found on the web. On my Linux Ubuntu 9.10 64 bits, the flash plugin sometimes doesn't register mouse clicks. To fix it, edit the following file by doing :

sudo gedit /usr/lib/nspluginwrapper/noarch/npviewer

and add this export

export GDK_NATIVE_WINDOWS=1

like this

#!/bin/sh
#
# nsplugin viewer wrapper script...
OS="`uname -s`"
ARCH="`uname -m`"
NPW_LIBDIR="/usr/lib/nspluginwrapper"
export GDK_NATIVE_WINDOWS=1

if test -z "$TARGET_OS"; then
...

Enjoy!

Friday, February 19, 2010

An awesome Lego robot

Be careful, this is an awesome video! You can also observe that the programmer is using an Acer netbook.


How to secure your REST API with Java Spring Security

Here is the best article I read on how to secure REST API and even make a full stateless architecture by using JWT token to store all user d...