WSL 2, Oh-My-Zsh, Windows Terminal, Git, VS Code, and VcXsrv!
The Operating System: WSL 2
Ensure you are running Windows 10, Version 2004, Build 19041 or higher
WSL 2, Oh-My-Zsh, Windows Terminal, Git, VS Code, and VcXsrv!
Ensure you are running Windows 10, Version 2004, Build 19041 or higher
Add it to the body
<body hx-ext="hx-astro-view-transition">
An example
I hereby claim:
To claim this, I am signing this object:
/* | |
Copy this to scriptable | |
When creating a widget, add the hours you start fasts and eating time (ie 19:00,8:00) | |
Also set fastingInterval to the number of hours your eating time has. | |
*/ | |
const canvSize = 282; | |
const canvTextSize = 40; | |
const canvas = new DrawContext(); | |
canvas.opaque = false |
#! /usr/bin/env bash | |
if [ -z "$1" ]; then | |
echo USAGE: "$0" EXAMPLE | |
exit | |
fi | |
url="https://github.com/directus/examples/$1" | |
# default to branch master | |
branch=main |
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
If you don't know anything about JSON, please, spend some time on learning JSON structure.
Recommended sources:
CREATE EXTENSION IF NOT EXISTS "unaccent"; | |
CREATE OR REPLACE FUNCTION slugify(t text) RETURNS text | |
AS $$ | |
BEGIN | |
t := regexp_replace(t, '[Ää]', 'ae', 'g'); | |
t := regexp_replace(t, '[Öö]', 'oe', 'g'); | |
t := regexp_replace(t, '[Üü]', 'ue', 'g'); | |
t := unaccent(t); | |
t := lower(t); |
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