Docker alias for your zsh - 2017-04-11

Some docker alias to import on your shell echo "# Importing Docker Aliases" # ------------------------------------ Docker alias and function ------------------------------------ # Get latest container ID alias dl="docker ps -l -q" # Docker ps alias dps="docker ps" alias dpsa="docker ps -a" # Get container IP alias dip="docker inspect --format '{{ .NetworkSettings.IPAddress }}'" # docker inspect di() { docker inspect $1; } # Execute interactive container, e.g., $dex base /bin/bash alias dexec="docker exec -i -t" # Stop all containers dstop() { docker stop $(docker ps -a -q); } # Remove all containers drm() { docker rm $(docker ps -a -q); } # Stop and Remove all containers alias drmf='docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)' # Remove all images dri() { docker rmi $(docker images -q); } # Dockerfile build, e.

How to Write a good post mortem - 2017-03-10

Introduction If you’ve been a part of any project, you know that things do not always go as planned. Even if you finished on-time and under budget, there’s a good chance you can always find better ways to run projects. The best way to assess your work is to conduct a post-mortem meeting, also called a retrospective meeting for those of you who get a certain feeling when you hear the word “post-mortem”.

Encryption with an RSA - 2017-03-10

How to encrypt a message or file using Openssl With openssl, it’s not too hard. The following tutorial assumes you’ve setup RSA private/publicc. Note: If you’re on OSX, you should install the latest versions of OpenSSL and OpenSSH with Homebrew. First, let’s start with our plaintext file: # echo "Hello world" > test.txt Encrypt with Public key # cat test.txt | openssl rsautl -encrypt -pubin -inkey ~/.

How to Write a Product Requirements Document (PRD) - 2017-02-17

What is a Product Requirements Document and why is it important? This document is an initial one, the starting point in the process of developing your new product. Basically, it describes all the features, specifications, and functionality of a product, and also declares the conditions and stages for design and development. Writing a good PRD is similar to the place where the marathon of creation begins. The better you explain the rules before the race starts, the better the chance that everything goes smoothly and correctly.

cURL HTTP/2 support - 2017-01-24

Introduction cURL is one of the most powerful tool for testing HTTP requests and responses. Most developers use curl to interact with HTTP APIs or to test a website. Starting from version 7.43.0 cURL (and libcurl) supports HTTP/2. You can perform a request using the HTTP/2 protocol passing the –http2 flag: curl -I --http2 https://www.cloudflare.com/ HTTP/2.0 200 server:cloudflare-nginx date:Sun, 24 Jan 2016 21:53:48 GMT content-type:text/html set-cookie:__cfduid=d73309ac5d32f18d2ca9efb414cc0fd111453672428; expires=Mon, 23-Jan-17 21:53:48 GMT; path=/; domain=.

Bindwith PostgreSQL backend at CentOS 6.4 - 2016-11-23

BIND/named with PostgreSQL back end at CentOS 6.4 I’ve been trying to find a good documentation on setting up Bind with PostgreSQL as its back end. So far the information is sparse so I’ve decided to put this recipe together. There is much more than this but the idea is to give you a start. 1) First, make sure you have bind, bind-sdb, postgresql-server RPMs (and their dependencies) installed. 2) After having the RPMs in your system, you have to configure the iptables to allow DNS queries.

How to install and configure GlusterFS Server on Ubuntu - 2016-10-11

GlusterFS is a distributed File System. In this article, we’ll show you how to create and configure GlusterFS Server on three nodes. You can create different types of GlusterFS volumes. We will only show you how to configure a replicated volume so that if you store a file on one machine, it will get replicated to all the nodes in the cluster. Suppose the hostnames of the three servers on which we want to install GlusterFS server are , and .

Activate IPv6 on Ubiquity Edge router lite - 2016-04-09

Summary Below are the commands and my thoughts on setting up IPv6 on a Ubiquiti Networks EdgeRouter Lite (ERLite-3). Were one to follow this as a guide, the results should be functioning IPv6 on the WAN and LAN side. Note: As of EdgeMax v1.9.0, most IPv6 functionality is not available via the GUI. But, there is a new wizard as of this release which may work for the most basic case.