dr@tardis> for i in `ls -d *`; do du -hs $i; done 4,0K cron-job.txt 48K etc 4,0K install.sh 4,0K README.Debian.TXT 4,0K README.TXT 16K usr
At the moment there is a great hype about "docker", even if the technique isn't new. So what's so great about it?
In this article i want to describe how to create a "Debian Wheezy"-Image using "debootstrap". This debianwheezy-image will be the base for our "dockerfile". The dockerfile itself will create another image called "hoti/drupal-dev". In this dockerfile we will pre-install a ssh-server,mysql-server, apache2-server, php5, drush and drupal.
It happens many times that a server run for month or years and then the system administrator has to reboot it and it doesn't come up again because the power supply(or other hardware) is damaged. At this point someone says with the voice of a teacher: "Never change a running system". It's the same with software-updates. The system runs many years without any updates, and then we have to upgrade it and nothing works. And again, someone from behind says with the voice of a teacher: "Never change a running system". Those are the days where my left eye starts to twitch and I tend to get crazy...
In this article i want to show how to convert a UNIX-Timestamp intoto a readable time-format
Removing empty lines with sed:
sed '/^$/d' myFile > newFile
Here are a some examples how to loop over a range of numbers using a "for-loop".
BTW: this is the first article for our lovely series: "One-Liners"...
Nagios is an awesome monitoring-tool. I give my best to check as much services as possible with nagios. Here I want to explain how I check if updates for the Horde-Framework exist...
Although horde uses pear for update-management I don't want to check pear directly(because of permissions and of course I don't want to create too much traffic on the horde-repository) in my nagios-check. That's why i created a simple cronjob which checks pear and write it's output into file. This file is readable for the nagios-check..
I want to have control over debian updates, but I don't want to make them manually. So I decided to do it "half-automatic". This means that they run automatically until user-input is needed. The whole prozess is recorded in logfiles and after the updates are done this script sends out emails. It's written for small environments.
GNU Octave is some kind of programming language for mathematical use cases. It's mostly compatible with MATLAB and it's Open-Source.
I just started to get familiar with GNU Octave and I really like it. Here I record my "first steps" and post my scripts..
"Hipsters avoid labels and being labeled. However, they all dress the same and act the same and conform in their non-conformity. Doesn't the fact that there is a hipster look go against all hipster beliefs?".