Skip to content

Instantly share code, notes, and snippets.

View pdulapalli's full-sized avatar
☀️

Anurag Dulapalli ᚪᛞ pdulapalli

☀️
View GitHub Profile
@pdulapalli
pdulapalli / empty.xml
Created June 10, 2019 02:39
Empty RSS Feed
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
@pdulapalli
pdulapalli / AuthyToOtherAuthenticator.md
Created December 15, 2021 04:09 — 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

@pdulapalli
pdulapalli / fizzbuzz.js
Created November 27, 2020 22:50
FizzBuzz Sample Implementation
'use strict';
function parseNaturalNumber(number) {
const currentNumVal = Number.parseInt(number, 10);
if (!Number.isSafeInteger(currentNumVal) ||
currentNumVal < 1) {
return null;
}
return currentNumVal;