Blog Archives

Using resources in a java program

Setting the correct path for resources in a Java program so that they both work from command line and from inside a jar can be confusing and daunting. We show a simple, step by step working example, which uses both

Tagged with:
Posted in Uncategorized

Docker tutorials 2: managing containers

As we have seen in Tutorial 1, we can check which containers are alive docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES Nothing alive is in there. We then look for “sleeping” docker machines: docker ps -a CONTAINER

Posted in Docker, Uncategorized

Docker tutorials 1: example of creating a linux box into docker

Note: We’ll call “docker machine” the environment we create inside docker, which will look like another linux box we can control. Later on, when we get familiar with the idea, we’ll also call it “the container”. Red lines are run

Posted in Docker, Uncategorized

Tomcat on El Capitan

Nice guide by Wolf Paulus.

Posted in Uncategorized

Wifi problems with Yosemite

After upgrading to Yosemite my mac refused to see some of the wireless networks I was using before. Those networks used the 802.1x (and PEAP). The funny thing was that the machine was hooking on the network, the wifi connection was

Posted in Uncategorized

A replacement for MySQL: MariaDB

MariaDB is a DBMS which has binary files compatible with MySQL. It can be simply installed with brew: brew install mariadb Once installed: To connect:     mysql -uroot To have launchd start mariadb at login:     ln -sfv

Posted in Uncategorized

Apache crash – /usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument

One morning I found my server showing the infamous gray box saying more or less “there has been a system error, you have to restart the machine”. I restarted, but poor Apache did not want to get up. Looking at

Posted in Uncategorized