Skip to content

Instantly share code, notes, and snippets.

Stein Inge Morisbak steinim

Block or report user

Report or block steinim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Preparations for the workshop

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


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

Create a free new AWS account

steinim /
Last active Nov 2, 2017
Preparations for the tutorial "Zero Downtime Deployment with Ansible"

Keybase proof

I hereby claim:

  • I am steinim on github.
  • I am 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:

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)
steinim / git-loglive
Created Sep 16, 2012 — forked from tlberglund/git-loglive
Log Live Git Command
View git-loglive
while :
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
steinim /
Created Apr 18, 2012
Git garbage collection script
repo_dirs=$( ls -d1 $@ )
for repo_dir in ${repo_dirs[@]}
cd $repo_dir
echo "checking if $repo_dir is a git repo"
if [[ -d .git ]]
echo "Garbage collecting $repo_dir"
git gc
steinim / pom.xml
Created Sep 11, 2011
Skipping entire sub-module
View pom.xml
@IfProfileValue(name = "slowtests", value = "true")
@ContextConfiguration(locations = { "/applicationContext-itest.xml" })
public class MySlowIntegrationTest {
public void is_this_slowtest_working() {
steinim / pom.xml
Created Sep 11, 2011
Surefire plugin configured for running integration tests
View pom.xml
steinim / pom.xml
Created Sep 11, 2011
Integration property set to true in parent pom
View pom.xml
You can’t perform that action at this time.