Skip to content

Instantly share code, notes, and snippets.

View AuthyToOtherAuthenticator.md

Generating Authy passwords on other authenticators


There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes for you to use on your favorite authenticator.

His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My guess is that Brian used the

@simkimsia
simkimsia / index-spell-home-still-fails.html
Created Aug 7, 2021
Demonstrate that the import without Home will cause failure
View index-spell-home-still-fails.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jerosoler/Drawflow/dist/drawflow.min.css">
@simkimsia
simkimsia / collaborative-inbox-gsuite-steps.md
Last active Feb 3, 2021
how to have collaborative inbox using gsuite
View collaborative-inbox-gsuite-steps.md
@simkimsia
simkimsia / _base.html
Last active Jun 4, 2022 — forked from adamchainz/_base.html
Django HTMX CSRF setup for htmx 1.1.0 and django 3.1
View _base.html
{% load static %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% block meta_tags %}
<meta name="csrf-token" content="{{ csrf_token }}">
{% endblock %}
@simkimsia
simkimsia / browser_history.md
Created Oct 24, 2020 — forked from dropmeaword/browser_history.md
Playing around with Chrome's history
View browser_history.md

Browser histories

Unless you are using Safari on OSX, most browsers will have some kind of free plugin that you can use to export the browser's history. So that's probably the easiest way. The harder way, which seems to be what Safari wants is a bit more hacky but it will also work for other browsers. Turns out that most of them, including Safari, have their history saved in some kind of sqlite database file somewhere in your home directory.

The OSX Finder cheats a little bit and doesn't show us all the files that actually exist on our drive. It tries to protect us from ourselves by hiding some system and application-specific files. You can work around this by either using the terminal (my preferred method) or by using the Cmd+Shft+G in Finder.

Finder

Once you locate the file containing the browser's history, copy it to make a backup just in case we screw up.

View 2ndtry.py
@KeyTransform.register_lookup
class KeyTransformIsInteger(KeyTransformTextLookupMixin, Lookup):
lookup_name = "is_int"
def as_sql(self, compiler, connection):
import ipdb
ipdb.set_trace()
lhs, lhs_params = self.process_lhs(compiler, connection)
rhs, rhs_params = self.process_rhs(compiler, connection)
View whitehead_terms.md

whitehead's use

prehension

prehension = grasping

actual occasion

actual occasion =

substance-quality category

substance-quality category =

@simkimsia
simkimsia / formal-verification-bpmn-dmn.md
Last active Apr 20, 2022
Links to formal verification of BPMN / DMN
View formal-verification-bpmn-dmn.md
@simkimsia
simkimsia / encoders.py
Created Nov 3, 2019
For the long story read the tweet thread on pt 34 here https://twitter.com/KimStacks/status/1190943466492051457
View encoders.py
"""
Helper classes for parsers.
"""
import datetime
import decimal
import json # noqa
class FromValuesToDRFJSONEncoder(json.JSONEncoder):
"""
@simkimsia
simkimsia / conflicts.md
Last active Jul 11, 2018
text diagram for git conflicts
View conflicts.md
              master
                |
                |
   +-------<----+----->------+
   |            |            |
   |            |            |
   |            |            |
branch1         |         branch2
 | | |