Skip to content

Instantly share code, notes, and snippets.

Avatar

Armen Mkrtchyan iamtankist

  • Software Architect / IT-Consultant
  • Cologne, Germany
  • @iamtankist
View GitHub Profile
@iamtankist
iamtankist / Vagrantfile
Last active Apr 3, 2019
vagrant box with pre-installed aws cli
View Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.provision :shell, :inline => <<SCRIPT
apt-get update
curl -s -O https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && rm get-pip.py
pip3 install awscli --upgrade
aws --version
SCRIPT
end
@iamtankist
iamtankist / roles.tf
Created Feb 28, 2019
provisioning own roles
View roles.tf
resource "aws_iam_role" "autoscale_role" {
name = "fargate-autoscale-role"
assume_role_policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "application-autoscaling.amazonaws.com"
View rest.md

Option 1: Distinguishing with URIs/separate endpoints

POST /users/:userId/vaults # create vault with user ownership
{
  ...vaultpayload
}

POST /teams/:userId/vaults # create vault with team ownership
{
View baro.json
{
"title": "Performance Zone",
"deliveredBy": "delivered by",
"rank": "Rank",
"fieldPosition": "OVERALL",
"firstPlayer": {
"id": 63706,
"name": "Cristiano Ronaldo",
"rank": "1st",
"playerImage": "http://img.uefa.com/imgml/TP/players/1/2017/324x324/63706.jpg",
View keybase.md

Keybase proof

I hereby claim:

  • I am iamtankist on github.
  • I am iamtankist (https://keybase.io/iamtankist) on keybase.
  • I have a public key whose fingerprint is FA1B 8D92 D31A 646B 6929 D3B2 6AFF 735C 8E23 1F30

To claim this, I am signing this object: