Skip to content

Instantly share code, notes, and snippets.

👨‍🎨
changing my code editor's theme

Nate Shoemaker nshoes

👨‍🎨
changing my code editor's theme
  • Hint
  • Vancouver, Washington
Block or report user

Report or block nshoes

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
@nshoes
nshoes / buff.js
Created Mar 2, 2017
redux-saga buffers
View buff.js
export function* batchUpdateCalculator(action) {
try {
const { values, id, keys, fromMap } = action
yield put(batchUpdateCameraAction(keys, values, id))
yield put(updateCurrentCameraAction(id))
yield keys.map(k => put(updatePresentationValuesAction(k, values[k], fromMap)))
} catch (err) {
yield put(messageAction('generalError', err.message))
}
}
View gist:8390288
body {
background-color: #eee;
font-family: 'Lato', sans-serif;
font-size: 22px;
line-height: 1.6;
}
h1 {
color: #D94214;
}
View gist:8390278
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link href="style.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,300italic' rel='stylesheet'>
</head>
<body>
You can’t perform that action at this time.