Skip to content

Instantly share code, notes, and snippets.

Dustin Brownell brwnll

  • Point Inside
  • Bellevue, WA
Block or report user

Report or block brwnll

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View classfinder.js
* @param {Object} el - A DOM node element
* @param {String} classname - The class name to search for
function findNode(el = {}, classname = '') {
if (!el.className) el.className = '';
// Class will be exact match or space seperated
const firstOfMany = classname ' ';
brwnll / nfl-players-2017.json
Created Aug 9, 2017 Players Scrape
View nfl-players-2017.json
[{"position":"OG","number":"72","name":"Dustin Stanton","team":"CIN","stats":{"G":"--","GS":"--"}},{"position":"DT","number":"98","name":"Brandon Thompson","team":"CIN","stats":{"TCKL":"--","SCK":"--","FF":"--","INT":"--"}},{"position":"DB","number":"41","name":"Cedric Thompson","team":"CIN","stats":{"TCKL":"--","SCK":"--","FF":"--","INT":"--"}},{"position":"DT","number":"68","name":"Josh Tupou","team":"CIN","stats":{"TCKL":"--","SCK":"--","FF":"--","INT":"--"}},{"position":"TE","number":"87","name":"C.J. Uzomah","team":"CIN","stats":{"REC":"25","YDS":"234","AVG":"9.4","TDS":"1"}},{"position":"ILB","number":"59","name":"Nick Vigil","team":"CIN","stats":{"TCKL":"21","SCK":"0.0","FF":"0","INT":"--"}},{"position":"OG","number":"63","name":"Christian Westerman","team":"CIN","stats":{"G":"0","GS":"0"}},{"position":"WR","number":"13","name":"Kermit Whitfield","team":"CIN","stats":{"REC":"--","YDS":"--","AVG":"--","TDS":"--"}},{"position":"DT","number":"69","name":"DeShawn Williams","team":"CIN","stats":{"TCKL":"2",
brwnll / form_macro.php
Last active Apr 21, 2016
Laravel 4 form inputs for Number and Telephone
View form_macro.php
* If you prefer automatic updates or using packages, this is available as a composer
* package:
* Thank you to @silentcoast for the adding the support of non-valued attributes (such as `required`)
* This file allows you to use the other 11 HTML elements the same way as text, email, and URL.
* 1. Create the folder /app/misc, or use your preferred directory
brwnll / gist:7915142
Created Dec 11, 2013
Intent: Convert "day" values to Numbers, to be able to run comparison operators against the row.
View gist:7915142
// Data sample
"end": "23:00:00" ,
"day": "5" ,
"id": "003b2c9b-fdae-4112-b29b-6081ae138060" ,
"start": "16:00:00"
"end": "17:00:00" ,
You can’t perform that action at this time.