Skip to content

Instantly share code, notes, and snippets.

♥️
Get support and advice — https://feross.org/support/

Feross Aboukhadijeh feross

♥️
Get support and advice — https://feross.org/support/
Block or report user

Report or block feross

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 keybase.md

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:

View webtorrent-v3.1.svg
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 Jul 18, 2017
standard stats (updated 2017-06-23)
View 1 - top dependencies.txt
`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 — forked from mattdesl/top-100-dev-dependents.txt
Top 100 Dev Dependents on npmjs (as of Jul 31, 2015)
View top-100-dev-dependents.txt
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 Aug 13, 2019 — forked from mikolalysenko/index.js
requirebin sketch
View index.js
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 Feb 22, 2015
requirebin sketch
View index.js
var VText = require('virtual-dom/vnode/vtext')
@feross
feross / WebTorrent Roadmap.md
Last active Aug 29, 2017
WebTorrent Roadmap
View WebTorrent Roadmap.md

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
View jsonp.js
/**
* 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 Dec 16, 2015
Given a filename for a static resource, returns the resource's absolute URL. Supports file paths with or without origin/protocol.
View toAbsoluteURL.js
/**
* 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 Oct 25, 2019
A list of bloggers who I like, pasted from my old blog.
View Respect Rollcall.html
<!-- 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>
You can’t perform that action at this time.