Skip to content

Instantly share code, notes, and snippets.

@tj
tj / update.js
Last active April 29, 2023 14:53
shouldComponentUpdate utility
let rows = {}
export default function(props = [], state = []) {
return function(target) {
const proto = Object.create(target.prototype)
proto.shouldComponentUpdate = function(newProps, newState) {
let id = (this._update_id = this._update_id || Math.random())
@lacymorrow
lacymorrow / setup.md
Last active November 17, 2017 09:21 — forked from lazd/Sony Super HAD HS1177 Camera Setup.md
HS1177 Sony Super HAD Camera Setup.md

Cam settings

Before you do anything, perform a factory reset.

##Exposure

Shutter: Auto

Brightness: 55

@bterlson
bterlson / ttwf.md
Last active January 4, 2016 13:09
@rwaldron
rwaldron / array.extensions.md
Last active May 4, 2022 13:46
Array.from and Array.of