Skip to content

Instantly share code, notes, and snippets.

@Skymetal
Skymetal / wildMagixSorcRevised.md
Last active May 10, 2017 11:46
dnd: Wild Magic Sorcerer Revised

Arcane Overcharge

Starting when you choose this origin at 1st level, your spellcasting can unleash surges of untamed magic. Immediately after you cast a Sorcerer spell of 1st level or higher, the DM can have you roll a d20. If you roll a 1, roll on the Wild Magic Surge table to create a random magical effect.

Also at 1st level, you can manipulate your Wild Magic Surges, at a price.

Whenever you have to roll on the Wild Magic Surge table, you can choose the result of the surge. When you do this, you become Overcharged.

@Skymetal
Skymetal / sublimePackageList.md
Last active February 28, 2017 12:02
sublime packages

Sublime Packages

  • advanced new file
  • autofilename
  • babel
  • better coffee script
  • color highlighter
  • emmet
  • gist
  • git gutter
@Skymetal
Skymetal / sublimegit.md
Created January 6, 2017 12:13
git: sublime & git setup
  • Generate Github SSH keys
  • Configure Git
    • Username & email
      • git config --global user.email "your_email@example.com"
      • git config --global user.name "Billy Everyteen"
    • Default Commit tool (sublime)
      • git config --global core.editor "'C:/Program Files/Sublime Text 3/subl.exe' -w"
    • Set git push strategy
      • git config --global push.default matching
    • Last (-n)/gitconfig
@Skymetal
Skymetal / complexMerge.md
Created November 12, 2016 21:48
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)
@Skymetal
Skymetal / flyout-dropdown-winjs.md
Last active October 9, 2017 13:02
winjs: Flyout/Dropdown

Flyout/Dropdown

HTML

#flyout-control

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

@Skymetal
Skymetal / gist:09102fe9e37378123d7d218bf9ed71f6
Created September 20, 2016 09:35
Markdown cheat sheet

Header 1

Header 2

Header 3 ### (Hashes on right are optional)

Header 4

Header 5

Markdown plus h2 with a custom ID ## {#id-goes-here}

Link back to H2

This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one

@Skymetal
Skymetal / prettyprint.coffee
Created September 13, 2016 12:45
coffee: prettyprint
l = console.log
j = require('circular-json').stringify
p = (item) -> l(j(item, null, 4))
k = (item) -> l(Object.keys(item))
@Skymetal
Skymetal / mordorJustEat.js
Last active September 1, 2016 14:47
js: Just Eat Mordor
(function() {
// Alter submit button text
var submitButton = document.querySelector('#searchForm-submit');
var originalText = submitButton.innerText;
var preText = " worthy of ";
var places = ["Mordor", "Gallifrey", "the Gods themselves", "Zeus", "The Avengers", "dickbutt"];
var place = places[Math.floor(Math.random()*places.length)];
@Skymetal
Skymetal / l33t seg.ino
Last active August 18, 2016 10:40
Arduino: 1337 7segment
// CONST's
int DS_pin = 8;
int STCP_pin = 9;
int SHCP_pin = 10;
int C1_pin = 1;
int C2_pin = 2;
int C3_pin = 3;
int C4_pin = 4;