Skip to content

Instantly share code, notes, and snippets.

View thehig's full-sized avatar

David Higgins thehig

  • Dublin, Ireland
View GitHub Profile
@thehig
thehig / flyout-dropdown-winjs.md
Created October 9, 2017 13:02 — forked from Skymetal/flyout-dropdown-winjs.md
winjs: Flyout/Dropdown

Flyout/Dropdown

HTML

#flyout-control

The flyout element that contains the repeater that will be displayed, populated with options

@thehig
thehig / complexMerge.md
Created October 9, 2017 13:02 — forked from Skymetal/complexMerge.md
git: Complex merge

Performing a very complex merge

The problem

  • We have two servers, one named staging, one named production.
  • We have made changes on the staging branch to:
    • Use an alternate authentication source
    • Display more complex errors
    • Communicate with the staging server
  • We have branched from staging to implement a new feature (feature-easypost)
@thehig
thehig / gist:8f4d4b7335bd49118c8fca1b9a23e221
Created September 26, 2017 13:03
dnd: Low level magic rings
https://www.reddit.com/r/UnearthedArcana/comments/72fqtc/bargain_magic_rings_9_useful_baubles_for_lowlevel/
http://homebrewery.naturalcrit.com/share/SJiT9L7jZ
Bargain Magic Rings
Do you need a magic bauble 'round your finger? Look no further than Crazy Jarl's Emporium of Wondrous Items. We've got the very best magic rings in the realm, at a price you can afford. Don't believe us? Have a look at our catalogue and see for yourself...
Ring of Second Chances
Ring, uncommon
This pure silver ring is set with a bright white gemstone.
If the creature wearing this ring is dead, it is immediately subject to the Revivify spell. This happens even if the creature has been dead for more than a minute. After casting the spell, the ring's gem turns black and it becomes mundane.
Ring of Magical Missiles
@thehig
thehig / dnd5e-wild-shape-druid.mdown
Last active August 25, 2017 21:16
dnd: Wild Shape Druid

Wild Shape Druid

Source

Whilst swarms are not specifically prohibited by the rules as written, it is reasonable for DMs to disallow their use (on the grounds that the druid changes into an individual animal shape; the rules state, "a beast"). But other DMs may argue that this is allowable. For clarity, swarms have been marked in italics.

Standard Beast Shapes

Level 2:

@thehig
thehig / firebase.json
Created June 14, 2017 19:20
js: arpggio firebase schema
{
"games": {
"_gameId": {
"master": "_playerId",
"players": [ "_playerId", "_playerId", "_playerId" ],
"encounter": {
"encounterId": "_encounterId",
"NOTE": "When the encounter is instantiated, it should be copied here"
},
"viewport": {
@thehig
thehig / package.json
Last active May 16, 2017 17:22
js: Mocha Chai Coffee Node Test Harness
/*
* NPM package.json template
* Replace:
* $PROJECTNAME$ eg: package-json-sample (Must be valid npm project name)
* $GITHUBUSERNAME$ eg: thehig
* $AUTHOR$ eg: David Higgins <[email protected]>
* $TESTPATTERN$ eg: specs/unit/*.coffee
*/
{
@thehig
thehig / sidekickDiscord.md
Last active May 13, 2017 15:21
md: SidekickDiscord

Sidekick

Modifiers

  • = - Rolls with an exact value
  • >= - Greater than or equal to (Dice check, armor check etc)
  • !{$} - Exploding dice on {$} (defaults to max value of dice)
  • !>{$} - Exploding dice when value is >= {$}
  • k{$} - Keep highest {$} of rolls
  • kl{$} - Keep lowest {$} of rolls
@thehig
thehig / dnd_wildmagic_2e.md
Created April 25, 2017 12:07
dnd: Second Edition Wild Magic

From ADnD2e Tome of Magic

Roll Effect
01 Wall of force appears in front of caster
02 Caster smells like a skunk for spell duration
03 Caster shoots forth eight non-poisonous snakes from fingertips. Snakes do not attack.
04 Caster's clothes itch (+2 to initiative)
05 Caster glows as per a light spell
@thehig
thehig / botwrecipies.md
Last active March 8, 2017 18:34
game: Zelda BOTW Recipie List
@thehig
thehig / python_refresher.md
Last active February 26, 2017 14:21
py: Python Refresher

Python Refresher

[Introduction] to Python

Cohabitating Python 27 vs 3

  • Can cohabitate on Windows by renaming the 2.7 version of python.exe to python27.exe
  • Install Python 3 into a different folder than Python 2.7
  • Include Python 3 path into environment variables
  • Both versions of Python are accessible by using python or python27