Skip to content

Instantly share code, notes, and snippets.

View Ingramz's full-sized avatar

Indrek Ardel Ingramz

View GitHub Profile

Generating Authy passwords on other authenticators


Update 04.04.2020: Please take a look at many of the forks of this gist or comments, where people have updated or improved upon the code. I have not needed this in a long time, which is why the original document has not been updated and the code probably does not work. Stay secure and only copy and paste code that you trust.

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 (beware, thro

@Ingramz
Ingramz / 15puzzle.c
Created June 26, 2015 13:09
15 puzzle written in C+asm as an university course project (early 2014).
/*
15Puzzle.c - 15 Puzzle Windowsi konsoolis
2014 Indrek Ardel
*/
#include <stdio.h>
#include <conio.h>
#include <Windows.h>
#include <time.h>
#include <string.h>
@Ingramz
Ingramz / famfamfam-php-flags
Last active July 10, 2020 11:05
PHP array of countries which have famfamfam flag icons
PHP Array of country names for use with famfamfam flags.
@Ingramz
Ingramz / app\Http\Kernel.php
Last active November 3, 2020 05:59
Laravel 5 CloudFlare Proxy Middleware Compatibility
<?php
// ...
protected $middleware = [
// ...
'App\Http\Middleware\CloudFlareProxies',
];
// ...
@Ingramz
Ingramz / dude.bat
Created July 16, 2014 11:50
AVRDUDE upload script. Run: dude myfile.hex
@echo off
avrdude -p usb647 -c flip1 -e -U flash:w:%1
@Ingramz
Ingramz / castpaperer.js
Created July 16, 2014 11:42 — forked from anonymous/castpaperer
Quick and dirty script to download Chromecast wallpapers.
var https = require('https');
var fs = require('fs');
var request = require('request');
var crypto = require('crypto');
function nothing(){}
function download(uri, filename, callback)
{
fs.exists(filename, function(exists)