Skip to content

Instantly share code, notes, and snippets.

Sue Lockwood deathbearbrown

Block or report user

Report or block deathbearbrown

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

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:

View keybase.md

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 Feb 17, 2017
Test for visibility
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Bocoup: Screen Reading Visibility</title>
<style>
.hidden {
display: none;
}
.invisible {
visibility: hidden;
View brief_format.md

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.

View gist:e33895235a93928075173c0dfa21a7ec
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
});
View jsdoc.md

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 Mar 1, 2016
What are the benefits of one of these over the other?
View stuff.js
// 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;
View eslint.yml
---
rules:
# Possible Errors
no-cond-assign:
- 2
- except-parens
no-console: 0
no-constant-condition: 1
@deathbearbrown
deathbearbrown / ala.md
Last active Feb 10, 2016
ALA image specs
View ala.md
  • 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.

View deployment-notes.md

Command Line Basics

Rando Stuff

Find the full path of the folder you're in

pwd

Find your username on your machine

You can’t perform that action at this time.