Skip to content

Instantly share code, notes, and snippets.

View greyblue9's full-sized avatar
A day of coding is never a waste. Take 100 lines daily for 10 years 💻 🌟

David Reilly greyblue9

A day of coding is never a waste. Take 100 lines daily for 10 years 💻 🌟
View GitHub Profile
@klustic
klustic / gauth-export-parser.py
Created December 22, 2020 06:21
Parse seeds out of Google Authenticator migration QR codes
# Scan the Google Authenticator export QR code to get a otpauth-migration:// URI
# Then, provide that URL here and get your precious seeds back.
# The last components on each line of output are the 80-bit TOTP conforming seeds Authenticator uses, e.g.
#
# Output looks like this
# Some Service 1 (Andres) - JBUSYICBNZSHEZLT
# Some Service 2 (Kevin) - JZXXIICTN4QEEYLE
from urllib.parse import unquote
def consume(b: bytes):
@ruanbekker
ruanbekker / array-names.py
Created January 2, 2017 14:37
Array of First Names
names = ["Aaran", "Aaren", "Aarez", "Aarman", "Aaron", "Aaron-James", "Aarron", "Aaryan", "Aaryn", "Aayan", "Aazaan", "Abaan", "Abbas", "Abdallah", "Abdalroof", "Abdihakim", "Abdirahman", "Abdisalam", "Abdul", "Abdul-Aziz", "Abdulbasir", "Abdulkadir", "Abdulkarem", "Abdulkhader", "Abdullah", "Abdul-Majeed", "Abdulmalik", "Abdul-Rehman", "Abdur", "Abdurraheem", "Abdur-Rahman", "Abdur-Rehmaan", "Abel", "Abhinav", "Abhisumant", "Abid", "Abir", "Abraham", "Abu", "Abubakar", "Ace", "Adain", "Adam", "Adam-James", "Addison", "Addisson", "Adegbola", "Adegbolahan", "Aden", "Adenn", "Adie", "Adil", "Aditya", "Adnan", "Adrian", "Adrien", "Aedan", "Aedin", "Aedyn", "Aeron", "Afonso", "Ahmad", "Ahmed", "Ahmed-Aziz", "Ahoua", "Ahtasham", "Aiadan", "Aidan", "Aiden", "Aiden-Jack", "Aiden-Vee", "Aidian", "Aidy", "Ailin", "Aiman", "Ainsley", "Ainslie", "Airen", "Airidas", "Airlie", "AJ", "Ajay", "A-Jay", "Ajayraj", "Akan", "Akram", "Al", "Ala", "Alan", "Alanas", "Alasdair", "Alastair", "Alber", "Albert", "Albie", "Aldred", "Al
package com.isobar.operationlife.util;
import android.media.MediaRecorder;
import java.io.IOException;
import java.util.Timer;
import java.util.TimerTask;
/**
* Created by anitasantoso on 17/07/2014.
# EDITOR=vi
export EDITOR='vim'
export CLICOLOR=1;
export LSCOLORS=exfxcxdxbxegedabagacad;
PATH=.:~/bin:/usr/local/mysql/bin:/usr/local/bin:~/local/node/bin:$PATH
alias ll="ls -golAF"
alias lll="ls -lAF"