Skip to content

Instantly share code, notes, and snippets.

#############
# NOTE TAKING
function n() {
NAME=$1
if [[ "$NAME" != *.md ]]; then
NAME="${NAME}.md"
fi
${NOTES_EDITOR:-$EDITOR} "${NOTES_DIR:-$HOME/.notes}/$NAME"
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const url = require("url");
const express = require("express");
const next_1 = require("next");
const dev = process.env.NODE_ENV !== 'production';
const app = next_1.default({ dev });
const handle = app.getRequestHandler();
app.prepare()
.then(() => {

Gloomhaven Party Changes

Party

  • Road Event #9 moved to bottom
  • Road Event #10 removed from game
  • City Event #10 moved to bottom
  • City Event #11 removed from game
  • City Event #71 added to game.
  • Completed Scenarios: Ruinous Crypt (#5) and Investigation (#57)
  • Opened Treasures #3, #4, #22, #28
  • Reputation: -1 (Total: 2, Price Modifier: 0)
-- Return the absolute value of a number.
-- e.g. `abs(-14)` returns `14`, `abs(7)` returns 7.
on abs(theNumber)
if theNumber is less than 0 then return -theNumber
return theNumber
end abs
-- Splits `theString` by a provided delimiter.
-- e.g. `split("4:3", ":")` returns {"4", "3"}
on split(theString, theDelimiter)