Skip to content

Instantly share code, notes, and snippets.

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

Egidijus Ligeika egidijus

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am egidijus on github.
  • I am egidijus (https://keybase.io/egidijus) on keybase.
  • I have a public key whose fingerprint is 3609 557E F8AD 4A22 75D9 E4A3 D0AE 6F0C D29A C6DD

To claim this, I am signing this object:

@egidijus
egidijus / gotoke.py
Created October 23, 2015 12:28
google authenticator python script. prints your one time auth code to stdout
#!/usr/bin/python
import onetimepass as otp
my_secret = 'YOURGOOGLEAUTHSECRET'
my_token = otp.get_totp(my_secret)
print(my_token)
@egidijus
egidijus / get-role-token
Last active January 12, 2017 14:55 — forked from cmerrick/get-role-token
Prints the exports required to install an AWS Role's temporary keys to stdout
#!/usr/bin/env python
import socket
import json
import sys
import os
import re
from subprocess import Popen, PIPE
from pprint import pprint