Skip to content

Instantly share code, notes, and snippets.

View strider-'s full-sized avatar
🍜
🍶

Michael Tighe strider-

🍜
🍶
  • Orange County, CA
View GitHub Profile
/*
* quick & dirty SRP6 implementation to create and verify account data for AzerothCore (https://www.azerothcore.org/)
* dotnet 8 / C# 12
*
* # Creating new account, store username, salt & verifier in the account table
* var (salt, verifier) = SRP6.Create("user", "pass");
*
* # Verifying credentials against existing salt & verifier
* var success = new SRP6(salt, verifier).Check("user", "pass");
*/

Keybase proof

I hereby claim:

  • I am strider- on github.
  • I am stridr (https://keybase.io/stridr) on keybase.
  • I have a public key ASA7dtI5KD6Vcebb-qafrMgVt6bVHl3Vq3VoYZyTYn86Swo

To claim this, I am signing this object:

@strider-
strider- / gauth.go
Created September 25, 2013 17:45
Google Authenticator implementation in Go.
package main
import (
"bufio"
"bytes"
"crypto/hmac"
"crypto/sha1"
"encoding/base32"
"encoding/base64"
"encoding/binary"
@strider-
strider- / Arduino LED Software.c
Created September 19, 2012 02:34
Nerdery Embedded Club - 7 Segment/3 Digit LED demo [9.18.2012]
/*
3 Digit LED demo [KINGBRIGHT BA56-12SRWA]
9.8.2012 | 9.17.2012
Michael D. Tighe
Special thanks to Pancakes Capone.
*/
// Hardware pin declarations
#define NIL '\0'
#define DIGIT_1 2
@strider-
strider- / growl.rb
Created March 4, 2011 18:37
Post-processing script for SABnzbd. Sends a growl notification once a download has completed.
# Creates a Growl notification for completed SABnzbd downloads (strider-, 2/22/2011)
require 'rubygems'
require 'ruby_gntp'
growl = GNTP.new("SABnzbd")
growl.register({:notifications => [{
:name => "Download Result",
:enabled => true,
}]})