Posts | Comments | Email

Archive for September, 2009

Dependency Injection with Google Guice by example

Dependency Injection with Google Guice by example

In this blogpost, I'll explain Dependency Injection with Google Guice through a lot of examples. Hope you like it. Annotation based DI It's possible in Guice to inject a class with the help of annotations. In this example, I create a mainclass which creates an order. Inside the order there wil

09.29.2009| Featured, java, tutorials | Wim

9 Comments

How to flush the contents of Memcached

I often see people using telnet to flush the entire contents of their Memcached instance. They use the following commands: $ telnet localhost 11211 Trying 127.0.0.1… Connected to localhost. Escape character is ‘^]’. flush_all OK quit Connection to localhost closed by foreign host.

09.21.2009| linux, servers, tutorials | Wim

No Comments
Use multiple instances of Webalizer on one server

Use multiple instances of Webalizer on one server

In most of the cases, there is more than just one website on a server. Though, it is very important that you can measure the stats of all the websites separately. I'll tell you in a few lines how you can achieve this with webalizer. This tutorial is tested with Webalizer on Ubunty but

09.12.2009| linux, servers, ubuntu | Wim

No Comments