Skip to content

Instantly share code, notes, and snippets.

View deathbearbrown's full-sized avatar

Sue Lockwood deathbearbrown

  • Seattle, WA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am deathbearbrown on github.
  • I am deathbear (https://keybase.io/deathbear) on keybase.
  • I have a public key whose fingerprint is BA16 A7D8 DDFC A77B 4104 F15F 7A15 2EF1 2F7D 26C5

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am deathbearbrown on github.
  • I am deathbear (https://keybase.io/deathbear) on keybase.
  • I have a public key ASDrze7YZiG5ufdc1yNeavGl3s7CATePp86RLmZs_mO8LQo

To claim this, I am signing this object:

@deathbearbrown
deathbearbrown / index.html
Created February 17, 2017 20:12
Test for visibility
<!DOCTYPE html>
<html>
<head>
<title>Bocoup: Screen Reading Visibility</title>
<style>
.hidden {
display: none;
}
.invisible {
visibility: hidden;
@deathbearbrown
deathbearbrown / brief_format.md
Last active October 20, 2023 19:11
Brief format

Basics

Comments on tone and style:

  • Never apologize in a design brief
  • keep it succinct
  • Do not talk about design features that do not have a direct correlation with a problem

PRE DEFINE

Definition: A design report documents the solution to a unique problem.

var five = require("johnny-five");
var Tessel = require("tessel-io");
var board = new five.Board({
io: new Tessel()
});
board.on("ready", function() {
var button = new five.Button({
pin: "a0",
invert: true
});

Some docs I made for contributing documentation:

Using JS Doc

Any comments written with a comment block /** comment block **/ will get picked up by jsdoc. If you have comments you would like to make that don't show up in the documentation, use // comment.

Namespace docs are created by putting /** @namespace */ before the variable. Each key can be documented with a comment block that is broken down like this:

/**
@deathbearbrown
deathbearbrown / stuff.js
Last active March 1, 2016 18:29
What are the benefits of one of these over the other?
// Is there a benefit to one of these
Foobar.prototype = {};
Foobar.prototype.constructor = Foobar;
function Foobar() {};
Foobar.prototype.baz = function(){};
// over the other?
function Foobar() {};
var prototype = (Foobar.prototype = {}); //Base is an object that can be {}
prototype.constructor = Foobar;
---
rules:
# Possible Errors
no-cond-assign:
- 2
- except-parens
no-console: 0
no-constant-condition: 1
@deathbearbrown
deathbearbrown / ala.md
Last active February 10, 2016 15:54
ALA image specs
  • Official specs are 1920x880
  • Illustrations should generally complement our preference for wider as opposed to taller — approximately a 2:1 ratio — but don't let this strictly constrain you. Please refer to the images in our article archives for reference.
  • In terms of deliverables, we prefer SVG, but we can use raster files (tiff or jpg) if that is in keeping with your preferred workflow.

They also have color constraints, but we like things very colorful.

Command Line Basics

Rando Stuff

Find the full path of the folder you're in

pwd

Find your username on your machine