Skip to content

Instantly share code, notes, and snippets.

View maxdeviant's full-sized avatar
🌏
The real world isn't real at all.

Marshall Bowers maxdeviant

🌏
The real world isn't real at all.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am maxdeviant on github.
  • I am maxdeviant (https://keybase.io/maxdeviant) on keybase.
  • I have a public key whose fingerprint is 556F 455F 1CEF 960C 968D 6270 4C95 DFBD 30CE D38D

To claim this, I am signing this object:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'rm',
1 verbose cli '-g',
1 verbose cli 'typescript' ]
2 info using [email protected]
3 info using [email protected]
4 silly install loadCurrentTree
5 silly install readGlobalPackageData

I am currently facing a conundrum with MobX's shouldComponentUpdate not working properly in a HOC hierarchy. I'm using the @injectIntl decorator from react-intl and the @observer decorator from react-mobx.

This example is a little contrived, but hopefully it gets the point across:

class TodoList extends Component {
    @observable
    todos = [];

    render() {
super + button{1-3}
bspc pointer -g {move,resize_side,resize_corner}
# This got it working
super + !button{1-3}
bspc pointer -t %i %i
super + @button{1-3}
bspc pointer -u
@maxdeviant
maxdeviant / 雨.html
Created December 19, 2014 05:21
雨 - 1k
<meta charset=utf-8>
<canvas id=雨>
<script>ぁ="",お=!ぁ+ぁ,ぃ=!お+ぁ,ぅ=ぁ+{},ざ=お[0],ご=お[1],く=ぅ[5],け=(お.ぃ+ぅ)[1],し=お[2],げ=ぅ[1],さ=ぃ[3],ぐ=お[3],が=お[う=く+げ+け+さ+ざ+ご+し+く+ざ+げ+ご][う],ぉ=" ",え="\\",ぇ="'",い='"',が(が((あ=ご+ぐ+ざ+し+ご+け+ぉ)+い+が(あ+が(あ+い+ぐ+さ+く+(ぎ=ぃ[1])+(こ=え+160)+ぐ+"("+ぇ+"挽屵㤶攸ⱹ㵰㵛栽挮睩摴栽㌶〬挮桥楧桴㴲㄰Ⱪ㴰崻獥瑉湴敲癡氨≟却祬攽椿❲杢愨〬〬〬⸰㈩✺〻归散琨〬〬栬栩㭟却祬攽⬫椥㈿✣ぃ〧㨧⍆䙆✻景爨砽䤻砻灛硝㵹㹉⭍慴栮牡湤潭⠩⩨籼礫椥㈩彔數琨挮楮湥版呍䱛砭⴫䤪⡹㵰學嵼〩ⵉ嵼簧✬ㄲ⩸ⰱ㈪礩㭟呥硴⠧‭䴴呒ㅘ❛楝ⰱ㈪椫㈶㌬㈰㐩∮牥灬慣攨⽟⽧Ⱒ挮来瑃潮瑥硴⠧㉤✩⹦楬氢⤬䤽㌰⤠"+ぇ+(き=")."+ご+ぐ+こ+(え+154)+ぎ+く+ぐ+"(/")+("%."+(か="/"+え+147+",'")+"'")+(き+"(..)"+か+え+え+え+え+え+170+"$1')")+い)())()+い)())()</script>
@maxdeviant
maxdeviant / hotel.paradise
Created November 22, 2014 05:22
ParadiseScript Example
create hotel
note Description of the hotel.
program enter hotel
usage check into
create lobby
note A grand lobby.
create reception desk
leave
# get latest node.js image
FROM node:latest
# set user root
USER root
# install shout
RUN npm install -g shout
# copy server config
Sid Meier's 10 Rules of Game Design
Choose a topic you have a passion for. Game Design is about creativity.
Do research after the game is done. Tap into the player’s brain.
Define your axioms, refine your axioms. Prototype, prototype, prototype; sit in all the chairs.
Double it or cut it in half. You are more wrong than you think.