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 / examplepatterns.sublime-project
Created August 18, 2016 10:36
sublime: Example project patterns
{
"folders":
[
{
"file_exclude_patterns":
[
// "*.sln"
],
"folder_exclude_patterns":
[
@thehig
thehig / l33t seg.ino
Created August 18, 2016 10:40 — forked from Skymetal/l33t seg.ino
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;
@thehig
thehig / Readme.md
Last active September 11, 2016 14:48
processing: evolution3WEB
@thehig
thehig / shortcuts.md
Last active December 21, 2016 11:09
misc: Shortcuts cheat sheet
@thehig
thehig / promiseChaining.js
Last active October 6, 2016 14:38
js: Promise Chaining
myModule.validate = function(params){
return new WinJS.Promise(function(ccb, ecb){
myModule.preValidate(params).then(
function prevalidateSuccess(result){
ccb(result);
},
function prevalidateError(err){
ecb(err);
})
});
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Oceanic Next Color Scheme/Oceanic Next.tmTheme",
"theme": "Oceanic Next.sublime-theme",
"draw_white_space": "all",
"font_options":
[
"gray_antialias",
"subpixel_antialias"
@thehig
thehig / reactResearch.md
Created December 4, 2016 11:36
js: React Research
@thehig
thehig / GitGutter.sublime-settings
Last active December 11, 2016 17:41
subl: Settings
{
"show_status": "none"
}
@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 / 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"]