Skip to content

Instantly share code, notes, and snippets.

View olitreadwell's full-sized avatar

Oli Treadwell (he/him) olitreadwell

View GitHub Profile
@olitreadwell
olitreadwell / bash-profile-alias.md
Last active April 28, 2017 19:33
Installing ESlint in your JavaScript Application

Include the following within your Bash Profile to make it simple to install eslint in one step.

Warning: this bash command curl's a gist and runs a command without further security checks.

You include this command without further security measures as your own discretion

Add to your Bash Profile

I wrote about how to write a great pull request on my blog

Link to ticket

This is always helpful as a way to connect the different methods of communication that your company uses within your Product Development teams.

Description of Ticket

A description of the ticket, explaining potential changes in the code or away from the original intent of the story

This may be a synthesis of offline discussions you had surrounding the code you wrote. It could include what decisions were made, or realizations come to surrounding necessary codebase changes.

@olitreadwell
olitreadwell / js-prototypal-inheritance.js
Created March 3, 2016 19:21
Basics of JavaScript Prototype-based Inheritance
// Construct a Canine object
var Canine = function(latinName) {
this.genus = "Canis";
this.latinName = latinName;
}
// Create two distinct instances of the Canine object
var dog = new Canine("Canis familiaris");
var greyWolf = new Canine("Canis lupus");
@olitreadwell
olitreadwell / entêtement.md
Last active November 27, 2015 14:06
entêtement at École 42

Workstations at École 42 photo credit (MARION SOLLETTY / FRANCETV INFO)

Paris' École 42 demonstrates an essential character trait of any would-be developer.

Stubbornness.

Call it determination, call it perseverance, it remains as the ability to continue working at a problem.

I allude to this experience as banging my head against the wall.