Skip to content

Instantly share code, notes, and snippets.

View sjmarshy's full-sized avatar
:shipit:
being visible to everyone

Sam Marshall sjmarshy

:shipit:
being visible to everyone
View GitHub Profile
@sjmarshy
sjmarshy / canvas-and-functor.html
Last active March 13, 2018 22:12
Playing with the canvas API and the Identity functor
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
@sjmarshy
sjmarshy / keybase.md
Created May 28, 2017 09:54
Keybase Details

Keybase proof

I hereby claim:

  • I am sjmarshy on github.
  • I am sjmarshy (https://keybase.io/sjmarshy) on keybase.
  • I have a public key ASABYgJay5a3EkYo5EWg3jr45QBlbG62354WTFMIOsZnTgo

To claim this, I am signing this object:

numbers-play

@sjmarshy
sjmarshy / # libstfl - 2016-02-06_21-06-21.txt
Created February 6, 2016 21:07
libstfl on OS X 10.11.2 - Homebrew build logs
Homebrew build logs for libstfl on OS X 10.11.2
Build date: 2016-02-06 21:06:21
@sjmarshy
sjmarshy / package.json
Created July 22, 2014 20:59
from TagTime .log files to JSON.
{
"name": "tagtime",
"version": "0.0.0",
"main": "tagtimeToJSON.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sam Marshall <sjmarshy@gmail.com>",
"dependencies": {
"npmlog": "^0.1.1",
@sjmarshy
sjmarshy / form.js
Created December 9, 2013 11:32
quick form handling
/*
* form: provides basic control over forms.
* requires jQuery
*
* constructor:
* new form(array form_items, string submit, string url, function fn)
* form_items should contain a jQuery style selector string for each field in the form.
* -
* submit should contain a jQuery style selector string for the submit button
* -
@sjmarshy
sjmarshy / console.log.sublime-snippet
Created March 14, 2013 13:39
javascript console.log() sublime text 2 snippet
<snippet>
<content><![CDATA[
console.log(${1:'ping'});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>conlog</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>