Skip to content

Instantly share code, notes, and snippets.

View laughnan's full-sized avatar

Alex Laughnan laughnan

View GitHub Profile
@laughnan
laughnan / keybase.md
Created March 20, 2022 14:52
keybase.md

Keybase proof

I hereby claim:

  • I am laughnan on github.
  • I am laughnan (https://keybase.io/laughnan) on keybase.
  • I have a public key ASBJQeQnD8gni6U8MCmrOMDvtZceiAMxsWCtLAK-zNHaEQo

To claim this, I am signing this object:

const data = require('../Downloads/Slack/diversity-inclusion/2019-03-07.json');
const usersExport = require('../Downloads/Slack/users.json');
// Load all users into memory.
const users = {};
const contributors = {};
usersExport.forEach(user => {
users[user.id] = user.profile.display_name_normalized ? user.profile.display_name_normalized : user.profile.real_name_normalized;
});
const ordersTooltipExperienceMachine = Machine({
id: "ordersTooltipExperienceV0",
initial: "init",
context: {
flowName: "ordersTooltipExperience",
},
states: {
init: {
on: {
START_IF_ELIGIBLE: {
const ordersTooltipExperienceMachine = Machine({
id: "ordersTooltipExperienceV1",
initial: "init",
context: {
flowName: "ordersTooltipExperience",
},
states: {
init: {
exit: () => console.log('exiting'),
on: {
const ordersOverviewExperienceMachine = Machine({
id: "ordersOverviewExperienceV2",
initial: "init",
context: {
flowName: "ordersOverviewExperience"
},
states: {
init: {
entry: () => console.log("init"),
on: {
basic movements
————————
i - enter insert mode
ctrl+[ - exit insert mode (or esc, but this is easier)
h - left
j - down
k - up
l - right
ctrl+d - page down
ctrl+u - page up