Skip to content

Instantly share code, notes, and snippets.

View feross's full-sized avatar
🐢
For urgent issues, send me an email

Feross Aboukhadijeh feross

🐢
For urgent issues, send me an email
View GitHub Profile

Keybase proof

I hereby claim:

  • I am feross on github.
  • I am feross (https://keybase.io/feross) on keybase.
  • I have a public key whose fingerprint is 6C0E 34E5 746D D1B0 F39B CE24 ED6E 52FF BF15 060C

To claim this, I am signing this object:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@feross
feross / 1 - top dependencies.txt
Last active July 13, 2023 22:39
standard stats (updated 2017-06-23)
`standard` is the 52th most depended on npm module. (counting dependencies and devDependencies)
--------
SPECIFIC MODULES
--------
standard 9860
snazzy 1004
eslint-config-standard 4235
@feross
feross / top-100-dev-dependents.txt
Last active May 12, 2016 14:26 — forked from mattdesl/top-100-dev-dependents.txt
Top 100 Dev Dependents on npmjs (as of Jul 31, 2015)
mocha 44731
chai 17944
grunt 17447
should 11882
grunt-contrib-jshint 11466
gulp 8619
istanbul 7374
tape 7313
sinon 6851
grunt-contrib-clean 6807
@feross
feross / index.js
Last active July 24, 2023 10:21 — forked from mikolalysenko/index.js
requirebin sketch
var shell = require("mesh-viewer")()
var mesh
shell.on("viewer-init", function() {
mesh = shell.createMesh(require("bunny"))
})
shell.on("gl-render", function() {
mesh.draw()
})
@feross
feross / index.js
Created February 22, 2015 03:41
requirebin sketch
var VText = require('virtual-dom/vnode/vtext')
@feross
feross / WebTorrent Roadmap.md
Last active August 29, 2017 12:08
WebTorrent Roadmap

WebTorrent Roadmap

v1.0.0 Prove the vision

WebTorrent.tv. YouTube for public domain content

  • Make website
  • Find public domain content
  • Host content to ensure it’s always available
  • Need web seed support
/**
* Make a JSONP request. Server must support JSONP with callback name specified as a GET
* parameter with the name `callback`. Callback function will be called when data arrives.
* If request times out, callback is called with an Error object.
* @param {string} uri
* @param {Object} params Object of url params. Gets transformed into ?key1=value1&key2=value2
* @param {function} cb
*/
exports.jsonp = function (uri, params, cb) {
cb = once(cb)
@feross
feross / toAbsoluteURL.js
Last active December 16, 2015 23:29
Given a filename for a static resource, returns the resource's absolute URL. Supports file paths with or without origin/protocol.
/**
* Given a filename for a static resource, returns the resource's absolute
* URL. Supports file paths with or without origin/protocol.
*/
function toAbsoluteURL (url) {
// Handle absolute URLs (with protocol-relative prefix)
// Example: //domain.com/file.png
if (url.search(/^\/\//) != -1) {
return window.location.protocol + url
}
@feross
feross / Respect Rollcall.html
Last active March 9, 2022 04:37
A list of bloggers who I like, pasted from my old blog.
<!-- Respect Rollcall -->
<li><a href="http://www.alistapart.com/articles/">A List Apart &#8212; for website builders</a></li>
<li><a href="http://abstrusegoose.com/">Abstruse Goose &#8212; my favorite comic</a></li>
<li><a href="http://al3x.net/">Alex Payne &#8212; technology rambling</a></li>
<li><a href="http://dashes.com/anil/">Anil Dash &#8212; on culture, apple &amp; design</a></li>
<li><a href="http://weblogs.mozillazine.org/asa/">Asa Dotzler &#8212; on mozilla &amp; software</a></li>
<li><a href="http://www.azarask.in/blog/">Aza Raskin &#8211; on design &amp; firefox</a></li>
<li><a href="http://christophzillgens.com/en/">Christoph Zillgens &#8212; interface design</a></li>
<li><a href="http://cssremix.com/">CSS Remix &#8212; gorgeous designs</a></li>
<li><a href="http://css-tricks.com/">CSS Tricks</a></li>