Skip to content

Instantly share code, notes, and snippets.

View AlanHietala's full-sized avatar

Alan Hietala AlanHietala

View GitHub Profile
{
"name" : "shadowrun-creator-react",
"reason" : { "react-jsx" : 2},
"bs-dependencies": ["reason-react", "reason-js"],
"sources": [
{
"dir": "src",
"subdirs": true,
}
],
yarn add reason-react reason-scripts
yarn add -D bs-platform

Keybase proof

I hereby claim:

  • I am alanhietala on github.
  • I am alanhietala (https://keybase.io/alanhietala) on keybase.
  • I have a public key whose fingerprint is E12F 3DE7 430D 3D0E E6BC E18A 31F8 4CD2 C833 4C78

To claim this, I am signing this object:

// store each version of the data as it is updated you have a full history now based on timestamp
// there is data duplication but thats sort of the point of a document database. It's fast at the
// expense of space. Also depends what sort of rich querying you'll need to do too.
{
version: 25,
timestamp: 12523464,
tankGroups: [{
name: "tank Group 1",
tanks: [{
tankName: "tank 1",
# this class has a big function and has a local implementation of how to save it
# we realize we need to refactor the big function for readability and implmement
# different ways of saving this data via a passed in saver object that implements
# a particular saving strategy.
class SomeClass:
def __init__(self):
def reallyBigFunction(self):
# this is 100 lines lets say need to break it up