Skip to content

Instantly share code, notes, and snippets.

View steinim's full-sized avatar

Stein Inge Morisbak steinim

View GitHub Profile
@steinim
steinim / git-loglive
Created September 16, 2012 08:51 — forked from tlberglund/git-loglive
Log Live Git Command
#!/bin/bash
while :
do
clear
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
sleep 1
done
FIELDS = ['cmd', 'command', 'start', 'end', 'delta', 'msg', 'stdout', 'stderr']
def human_log(res):
if type(res) == type(dict()):
for field in FIELDS:
if field in res.keys():
encoded_field = res[field].encode('utf-8')
print '\n{0}:\n{1}'.format(field, encoded_field)

Keybase proof

I hereby claim:

  • I am steinim on github.
  • I am steinim (https://keybase.io/steinim) on keybase.
  • I have a public key whose fingerprint is E9EF F919 B726 599A 4D98 0D58 49B2 7789 0CB5 73BF

To claim this, I am signing this object:

@steinim
steinim / Requirements.md
Last active November 2, 2017 19:56
Preparations for the tutorial "Zero Downtime Deployment with Ansible"

Preparations for the workshop

Provisioning AWS Infrastructure for Security and Continuous Delivery with Terraform and Elastic Beanstalk

Requirements

Mac OSX (preferable) or Linux. If you have a Windows machine, please set up a Linux virtual machine. You can use Vagrant for this.

If you have trouble contact me at stein.inge.morisbak@bekk.no

Create a free new AWS account