Skip to content

Instantly share code, notes, and snippets.

@jsorrell
jsorrell / dmenu_desktop
Created July 29, 2019 18:16
Perl script for using dmenu to find the correct command to run a .desktop program
#!/usr/bin/env perl
# vim:ts=4:sw=4:expandtab
#
# © 2012 Michael Stapelberg
#
# No dependencies except for perl ≥ v5.10
#
# Edited from i3-dmenu-desktop for general usage by Jack Sorrell
# July 2019
@jsorrell
jsorrell / AuthyCodes.md
Last active February 16, 2023 22:22
Export TOTP secrets from Authy to use in another authenticator

Migrating from Authy to another authenticator

Last tested on Authy 2.5.0
Thanks to Guillaume's Gist and @puddly's comment

To use Authy's special 7 Digit TOTP's, ensure that they are supported by your authenticator

Instructions

  1. Ensure Google Chrome or Chromium is installed.
  2. Install Authy desktop app from the Chrome web store.
  3. Open Authy desktop app enter backup password to ensure all account TOTP's are visible.
@jsorrell
jsorrell / build_nginx.sh
Last active September 22, 2018 06:08
Build and Install Nginx with LibreSSL
#!/usr/bin/env bash
# This is free and unencumbered software released into the public domain.
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
# In jurisdictions that recognize copyright laws, the author or authors
@jsorrell
jsorrell / keepass_backup_link.txt
Last active August 5, 2021 06:50
Keepass Backup Link (In case of lockouts)
@jsorrell
jsorrell / keybase.md
Created December 6, 2017 21:42
Keybase Proof

Keybase proof

I hereby claim:

  • I am jsorrell on github.
  • I am jsorrell (https://keybase.io/jsorrell) on keybase.
  • I have a public key ASC5OiKCP1vewVSy_ew9QmcbAKEYSBvUeen57H-35NbzlAo

To claim this, I am signing this object: