Skip to content

Instantly share code, notes, and snippets.

On leave

Geoffrey Huntley ghuntley

On leave
View GitHub Profile
agc93 /
Created Oct 9, 2017
Script used for demos and live coding
# This is pretty trimmed down, but is the basic idea, at least
docker ps -a -q -f status=exited | xargs -r docker rm
git reset --hard
git checkout stage-$1
teamtam / UriImageLoaderIos.cs
Created Feb 8, 2017
Manipulates a URI to get a resolution appropriate image by convention (for iOS) before calling Xamarin.Forms.ImageSource.FromUri(...)
View UriImageLoaderIos.cs
public class UriImageLoaderIos : IUriImageLoader
public string GetUri(string baseImageUri)
if (string.IsNullOrEmpty(baseImageUri))
throw new ArgumentNullException("baseImageUri");
if (UIScreen.MainScreen.Scale > 2.0)
shiftkey /
Last active Jul 28, 2018
Working Distributed - Cliff Notes
NickCraver / Build.xml
Last active Jul 6, 2020
Stack Overflow Build Reference Docs
View Build.xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="PrepareStaticContent" xmlns="">
<!-- Passed in Parameters -->
ghuntley / FilesystemWatchCache.cs
Created Apr 5, 2016 — forked from anaisbetts/FilesystemWatchCache.cs
An Rx-friendly Filesystem Watcher
View FilesystemWatchCache.cs
using System;
using System.IO;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
namespace SaveAllTheTime.Models
interface IFilesystemWatchCache
JonDouglas /
Last active Jul 3, 2020
Xamarin Android Bindings Troubleshooting

Approaching a Xamarin.Android Bindings Case

1. Investigation

One of the best ways to investigate a problematic Xamarin.Android Binding is to first ensure you have the proper tooling available:

rdavisau / GetXamarinApps.cs
Created Nov 5, 2015
Checks your iTunes folder for any .ipas that look like Xamarin apps
View GetXamarinApps.cs
void Main()
var myXamarinApps =
.EnumerateFiles(Path.Combine(Environment.GetEnvironmentVariable("HOMEPATH"), @"Music\iTunes\iTunes Media\Mobile Applications"), "*.ipa")
.Where(f=> ZipFile.Open(f, ZipArchiveMode.Read)
.Any(e=> e.FullName.Contains(".monotouch-")));
foreach (var app in myXamarinApps)

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.


Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to:

kentcdodds /
Last active Oct 27, 2015
One page site for First Timers Only concept

First Timers Only website idea

I wrote a blogpost on Medium last week about something I've been doing with my open source project. Check that out first:

It's had a fantastic response and people are enthusiastic about the idea. In an effort to encourage more projects to participate, I decided to file an issue on the up-for-grabs website repo and ask them if they would be willing to have a section dedicated to projects with first-timers-only issues.

If you checkout that issue, you see that Scott Hanselman has bought the domain and wants to turn it into a one pager about the idea with links/resources/etc.

View install-comodo-ssl-cert-for-nginx.rst

Setting up a SSL Cert from Comodo

I use as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

You can’t perform that action at this time.