Skip to content

Instantly share code, notes, and snippets.

View henderjon's full-sized avatar

Jon Henderson henderjon

View GitHub Profile

HTML5 Markup Template - Basic

A very basic starter template with fundamental HTML5 markup -- only the basics.

Based on HTML5 Bones | http://html5bones.com

@henderjon
henderjon / branch-be-gone.php
Created December 3, 2015 19:12 — forked from donatj/branch-be-gone.php
Gone Branch Be Gone
#!/usr/bin/env php
<?php
`git fetch -p --all`;
$branches = `git branch -vv`;
preg_match_all('%^\ +(?P<branch>[\w/=\-.#]+)\ +(?P<hash>[0-9a-fA-F]+)\ \[[\w/=\-.#]+:\sgone\]%smx', $branches, $result, PREG_PATTERN_ORDER);
foreach( $result['branch'] as $index => $branch ) {
$output = [ ];

Keybase proof

I hereby claim:

  • I am henderjon on github.
  • I am henderjon (https://keybase.io/henderjon) on keybase.
  • I have a public key whose fingerprint is 7429 5F28 84BC E298 E4C6 EB6E 31A1 5699 FC75 C39C

To claim this, I am signing this object:

DROP PROCEDURE IF EXISTS deleteBadProjectAssignments;
DELIMITER $$
CREATE PROCEDURE deleteBadProjectAssignments( )
BEGIN
DROP TEMPORARY TABLE IF EXISTS table2;
CREATE TEMPORARY TABLE IF NOT EXISTS table2 AS(
SELECT DISTINCT
utp.project_id
FROM
users_to_projects utp
@henderjon
henderjon / provisioning.md
Last active May 9, 2018 18:50
A draft of the provisioning spec.

Provisioning

Accounts

In order to create an account, the incoming payload should be a JSON object with the following fields.

[{
  "title": "This is the name of the account.",
  "descr": "This is a description of the account, particularly useful for differentiating similarly named accounts",
@henderjon
henderjon / Senior-Developer.md
Last active December 12, 2018 15:08
A generic senior developer job description

Senior Developer

Job Function

  • Analyzes product requirements and procedures to create, maintain, and enhance existing products. Performing the listed duties within a coordinated development team.
  • Openly contributes and collaborates, honestly and collegially, with the existing team and its members.
  • Exercises clear decision-making and independent discretion in matters of significance.

Core Competencies

@henderjon
henderjon / interview-questions.md
Last active December 13, 2018 17:22
A list of UNORDERED generic interview questions that go beyond technical expertise.

What did you learn at your last job that was so valuable that you want to bring it here with you?

Talk about a few things you don't know. Do you have a strategy for learning them?

What are your least/favorite things about development?

What are your least/favorite things about your primary language/stack?

Do you prefer long running projects? Many iterations on one application or fewer iterations on unrelated projects?

@henderjon
henderjon / ANSI.md
Last active February 27, 2023 17:06 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27