Skip to content

Instantly share code, notes, and snippets.

View pedrombafonso's full-sized avatar
👨‍💻

Pedro Baptista Afonso pedrombafonso

👨‍💻
  • London, United Kingdom
View GitHub Profile
@pedrombafonso
pedrombafonso / .eslintrc
Created May 22, 2016 21:11 — forked from cletusw/.eslintrc
ESLint Reset - A starter .eslintrc file that resets all rules to off and includes a description of what each rule does. From here, enable the rules that you care about by changing the 0 to a 1 or 2. 1 means warning (will not affect exit code) and 2 means error (will affect exit code).
{
// http://eslint.org/docs/rules/
"ecmaFeatures": {
"binaryLiterals": false, // enable binary literals
"blockBindings": false, // enable let and const (aka block bindings)
"defaultParams": false, // enable default function parameters
"forOf": false, // enable for-of loops
"generators": false, // enable generators
"objectLiteralComputedProperties": false, // enable computed object literal property names
@pedrombafonso
pedrombafonso / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@pedrombafonso
pedrombafonso / statistics-distributions.js
Last active January 4, 2016 00:19 — forked from benrasmusen/statistics-distributions.js
Statistics distributions module for node.js
/*
* NAME
*
* statistics-distributions.js - JavaScript library for calculating
* critical values and upper probabilities of common statistical
* distributions
*
* SYNOPSIS
*
*