Skip to content

Instantly share code, notes, and snippets.

@dries007
Last active August 29, 2015 14:27
Show Gist options
  • Save dries007/ce6b417c27155d0f0b7d to your computer and use it in GitHub Desktop.
Save dries007/ce6b417c27155d0f0b7d to your computer and use it in GitHub Desktop.
Pay2Spawn FileSystem Checker

Pay2Spawn FileSystem Checker

When enabled, p2s will check the folder set in the config for *.json files. Once processed the files will be removed from the folder.

Json format

Does not have to be in pretty print.

{
  "id": "Some unique id", // optional, but please include. A UNIQUE id for this specific donation
  "amount": 42.42,
  "name": "G00gl3",
  "note": "Example note", // optional field, by default ""
  "time": 1439308532938 // timestamp, linux epoch time (or anything GSON can parse to a Date object)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment