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 / Open Folder With Sublime.reg
Created December 16, 2016 21:18
reg: Open folder with sublime
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
@="&Open folder with Sublime Text"
"Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]
@thehig
thehig / meteorredux.md
Last active December 25, 2016 16:19
js: Meteor & Redux
@thehig
thehig / sublimegit.md
Last active January 7, 2017 13:06 — forked from Skymetal/sublimegit.md
git: sublime & git setup
  • Generate Github SSH keys
  • Configure Git
    • Username & email
      • git config --global user.email "[email protected]"
      • 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
@thehig
thehig / gist:3977f39bb9d5a7663eefa8663cc9f94e
Created January 12, 2017 12:09
misc: Recent Technologies (14-16)

Recent Technologies (2014-2016)

  • Package Managers: npm/yarn, bower
  • Frameworks: WinJS, React & Redux, Angular, Meteor
  • JS Preprocessors: Coffeescript ,Typescript ,Babel
  • Automation: Gulp, Grunt, Webpack
  • Code Quality: Eslint, Travis, Istanbul
  • Build Tools: Requirejs, Browserify, Uglify, Minify
  • Testing: Karma, Jasmine, Mocha, Chai, Sinon, Enzyme
  • Back-End: NodeJS, Express
@thehig
thehig / aggregateDebounce.js
Last active December 7, 2020 07:37
js: Aggregate Debounce
/*
Client wishes to emit a number of actions
Actions are identical RSAAs, with varying meta properties (usually the ID to request)
Ideal scenario
* Numerous actions are taken in within a timeout/debounce window
* After the timeout has expired, the actions are aggregated into a single API call
dispatch({
type: "SOME_FETCH_REQUEST",
@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
@thehig
thehig / botwrecipies.md
Last active March 8, 2017 18:34
game: Zelda BOTW Recipie List
@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 / 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