- Make an install directory somewhere convenient and switch to it
mkdir -p ~/.local/share/authy
cd ~/.local/share/authy
- Fetch the current Authy snap
############################################################################ | |
# # | |
# ------- Useful Docker Aliases -------- # | |
# # | |
# # Installation : # | |
# copy/paste these lines into your .bashrc or .zshrc file or just # | |
# type the following in your current shell to try it out: # | |
# wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash | |
# # | |
# # Usage: # |
#!/usr/bin/env bash | |
set -e | |
# pj-append.bash is a timestamped log file for you, a human. Set up a cron job to launch it every | |
# hour to note what you were working on, or append lines from the terminal whenever you're chewing | |
# on a hard problem. | |
# | |
# Use the data to build a picture of what you worked on during the last week, or grep | |
# last quarter's log to find out why you decided to use library A instead of library B. | |
# |
# Make sure you have Anaconda installed | |
# This tutorial assumes you have an Nvidia GPU, but you can find the non-GPU version on the Textgen WebUI github | |
# More information found here: https://github.com/oobabooga/text-generation-webui | |
conda create -n textgen python=3.10.9 | |
conda activate textgen | |
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 | |
git clone https://github.com/oobabooga/text-generation-webui | |
cd text-generation-webui | |
python -m pip install -r requirements.txt |
#!/usr/bin/env bash | |
# print usage | |
DOMAIN=$1 | |
if [ -z "$1" ]; then | |
echo "USAGE: $0 tld" | |
echo "" | |
echo "This will generate a non-secure self-signed wildcard certificate for " | |
echo "a given development tld." | |
echo "This should only be used in a development environment." |
# This code is licensed under the terms of the MIT license. | |
## Golden config for golangci-lint v1.52.2 | |
# | |
# This is the best config for golangci-lint based on my experience and opinion. | |
# It is very strict, but not extremely strict. | |
# Feel free to adopt and change it for your needs. | |
run: | |
# Timeout for analysis, e.g. 30s, 5m. |
-- Found at: | |
-- http://www.if-not-true-then-false.com/2009/postgresql-psql-psqlrc-tips-and-tricks/ | |
-- http://opensourcedbms.com/dbms/psqlrc-psql-startup-file-for-postgres/ | |
\set QUIET ON | |
\pset pager always | |
\pset null 'NULL' |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
mkdir -p ~/.local/share/authy
cd ~/.local/share/authy
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
# Expires: 5 minutes | |
# License: See source for license and credits | |
nano-tiny-noopvast-2.0 text/xml | |
<VAST version="2.0"></VAST> | |
disable-webassembly.js application/javascript | |
(function() { | |
delete WebAssembly; | |
console.log('CV SAYS: WebAssembly deleted') |