Skip to content

Instantly share code, notes, and snippets.

View hallem's full-sized avatar

Michael Hallett hallem

View GitHub Profile
@brianr
brianr / gist:c90e615d03da45c81fb5
Created July 15, 2014 23:46
Rollbar custom grouping to group separately by server.software
[
{
"title": "{{ default_title }} in version {{ server.software }}",
"fingerprint": "{{ default_fingerprint }} {{ server.software }}",
"condition": {"path": "server.software", "neq": null}
}
]
@mark-adams
mark-adams / aes_example.cs
Created December 12, 2014 15:02
AES String Encryption (CBC) Example Code for C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace aes_example
{
using System;
@jimbojetset
jimbojetset / EnigmaMachine.cs
Created January 10, 2017 20:20
Enigma Emulator c#
using System;
using System.Text;
using System.Diagnostics;
namespace Enigma
{
class EnigmaMachine
{
private const string _alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
private static Tuple<string, int, int> _rotor_Blank = new Tuple<string, int, int>("ABCDEFGHIJKLMNOPQRSTUVWXYZ", -99, -99);