We are going to create a JAVA program that makes a basic face dection, it will draw a box around the detected faces. To do that we will use the OpemIAMJ library. All this code is available in github.
Linux freeze on high memory consumption
Sometimes when working with virtual images, R or python, I can see that the memory load is really high and then the system becomes completely unresponsive. This post will show you how to optimize memory management in linux so the system does not freeze.
Ubuntu init scripts (LSBInitScripts)
This section explains how to create a new init script for your debian based distro.
More information can be found here: https://wiki.debian.org/LSBInitScripts
Docker useful commands
This intends to be a list of easy to find useful commands for working with docker. If you are looking for information about docker go to Docker docs homepage
JGiven with Spring
In a previous post we talked about how to create a basic Spring MVC web with junit for test driven development (TDD). Here we are going to include behavior driven development (BDD). To accomplish this goal we will use the JGiven library.
How to clear the CUPS print queue
To cancel a print job in the queue just use cancel. To see all the available jobs in the queue just use lpstat.
$ lpstat -o HP-Officejet-7610-2-128 user2 240640 mié 09 mar 2016 11:07:14 CET HP-Officejet-Pro-8620-137 jose 55296 dom 03 jul 2016 13:29:49 CEST $ cancel -a HP-Officejet-7610-2-128 $ cancel -a HP-Officejet-Pro-8620-137
How to configure brother WiFi scanner
Configure your WiFi Scanner for Brother DCP 7055W
Source: http://askubuntu.com/questions/395926/brother-dcp-7055w
How to create a basic Spring MVC web
How to createa Spring MVC web application using maven. We will start from scratch creating the project with maven, then we will add some depencencies and create the java code. Finally we will build the .war file.
How to remove columns from a text file
Problem
I want to remove the 1st and the 5th columns of a text file of tab separated values. The file is as follows:
HEAD1 HEAD2 HEAD3 HEAD4 HEAD5 HEAD6 1.0 -3 3.4 2 7 9 -100 -30 -1 0 -80 7 70 7 8 0 3 0 71 4.5 2.1 0.6 37 4
How to increase Virtualbox disk size
Problem
If the size of your virtual disk inside Virtualbox is not big enough to save all your data you can always increase its size and resize the partition.