Skip to content

Instantly share code, notes, and snippets.

View 5342's full-sized avatar

Steven Brown 5342

  • Sydney, Australia
View GitHub Profile
@5342
5342 / URIParser.cs
Created August 10, 2012 21:46
Simple URI parsing in SQL with Regex
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
using System.Text.RegularExpressions;
public partial class UserDefinedFunctions
{
@5342
5342 / Program.cs
Created August 8, 2012 09:44
Command line tool to find / calculate SHA256 hash values
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace SHATool
{
class Program
@5342
5342 / Program.cs
Created August 8, 2012 09:39
Quick hack to find and extract GPS exif data from all jpg files in a given path
using System;
using System.IO;
using System.Drawing;
using System.Diagnostics;
using System.Collections.Generic;
namespace LocationExtractor
{
/// <summary>