Backing up and recovering 2FA tokens from FreeOTP
Backing up FreeOTP
Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
#!/bin/sh | |
OUTPUT="sbql" | |
PRELOADS="alexandria cl-ppcre local-time cffi cl-interpol" | |
PREUSES="split-sequence anaphora iterate" | |
# sbcl --script <<EOF | |
sbcl --no-sysinit --no-userinit --noprint <<EOF | |
;; load quicklisp (from .sbclrc content added when quicklisp installation) | |
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" | |
(user-homedir-pathname)))) |
$ ruby unique-unordered-pairing-function.rb | |
Cantor Pairing Function | |
----------------------- | |
<x, y> = (x + y) * (x + y + 1) / 2 + y | |
0 1 2 3 4 5 6 7 8 9 10 11 12 13 | |
+ ——— + ——— + ——— + ——— + ——— + ——— + ——— + ——— + ——— + ——— + ——— + ——— + ——— + ——— + | |
0 | 0 | 1 | 3 | 6 | 10 | 15 | 21 | 28 | 36 | 45 | 55 | 66 | 78 | 91 | |
When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
https://discord.com/channels/297478281278652417/297478350145060875/1018545388929691729
janet user: I think since common lisp is designed from the perspective of an individual programmer
I don't think that it was explicitly "designed from the perspective of an individual programmer". I think the goal of making a standard was to make it easier to have portable code. Now, did each individual on the committee tried to build the standard while keeping in mind the perspective of lone dev or that of a teams... I don't know.
The only thing that makes me think that it was "from the perspective of an individual programmer" is that nothing prevents you from screwing another person's work if you're both working on the same image at the same time. (Maybe there was something in old lisp machines, but there's nothing in the CL standard AFAIK).
janet user: reinvention is just baked into the culture to a degree outside of implementations which i dont think count; collaboration is kinda limited
Goal of this gist: make a drafty list of ideas for CDR (Common Lisp Document Repository) (see also Zenodo Community CDR)
Put the ideas (possibly with links) in the comments
Created from the plain text reference card on orgmode.org Download this file, and open it in Emacs org-mode!
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Author: Damien Garaud | |
# Date: 2014-2015 | |
# License: Simplified BSD | |
"""Allow you to pipe command results into an Emacs buffer. Suppose you have an | |
Emacs server since you launch 'emacsclient'. |
file gen
:
#!/usr/bin/env -S awk -f
#
# Usage: ./gen misspells-fr.csv > user/misspells-fr.yml
BEGIN {
FS=","
print "parent: default"
print "matches: "
#!/usr/bin/env nix-shell | |
#! nix-shell -p python38 graphviz mate.eom -i python | |
import os | |
import sys | |
import glob | |
import re | |
import subprocess | |
# TODO Better variable name? |