Skip to content

Instantly share code, notes, and snippets.

@lndwn
lndwn / .reactdeps
Last active July 3, 2019 02:30
.reactdots
yarn add \
react \
react-dom \
styled-components \
styled-system \
react-spring \
axios \
@reach/router \
chroma-ja
@lndwn
lndwn / .prettierrc
Created March 2, 2019 02:18
Prettier Config
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"useTabs": false,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "avoid"
}
@lndwn
lndwn / namdoe-bot.py
Created February 6, 2015 05:36
namdoeeeeee bot
import rg
class Robot:
def act(self, game):
# if we're in the center, stay put
for p in self.around():
if rg.dist(p, self.location) >= 2:
return ['move', rg.toward(self.location, loc)]