Archive for the tutorials Category
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
When you enable the Synology Media Server on your NAS, there are 3 directories added to your file-system (video, music and photo) which will be used for the DLNA/UPnP media server to play the corresponding files.
I wasn't very happy with these 3 directories because I wanted to categorize my media
01.2.2010| linux, servers, tutorials | Wim
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
Google released a new programming language.
I'm not pretty sure if it will become popular but here are two videos to give you an impression.
11.11.2009| tutorials | Wim
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
If you want to visit a webpage which is password protected, you can skip the authentication screen by placing your username and password directly into the url like http://user:pass@www.eek.be .
If you want to log in like this, Firefox will show you a dialog where you have to confirm that you want
10.25.2009| tutorials | Wim
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
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
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