Skip to content

Instantly share code, notes, and snippets.

View johnwalley's full-sized avatar

John Walley johnwalley

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2015-05-07 11:56:42" build="141123">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{PowerShell (Admin)}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
@johnwalley
johnwalley / create.sql
Last active August 29, 2015 14:22
Populate Bumps database
CREATE TABLE [dbo].[Clubs]
(
[Name] [varchar] (50)
)
ALTER TABLE [dbo].[Clubs] ADD CONSTRAINT [PK_Clubs] PRIMARY KEY CLUSTERED ([Name])
CREATE TABLE [dbo].[Crews]
(
[Club] [varchar] (50) COLLATE Latin1_General_CI_AS NOT NULL,
function kingdomAndTrees(a, maxX) {
var lo = 1;
var hi = maxX;
var mid;
while (lo < hi) {
mid = Math.floor((hi + lo)/2);
var success = hasSolution(a, mid);
This file has been truncated, but you can view the full file.
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;

Keybase proof

I hereby claim:

  • I am johnwalley on github.
  • I am johnwalley (https://keybase.io/johnwalley) on keybase.
  • I have a public key whose fingerprint is EE7D BBC7 31E3 2EAC FECD 41D8 F84A 368C 7B4C 175A

To claim this, I am signing this object:

@johnwalley
johnwalley / .block
Last active August 19, 2020 11:56
d3 Tube Map
license: bsd-3-clause
scrolling: no
@johnwalley
johnwalley / .block
Last active January 13, 2020 03:46
Bumps Chart
license: mit
@johnwalley
johnwalley / .block
Last active June 22, 2022 15:39
Half-marathon times
license: mit
@johnwalley
johnwalley / README.md
Last active May 5, 2023 01:47
3D Printer Contour Plot

A contour plot of the height of the bed of a 3d printer.

@johnwalley
johnwalley / Memoize
Last active January 9, 2017 20:59
Memoization
function memoize(func) {
var cache = {};
return function(n) {
if (cache.hasOwnProperty(n)) {
return cache[n];
}
var result = func(n);
cache[n] = result;