Skip to content

Instantly share code, notes, and snippets.

View hazrpg's full-sized avatar

Hassan Williamson hazrpg

View GitHub Profile
@hazrpg
hazrpg / AuthyToOtherAuthenticator.md
Created April 13, 2023 16:56 — forked from gboudreau/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

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

@hazrpg
hazrpg / proxy.py
Created October 26, 2020 21:56 — forked from richardg867/proxy.py
Comic Chat fixer
#
# Comic Chat fixer MITM proxy: fixes Comic Chat to (sort of) work with modern
# IRC servers. Tested with Microsoft Chat 2.5 on Windows XP, 8 and 10
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@hazrpg
hazrpg / functions.php
Created August 27, 2020 15:07 — forked from yratof/functions.php
Woocommerce remove unused attributes on product variations
<?php
add_action( 'init', function() {
ini_set( 'memory_limit', '2048M' );
set_time_limit( 0 );
$posts = get_posts( [
'post_type' => 'product',
'posts_per_page' => -1
] );
$count = 0;
This is to test if the esp32 is connecting and downloading this file.
@hazrpg
hazrpg / Arduino Song
Created November 26, 2017 00:42 — forked from eznj/star_wars.ino
Arduino Star Wars Song for Piezo
**/
const int c = 261;
const int d = 294;
const int e = 329;
const int f = 349;
const int g = 391;
const int gS = 415;
const int a = 440;
const int aS = 455;
@hazrpg
hazrpg / audio.conf
Last active February 8, 2016 14:00
Make bluetooth automatically connect to paired wireless speakers and set the audio profile to A2DP: Place in /etc/bluetooth/audio.conf
# Configuration file for the audio service
# This section contains options which are not specific to any
# particular interface
[General]
Enable=Source,Sink,Media,Socket
# Switch to master role for incoming connections (defaults to true)
#Master=true
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #