Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gibwar on github.
  • I am joshuaharley (https://keybase.io/joshuaharley) on keybase.
  • I have a public key ASA18bBEnFSZCvIwSWJbR4HATnu-rITOMzCVNqZAe8K3ZQo

To claim this, I am signing this object:

@gibwar
gibwar / gist:074a6c1a8a28694a8577
Created March 1, 2015 19:01
ssh-askpass for OSX 10.10
#!/bin/sh
# Save as /usr/libexec/ssh-askpass or somewhere else you control and set the
# SSH_ASKPASS environment variable to the location of this script.
# chmod a+rx /usr/libexec/ssh-askpass or
# chmod +x ~/wherever/you/saved
# NOTE: This is for OS X 10.10 only and shouldn't work on previous OS X. The
# format returned from osascript changed from "text returned:blah, button
# returned:OK" to "button returned:OK, text returned:blah". This script
@gibwar
gibwar / gist:7424119
Last active December 28, 2015 01:59
HashValidator used to hash files using hasher.dll.
namespace HashValidator {
#region Using directives
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Runtime.InteropServices;