Skip to content

Instantly share code, notes, and snippets.

View metasean's full-sized avatar

Sean Duncan metasean

View GitHub Profile
@metasean
metasean / index.html
Last active August 24, 2019 21:02
string split filter join VS regex replace trim (http://jsbench.github.io/#b7224aaecde5568e8cac9c25e1caf48c) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>string split filter join VS regex replace trim</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@metasean
metasean / notes.md
Created April 17, 2019 01:54
2019-04---SLC-JS-Learners--Fun-with-Arrays---Presentation

Fun with Arrays!!!

Our base array

NOTE: var is used throughout this presentation only because Sean's doing demos in the browser console. Never let Sean catch you using var in any other context!

var foods = ['asparagus', 'butternut squash', 'carrots', 'dates', 'endive'];
@metasean
metasean / notes.md
Created March 20, 2019 01:56
2019-03---SLC-JS-Learners--Responsive-Web-Design---Presentation
@metasean
metasean / README.md
Created June 30, 2017 03:09
How to share a webpack config between next.js and Storybook
@metasean
metasean / data.csv
Last active February 1, 2017 00:45
Data Viz csv
Company Female Male White Asian Latino Black Multi Other Undeclared
U.S. Population 51 49 64 4 16 12 1 3 0
Social media sites 0 0 0 0 0 0 0 0 0
Facebook 33 67 53 38 4 2 3 0 0
Instagram 31 69 57 34 4 2 3 0 0
Google+ 30 70 60 31 3 2 3 <1 0
YouTube 30 70 61 30 3 2 4 <1 0
LinkedIn 42 58 56 37 4 2 1 <1 0
Pinterest 40 60 50 42 2 1 0 5 0
Tumblr 37 62 50 39 4 2 2 2 1
@metasean
metasean / Mac-CLI-Tools.md
Created October 9, 2016 15:18 — forked from JoniWeiss/Mac-CLI-Tools.md
Mac Command Line for Web Devs

Mac Command Line for Web Devs

Handy Tools

  • mdn-search.
    • Quick tool for search in Mozilla Developer Network from command line, built with nodejs by Nicolás Arias (ezakto):

    • Usage:

    mdn   [options]   [command]   <query>
{ "quotes": [
{
"text": "There are moments when one has to choose between living one's own life, fully, entirely, completely-or dragging out some false, shallow, degrading existence that the world in its hypocrisy demands.",
"author": "Oscar Wilde",
"publication": "Lady Windermere's Fan"
},
{
"text": "Your best teacher is your last mistake.",
"author": "Ralph Nader"
},
@metasean
metasean / NodeSchool.md
Created September 16, 2015 00:17
Instructions for September 2015