Posts | Comments | Email

Posts Tagged howto

Backing up Mysql with Java and PHP

mysqldump is an effective tool to backup MySQL databases. In normal cases, it's done trough a command line commando but it can be used programmatically. It's a very easy script and it could be useful. (don't have to log in into console to take a backup, create an auto backup on deployment, ...) I

04.4.2010| PHP, java, tutorials | Wim

No Comments
Hacking WEP encryption on Ubuntu

Hacking WEP encryption on Ubuntu

The information below is not intended to harm other people. Cracking other peoples network is considered illegal in most countries!! Last day, my sister called me up because she couldn't connect to her wireless network any more. She was playing with her network connections and broke everything. Sh

02.8.2010| Featured, linux, servers | Wim

3 Comments
The lifecycle of a Spring bean

The lifecycle of a Spring bean

In this blogpost, I'll talk and give a few examples of the lifecycle of a bean in a Spring container. The examples are tested with Spring 3.0RC1 but should work with Spring 2.5+ Xml Attributes In this first example, I'll show you how the lifecycle of a bean happens within the xml-configfil

11.12.2009| Featured, java, tutorials | Wim

No Comments
PHP - An introduction

PHP – An introduction

I had to give a presentation about PHP at my work earlier this year. It was a quick and simple introduction about PHP and his features. If you want to use this presentation by yourself, please leave me a comment. odp-file ppt-file pptx-file pdf-file

11.11.2009| PHP, tutorials | Wim

No Comments
servletconfig vs servletcontext

servletconfig vs servletcontext

In this little blogpost, I'll try to explain the differences between ServletConfig and ServletContext and when you can use them into a Java Web Application. ServletConfigServletContext Access deploy-time servlet parametersAccess web application parameters One per servletOne per web applica

10.15.2009| Featured, java, tutorials | Wim

No Comments
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