Skip to content

Instantly share code, notes, and snippets.

View xlyk's full-sized avatar
🏠
Working from home

Kyle Hanks xlyk

🏠
Working from home
  • Los Angeles, CA
View GitHub Profile
""" Map leader to space ---------------------
let mapleader=" "
set clipboard+=unnamed
""" Plugins --------------------------------
set surround
set commentary
set argtextobj
set easymotion
set textobj-entire
@xlyk
xlyk / airflow-get-all-variables.sh
Created October 28, 2021 16:59
get list of all airflow variables
#!/bin/bash
for KEY in $(airflow variables list | tail -n +2); do
echo "$KEY=$(airflow variables get $KEY)"
done
### Keybase proof
I hereby claim:
* I am xlyk on github.
* I am xlyk (https://keybase.io/xlyk) on keybase.
* I have a public key ASCS3LK_afAMpPdCSmii2tU4Ee0RtPQXwJ7V050Nrvv_sQo
To claim this, I am signing this object:
@xlyk
xlyk / secrets.go
Created June 27, 2019 23:11
golang and AWS secrets manager
package main
import (
"encoding/json"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/secretsmanager"
)
type SecretData struct {
@xlyk
xlyk / pipenv-notes.txt
Last active May 2, 2018 22:45
pipenv notes
https://devel.tech/tips/n/pIpEnvNh/pipenv/
@xlyk
xlyk / docker-notes.sh
Last active April 21, 2018 21:17
docker notes
# Delete all containers and images
docker rm $(docker ps -a -q); docker rmi $(docker images -q)