Skip to content

Instantly share code, notes, and snippets.

View erikhazzard's full-sized avatar

Erik Hazzard erikhazzard

View GitHub Profile
@erikhazzard
erikhazzard / factions.txt
Last active February 13, 2023 21:07
nexus city factions
View factions.txt
# Nexus City Factions
While Nextria is rife with guilds, pirate crews, and other groups, few collectives have as much sway as the factions that dominate Nextrian society. These organizations, rooted in civilization for centuries, transcend borders and societies by folding Nextria’s people under unique purposes. Whether these purposes are for the good or ill of Nextria is unknown—and, in many ways, up to the adventurers who join them.
Nextria has three primary factions:
* the Graycloaks, anti-authoritarian revolutionaries and liberators
* the Order of Whispers, a network of spies and infiltrators under a secret patron
View gist:374f2b7fe004213594d6917e0e8d4fa5
module.exports.routeGetScreenshot = async function routeGetScreenshot (req, res) {
/**
* [GET] [/util/og/:roomId] This will return an image of a screen of
* the /util/og/:roomId endpoint
*/
// set the cache header to a more generous time, since this is used for share links and
// we don't want to be calling this 100k's time in a short period. Whatever this value is
// set to, it will returned a cached screenshot for that time period (in seconds). The trade
// off here is screenshot freshness with scale. NOTE: Most services cache OG images on their
@erikhazzard
erikhazzard / .block
Last active August 17, 2017 07:56
voronoi+boids-5-minimal-light
View .block
license: mit
View colors.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.18311651051044464</real>
@erikhazzard
erikhazzard / .block
Created January 6, 2017 07:16
Poisson-Disc Voronoi
View .block
license: gpl-3.0
@erikhazzard
erikhazzard / .block
Last active November 17, 2016 21:25
voronoi+boids-combined-delaunay-4-mesh
View .block
license: mit
@erikhazzard
erikhazzard / .block
Created November 17, 2016 21:23
voronoi+boids-combined-delaunay-3
View .block
license: mit
@erikhazzard
erikhazzard / .block
Created November 17, 2016 21:14
voronoi+boids-delaunay-2-mesh
View .block
license: mit
@erikhazzard
erikhazzard / .block
Created November 17, 2016 21:08
voronoi+boids-delaunay-1
View .block
license: mit
@erikhazzard
erikhazzard / .block
Last active November 17, 2016 20:04
voronoi+boids-5a-minimal-shadow
View .block
license: mit