Skip to content

Instantly share code, notes, and snippets.

View pkolyvas's full-sized avatar
🚴

Petros Kolyvas pkolyvas

🚴
View GitHub Profile
# folder/sources.pkr.hcl
source "amazon-ebs" "example" {
ami_name = "packer-partyparrot-{{timestamp}}"
region = "us-east-1"
instance_type = "t2.micro"
source_ami_filter {
filters {
virtualization-type = "hvm"
name = "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*"
root-device-type = "ebs"
@pkolyvas
pkolyvas / intensify.sh
Created January 29, 2020 21:59 — forked from briancain/intensify.sh
intensifies Slack emoji creator
#!/bin/bash
# Generate a `:something-intensifies:` Slack emoji, given a reasonable image
# input. I recommend grabbing an emoji from https://emojipedia.org/
set -euo pipefail
# Number of frames of shaking
count=10
# Max pixels to move while shaking
terraform init
2019/12/03 18:28:16 [INFO] Terraform version: 0.12.17
2019/12/03 18:28:16 [INFO] Go runtime version: go1.13.4
2019/12/03 18:28:16 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"}
2019/12/03 18:28:16 [DEBUG] Attempting to open CLI config file: /Users/pkolyvas/.terraformrc
2019/12/03 18:28:16 Loading CLI configuration from /Users/pkolyvas/.terraformrc
2019/12/03 18:28:16 [INFO] CLI command args: []string{"init"}
Initializing modules...
2019/12/03 18:28:16 [TRACE] ModuleInstaller: installing child modules for . into .terraform/modules
2019/12/03 18:28:16 [DEBUG] Module installer: begin keys
2019/12/02 20:10:31 [INFO] Terraform version: 0.12.16
2019/12/02 20:10:31 [INFO] Go runtime version: go1.13.4
2019/12/02 20:10:31 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"}
2019/12/02 20:10:31 [DEBUG] Attempting to open CLI config file: /Users/pkolyvas/.terraformrc
2019/12/02 20:10:31 Loading CLI configuration from /Users/pkolyvas/.terraformrc
2019/12/02 20:10:31 [INFO] CLI command args: []string{"init"}
2019/12/02 20:10:31 [DEBUG] Module installer: begin keys
2019/12/02 20:10:31 [TRACE] ModuleInstaller: keys is not yet installed
2019/12/02 20:10:31 [TRACE] ModuleInstaller: cleaning directory .terraform/modules/keys prior to install of keys
2019/12/02 20:10:31 [TRACE] ModuleInstaller: keys has local path "./keys/"
@pkolyvas
pkolyvas / config.fish.tug
Created November 6, 2018 18:05
For those who use Tug and Fish
# For users of fish, if you want to use jive/tug
# Add this to to your fish shell config
# or `cat config.fish.tug >> ~/.config/fish/config.fish`
set -x -g TUG_ROOT $HOME/.tug
set -x -g TUG_RELEASE_CHANNEL stable
set -x -g PATH $TUG_ROOT/bin $PATH
@pkolyvas
pkolyvas / Gemfile
Last active April 16, 2020 15:27 — forked from jdennes/Gemfile
Export a list of members from a GitHub organisation
source "https://rubygems.org"
gem "octokit"