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 | |
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'. |
(defun iota (m &optional (n 1) (step 1)) | |
(defun iter (m n lst) | |
(cond ((> n m) (reverse lst)) | |
(t (iter m (+ n step) (cons n lst))))) | |
(iter m n nil)) |