Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
I may be slow to respond.

Sebastiaan van Steenis superseb

🌴
I may be slow to respond.
  • Netherlands
View GitHub Profile
@mauilion
mauilion / .gitignore
Last active Nov 9, 2021
terraform to generate tls assets for etcd.
View .gitignore
*tfstate*
.terraform
etcd
certs
ca-keys
@leifg
leifg / Vagrantfile
Last active May 18, 2022
Add a second disk to system using vagrant
View Vagrantfile
file_to_disk = './tmp/large_disk.vdi'
Vagrant::Config.run do |config|
config.vm.box = 'base'
config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024]
config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
end
@matthutchinson
matthutchinson / launch_instance.rb
Created Jan 23, 2012
Launching EC2 instance with aws-sdk gem
View launch_instance.rb
#!/usr/bin/ruby
# README
# gem install aws-sdk
# add this to bashrc
# export HT_DEV_AWS_ACCESS_KEY_ID=????
# export HT_DEV_AWS_SECRET_ACCESS_KEY=????
# put your pem file in ~/.ssh and chmod 0400
# for more info see; https://rubygems.org/gems/aws-sdk