Skip to content

Instantly share code, notes, and snippets.

View gpoul's full-sized avatar

Gerhard Poul gpoul

View GitHub Profile
@gpoul
gpoul / ledger.cs
Created April 17, 2017 11:19
Shim for the WSL Ubuntu ledger binary from Win32
using System.Diagnostics;
using System;
class Program
{
static void Main(string[] args)
{
LaunchCommandLineApp(args);
}

Keybase proof

I hereby claim:

  • I am gpoul on github.
  • I am gpoul (https://keybase.io/gpoul) on keybase.
  • I have a public key ASBvIO8h7pbw81vcA8bLooiruZXYA8gxlxeUp--tkI-ywAo

To claim this, I am signing this object:

@gpoul
gpoul / drivenow.user.js
Created October 4, 2014 20:30
Drive-Now Fix for Chrome Password Manager compatibility
function fixDriveNow() {
// Are we logged in?
var loggedIn = document.getElementsByClassName("logout").length
if(!loggedIn) {
// Look for the password field
var passwordField = document.getElementsByName('password')[0]
if(passwordField) {
// If passwordField has a form associated with it, then the problem was fixed upstream
if(passwordField.form) {
console.log("Issue is already fixed.")
@gpoul
gpoul / antstringtests.xml
Created July 28, 2012 10:13
Ant String Utility Library
<?xml version="1.0" encoding="UTF-8"?>
<!--
(C) Copyright Gerhard Poul 2012
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