Skip to content

Instantly share code, notes, and snippets.

View MylesBorins's full-sized avatar

Myles Borins MylesBorins

View GitHub Profile
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
@MylesBorins
MylesBorins / -
Last active August 10, 2016 15:21
bower prism#gh-pages not-cached https://github.com/LeaVerou/prism.git#gh-pages
bower prism#gh-pages resolve https://github.com/LeaVerou/prism.git#gh-pages
bower prism#gh-pages checkout gh-pages
bower prism#gh-pages error Path must be a string. Received [ '/var/folders/ty/q7q6b07j5r3c7nvnpzm6hkq40000gn/T/thealphanerd/bower/prism-84066-KfaPIF', [Function: _cleanupCallback] ]
Stack trace:
TypeError: Path must be a string. Received [ '/var/folders/ty/q7q6b07j5r3c7nvnpzm6hkq40000gn/T/thealphanerd/bower/prism-84066-KfaPIF',
[Function: _cleanupCallback] ]
at assertPath (path.js:8:11)
at Object.posix.join (path.js:479:5)
bower prism#gh-pages not-cached https://github.com/LeaVerou/prism.git#gh-pages
bower prism#gh-pages resolve https://github.com/LeaVerou/prism.git#gh-pages
bower prism#gh-pages checkout gh-pages
@MylesBorins
MylesBorins / line-conf-2016.txt
Created August 4, 2016 19:17
Line Conf 2016
San Francisco has so many good lines. As connoisseurs of San Francisco's hidden treasures we, the organizers, have decided to curate a day of SF's best lines, along with talks on topics like: Queueing theory, Lines of Poetry, Flatland, Professional Line Waiting, Lines that Can Change Your Life, and more! Talks will last the duration of the line.
We'll kick off in the mission on the morning of Saturday, the 16th (feel free to take a Lyft Line to the starting location) where attendees will wait to register. Then we'll set out together. Participants are not required to purchase anything at any of the stops, and should consider bringing snacks and water. We'll also have folding stools available for purchase.
(Rough) Schedule:
10:00am Line-up for kick-off at Boogaloos at 22nd and Valencia – Receive your lanyard and optional folding chair.
10:30 Queue at Ritual Coffee on Valencia
11:15 Tartine! (voted #1 best line in SF 2014)
12:00pm Bi-Rite Ice Cream (voted #1 best line in SF 2015) / Dolores Park bathroom line
1
@MylesBorins
MylesBorins / helper.js
Created July 25, 2016 23:32
With require and export
function init() {
console.log('initESLibraryFS is started!');
}
module.exports = {
init: init
}
function initLibraryFS() {
console.log('initESLibraryFS is started!');
}
  • [87cdb83a96] - benchmark: merge url.js with url-resolve.js (Andreas Madsen) #5177
  • [921e8568d5] - benchmark: move misc to categorized directories (Andreas Madsen) #5177
  • [c189eec14e] - benchmark: fix configuation parameters (Andreas Madsen) #5177
  • [58ad451f0b] - benchmark: move string-decoder to its own category (Andreas Madsen) #5177
  • [a01caa3166] - build: don't compile with -B, redux (Ben Noordhuis) #6650
  • [37606caeaf] - build: don't compile w
@MylesBorins
MylesBorins / define.js
Created June 8, 2016 18:28
Getter / Setter
var obj = {
_a: 0
};
Object.defineProperty(obj, 'a', {
get: function () {
return this._a;
},
set: function (val) {
this._a = val;
@MylesBorins
MylesBorins / after.sh
Last active June 7, 2016 17:46
Update linter
NODE_VERSION=$(python tools/getnodeversion.py)
if [[ $NODE_VERSION =~ ^[0] ]]; then
gmake lint
else
gmake lint-ci
fi