Skip to content

Instantly share code, notes, and snippets.

View dustincoates's full-sized avatar

Dustin Coates dustincoates

View GitHub Profile
@dustincoates
dustincoates / index.test.js
Created October 31, 2019 11:43
index.text.js
const handler = require("../../index.js").foo;
const RequestBuilder = require("./helpers/request_builder.js");
let body = new RequestBuilder();
describe("Welcome Intent", () => {
it("returns the expected response for not logged in user", () => {
body = body.setIntent({intent: "Default Welcome Intent"});
const reponse = handler(body.toJSON(), {
status: (code) => {console.log(code)},
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Push Binding
bind right:alt;cmd push right bar-resize:screenSizeX/2
bind left:alt;cmd push left bar-resize:screenSizeX/2
bind up:alt;cmd push left bar-resize:screenSizeX/1
bind right:alt;ctrl push right bar-resize:screenSizeX/3
bind left:alt;ctrl push left bar-resize:screenSizeX/3

http://www.nytimes.com/2010/09/07/health/views/07mind.html

The old advice: clear aside an area for study

The new advice: changing where you study can improve retention

Why: the brain makes associations between what you're learning and where you're learning it. Making it learn the material in different places may reinforce that it is there instead of making it location specific.

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Emoji Selector</title>
<style>
.😱 {
color: purple;
}
.😱:hover {