Git Workflow

If you are in the software industry you most likely have already experienced some kind of interaction with Git. There are a lot of sites that describe how to use Git and I will not try to cover that, but I will focus on the how to use Git in your day to day work and show you my personal workflow with Git. What are some of my git commands and some of the git aliases that I use, who knows maybe they will help you some day. »

OSX notifications from your terminal

In my normal day to day job many times I need to wait for a very long running shell script to complete. Many times I move back and forward to the terminal window just to see if the command has completed or not. While waiting for such a script to complete I thought it must be a way to notify to the OSX notification center about the fact that the script completed. »

Alexandros Sapranidis on #bash,

Clamd antivirus TCP client

Some time ago we at Peopleperhour published a Clamd container and now for the sake of learning some GO code and as a POC, I am writing about how to create a clamd client to expose a subset of the clams server TCP commands. The client code can be found in this git repo of clam-rest-api/overview and the distributable container can be found in dockerhub. The distributable container is only ==2MB== and when decompressed it will take up to ==5M== of disk space. »

Scripting with NodeJs and Docker

This is an example cli application that use NodeJs to build a command line binary and then use Docker to distribute and use it as container. The code is hosted in bitbucket This is using the NodeJs commander package in order to parse and use command line attributes and options. #Cloning from source First clone the repo $ git clone Lets first check that the application is working »

Cleanup etcd2 keys

Define the problem While using etcd2 for our production key-value store to hold cluster state and some configuration settings there is the need to perform some manual cleanup from time to time to reduce the number of keys, especially if you use keys that have the machine id for example hold configuration for that machine. The format where we store information in etcd is following the schema in etcd /service/<service_name>/machines/<machine-id>/. »