Skip to content

Instantly share code, notes, and snippets.

View okushchenko's full-sized avatar

Oleksandr Kushchenko okushchenko

View GitHub Profile
@okushchenko
okushchenko / Makefile
Created July 1, 2016 12:48
Terraform remote state wrapper
REGION = us-east-1
STATEBUCKET = changeme
ENVIRONMENTS = prd stg qa dev
TF_ACTIONS = plan apply destroy
WORKDIR = $(shell pwd)
# Magic
G_P := $(subst $ ,|,$(ENVIRONMENTS))
DEPLOYMENTS := $(shell find . -mindepth 2 -maxdepth 2 -type d | grep -E "$(G_P)" | sed -e 's/\.\///g')
@okushchenko
okushchenko / CV.md
Last active February 26, 2024 01:46

Oleksandr Kushchenko - Site Reliability Engineer

SUMMARY

Site Reliability Engineer with 10 years of experience in all things infra - from hardware on-prem to hyper-scale cloud, from air-gapped networks to edge networks, from mobile apps to embedded devices, from consumer-tech to mil-tech. I enjoy diving deep into tech, building infra for compute systems, reading latest papers from USENIX, and helping engineers around me to do their best work. I love open-source, and made contributions to various projects, such as confd and others at https://github.com/okushchenko.

EXPERIENCE

Keybase proof

I hereby claim:

  • I am okushchenko on github.
  • I am okushchenko (https://keybase.io/okushchenko) on keybase.
  • I have a public key ASBu0yRzBY_F9U6jPTf0yoX3oq__Ps-rJoYAr4wBOX2lLwo

To claim this, I am signing this object:

#!/usr/bin/env python
import boto.ec2
import csv
region = "us-east-1"
with open('../secrets/credentials.csv', 'rb') as csvfile:
reader = csv.DictReader(csvfile)
credentials = list(reader)[0]
aws_access_key_id = credentials['Access Key Id']
@okushchenko
okushchenko / gist:23abfbd9c3c276f8a388
Created May 7, 2015 10:05
This will break your vim
cat > break.yml <<EOF
- ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA'
EOF
vim break.yml
@okushchenko
okushchenko / sublime-text-3.sh
Last active August 29, 2015 14:16 — forked from sayak-sarkar/sublime-text-3.sh
Sublime install for fedora 21
#!/bin/sh
SHORTCUT="[Desktop Entry]
Name=Sublime Text 3
Comment=Edit text files
Exec=/opt/sublime_text_3/sublime_text
Icon=/opt/sublime_text_3/Icon/128x128/sublime-text.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;TextEditor;"