Skip to content

Instantly share code, notes, and snippets.

@colemickens
colemickens / attribute-import.nix
Created Jul 27, 2020 — forked from BenSchZA/attribute-import.nix
Import attributes from Nix derivation
View attribute-import.nix
let
default = import ./default.nix {};
pkgs = default.pkgs;
python = default.python;
pythonPackages = default.pythonPackages;
in with default; {
# now pkgs, python, pythonPackages are just available.
...
}
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 (beware, through Google) 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 gues

@colemickens
colemickens / my.yaml
Last active Apr 26, 2018 — forked from patientplatypus/my.yaml
Kubernetes yaml
View my.yaml
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: elmtreevueapp
labels:
app: elmtreevueapp
spec:
replicas: 1
selector:
matchLabels: