Skip to content

Instantly share code, notes, and snippets.

View GentlemanHal's full-sized avatar
🎩

Christopher Martin GentlemanHal

🎩
  • ThoughtWorks
  • Kent, UK
View GitHub Profile
@GentlemanHal
GentlemanHal / index.html
Created December 1, 2017 15:53
alphagov accessible-autocomplete problem in React v16
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Accessible Autocomplete React examples</title>
<style>
/* Example page specific styling. */
html {
color: #111;
@GentlemanHal
GentlemanHal / mvp-monitor.html
Last active June 23, 2020 18:35
Nevergreen MVP monitor page
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
</head>
<body>
<ul id="projects">
</ul>
@GentlemanHal
GentlemanHal / simple_connection_check
Created December 17, 2013 11:19
Perform a simple connection attempt in .net
using System.Net;
public class Test
{
static void Main()
{
WebRequest request = WebRequest.Create("url here");
try
{
using (WebResponse response = request.GetResponse())