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,

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 git@bitbucket.org:alexsapran/nodejs-docker-cli.git 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>/. »

Working with Terraform and Makefile

For years Makefile was (and still is the best) in building tools which runs on Unix, Linux, and their flavors. For that reason i thought to publish my Makefile for working with Terraform project, that might help you in your next project This assumes 2 thinks. You are working with a local tfstate file and that you will put the Makefile in the same directory as the *.tf files, just to be sure :D »

Find docker container by their process

Problem I have identified a process that is suspicious and I am running in a CoreOs (cause that what I am running :D) containerized environment, how to find which container the process is coming from. My need was introduced because i am using Topbeat to gather system metrics from our AWS clusters and i needed to find some processes that consumed memory. So which container was running this process? »