Skip to content

Instantly share code, notes, and snippets.

View mcous's full-sized avatar

Michael Cousins mcous

View GitHub Profile
@mcous
mcous / Makefile
Last active June 10, 2020 17:23
Makefile PATH bug on macOS 10.14 and later
SHELL := /bin/bash
PATH := .:$(PATH)
.PHONY: broken
broken:
env
shell-script
.PHONY: also_broken
also_broken:
@mcous
mcous / .eslintrc.js
Last active February 24, 2019 23:23
@typescript-eslint/no-unused-var error in namespace
'use strict'
module.exports = {
root: true,
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
'@typescript-eslint/no-unused-vars': 'error',
},
}
@mcous
mcous / .gitignore
Last active August 11, 2018 04:22
ot2-pause-handler
node_modules
@mcous
mcous / README.md
Created April 17, 2018 01:13
npm auth bug in `yarn run`

npm auth bug in yarn run

Scripts run with yarn run seem to break npm auth.

Tested on:

  • macOS 10.12.6
  • node v8.11.0
  • npm v5.8.0
  • yarn v1.6.0
@mcous
mcous / ISSUE_TEMPLATE.md
Created September 15, 2017 18:00
Simple issue and pull-request templates

checklist

This issue is for:

  • Bug, feature request, or other (if other, please describe below)?
  • API, App, both?
  • Version?
  • OS and OS version?

expected or desired behavior

@mcous
mcous / index.html
Created September 24, 2015 10:49
Generating PCB stackups to use external stylesheets
<!doctype html>
<html>
<head></head>
<body>
<object data="top.svg" type="image/svg+xml"></object>
<object data="bottom.svg" type="image/svg+xml"></object>
</body>
</html>
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
@mcous
mcous / Makefile
Created July 3, 2013 16:26
Simple AVR Makefile template
# simple AVR Makefile
#
# written by michael cousins (http://github.com/mcous)
# released to the public domain
# Makefile
#
# targets:
# all: compiles the source code
# test: tests the isp connection to the mcu