Skip to content

Instantly share code, notes, and snippets.

View kave's full-sized avatar
🌚
Focusing

Emmanuel Apau, CEO @ Mechanicode kave

🌚
Focusing
View GitHub Profile
@kave
kave / export_lastpass.sh
Created April 15, 2019 17:40
Export Secret Notes out of Last Pass
# This will list all the secret notes in the folder `dev` and export them into the local directory `dev`
# Protip if your doing this on a mac, you'll need th gnu version of sed `brew install gnu-sed`
lpass ls "<folder_name>" | sed -n "s/^.*\/\s*\(.*\)\[.*$/\1/p" | xargs -i bash -c "lpass show --note {} > <folder_name>/{}"
lpass ls "dev" | sed -n "s/^.*\/\s*\(.*\)\[.*$/\1/p" | xargs -i bash -c "lpass show --note {} > dev/{}"
@kave
kave / rds_iam_auth.py
Created January 30, 2019 18:22
Python MYSQL RDS IAM Auth Example
"""
Python RDS IAM Auth Example
Requirements.txt
pip install boto3==1.9.66
pip install pymysql==0.9.3
"""
import os
@kave
kave / keybase.md
Last active December 21, 2020 00:22

Keybase proof

I hereby claim:

  • I am kave on github.
  • I am grouch (https://keybase.io/grouch) on keybase.
  • I have a public key ASBt77BSKXK_-8PbfeTuQc8RGLeaum8qV62TVc28ObvUlwo

To claim this, I am signing this object: