Skip to content

Instantly share code, notes, and snippets.

View soblom's full-sized avatar

Sören Blom soblom

  • Berlin, Germany
View GitHub Profile
@soblom
soblom / aws-login.sh
Last active June 30, 2020 10:09
AWS Temporary Credits
#!/bin/bash
set -o pipefail
YK_MFA_NAME=$1
BASE_PROFILE=$2
AWS_CREDENTIALS_FILE="$HOME/.aws/credentials"
function get_missing_base_info() {
@soblom
soblom / Vagrantfile
Last active August 29, 2015 14:17
Quick GitLab Vagrant VM
#
# Creates Ubuntu VM and installs GitLab 7.8.4
# Install documentation can be found here: https://about.gitlab.com/downloads/
Vagrant.configure(2) do |config|
config.vm.box = 'ubuntu_cim_1404'
config.vm.box_url 'https://cloud-images.ubuntu.com/vagrant/trusty/current/'\
'trusty-server-cloudimg-amd64-vagrant-disk1.box'
config.vm.network 'forwarded_port', guest: 80, host: 8080
### Keybase proof
I hereby claim:
* I am soblom on github.
* I am soblom (https://keybase.io/soblom) on keybase.
* I have a public key whose fingerprint is D584 67C1 D3A8 3F63 AED9 7208 36A9 F514 DC53 BD5E
To claim this, I am signing this object: