Skip to content

Instantly share code, notes, and snippets.

View mbmccormick's full-sized avatar

Matt McCormick mbmccormick

View GitHub Profile
@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.
@aallan
aallan / speedtest-ifttt.sh
Last active May 29, 2022 15:50
Modified version of Henrik Bengtsson's speedtest-cli code which will dispatch the test results to the IFTTT Maker Channel.
#!/usr/bin/env bash
###########################################################################
# Originally written by: Henrik Bengtsson, 2014
# https://github.com/HenrikBengtsson/speedtest-cli-extras
# Modified to use IFTTT by: Alasdair Allan, 2015
# License: GPL (>= 2.1) [http://www.gnu.org/licenses/gpl.html]
###########################################################################
# Character for separating values
# (commas are not safe, because some servers return speeds with commas)
@joebeeson
joebeeson / auto-arlo.groovy
Last active October 18, 2018 04:15
AutoArlo
/**
* AutoArlo
*
* Created by Joe Beeson <jbeeson@gmail.com>
*
* 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
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active May 19, 2024 17:40
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

// Copyright (c) Attack Pattern LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
using System;
using System.Linq;
using System.Threading.Tasks;
using Windows.Devices.Enumeration.Pnp;
using Windows.System;
@x2q
x2q / wd-live-s3-backup.sh
Last active February 19, 2018 00:29
WD My Book Live Duplicity Back Up To Amazon S3 (and Glacier). See this blog post for more info: http://www.x2q.net/blog/2013/02/24/howto-backup-wd-mybook-live-to-amazon-s3-and-glacier/
#!/bin/sh
# WD Live Duplicity Back Up To Amazon S3 (and Glacier)
#
# Requires python-boto, duplicity, util-linux, and trickle to be installed
# Install using: apt-get install python-boto duplicity util-linux trickle
#
# See this blog post for more info:
# http://www.x2q.net/blog/2013/02/24/howto-backup-wd-mybook-live-to-amazon-s3-and-glacier/
@gra-moore
gra-moore / GEDCOMInterfaces.cs
Created July 30, 2012 07:27
GEDCOM Interface definition
namespace BrightstarDB.Gedcom
{
[Entity]
public interface IFamily
{
IMarriageEvent MarriageEvent { get; set; }
IIndividual Husband { get; set; }
IIndividual Wife { get; set; }
ICollection<IIndividual> Children { get; set; }
}
@jmeridth
jmeridth / IntegrityApp_git_post_receive.rb
Created May 28, 2009 13:33
integrity ci githook post-receive
#!/usr/bin/env ruby
require 'rubygems'
require 'net/http'
require 'net/https'
require 'json'
# EDIT POST_RECEIVE_URL
POST_RECEIVE_URL = 'https://my.domain.com/application_name/push'