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 / 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 / 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 / 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 / meteorredux.md
Last active December 25, 2016 16:19
js: Meteor & Redux
@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 / rekit-template.sublime-project
Created December 16, 2016 11:10
js: Rekit sublime project template
{
"folders":
[
{
"path": ".",
"folder_exclude_patterns": ["node_modules", "src", "test"]
},
{
"path": "src/",
"folder_exclude_patterns": [".tmp"]
@thehig
thehig / .eslintrc.js
Created December 11, 2016 13:43
js: .eslintrc.js
// Install NPM Modules:
// yarn add eslint babel-eslint eslint-plugin-react eslint-plugin-import eslint-plugin-redux eslint-plugin-immutable --dev
module.exports = {
"parser": "babel-eslint",
// Globals: // http://eslint.org/docs/user-guide/configuring#specifying-globals
"globals": {
// "foo": true
},
@thehig
thehig / GitGutter.sublime-settings
Last active December 11, 2016 17:41
subl: Settings
{
"show_status": "none"
}
@thehig
thehig / reactResearch.md
Created December 4, 2016 11:36
js: React Research