QR Code Business Card
Apr 24 2014

Vagrant shell script

Working with several Vagrant boxes in parallel can be tricky. So today I wrote a small shell script to help me here. It will

  • start the VM (if not already running),
  • Login into the VM via SSH,
  • suspend the VM after exiting the VM (if you want)

Shell script:
#/bin/bash
if [ -f ./Vagrantfile ]
then
if vagrant status | grep -q "running ("
then
echo Box is already running
else
echo Starting box ...
vagrant up
fi
echo Login in ...
vagrant ssh
read -n1 -p "Suspend box ? [y,N]" doit
case $doit in
y|Y) vagrant suspend ;;
n|N) echo OK ;;
*) echo OK ;;
esac
else
echo No Vagrantfile found!
fi


Mar 12 2014

Fun Retrospectives

Fun Retrospectives

Fun Retrospectives.


Mar 10 2014

The Twelve-Factor App

In the modern era, software is commonly delivered as a service: called web apps, or software-as-a-service. The twelve-factor app is a methodology for building software-as-a-service:

The Twelve-Factor App.


Feb 28 2014

maven and UTF-8

There are a lot of places (>5)to set the UTF-8 encoding for your maven project. But only one is important! So don't forget to set this in your maven parent pom:

<properties>
  <project.build.sourceEncoding> UTF-8 </project.build.sourceEncoding>
</properties>


Feb 24 2014

Git-Flow

Git-Flow as a branching strategy for your Git Repositories:

Git-Flow.

I like !


Feb 24 2014

Apple’s SSL/TLS bug

static code analysis would have prevented this nightmare: Apple’s SSL/TLS bug.