Skip to content

Instantly share code, notes, and snippets.

View briangonzalez's full-sized avatar
🏠
🚚

Brian Gonzalez briangonzalez

🏠
🚚
View GitHub Profile
@gschier
gschier / Simple-Typing-Carousel-.markdown
Last active August 19, 2023 18:27
A Pen by Gregory Schier.
/**
* User Timing polyfill (http://www.w3.org/TR/user-timing/)
* @author RubaXa <[email protected]>
*/
(function (window){
var
startOffset = Date.now ? Date.now() : +(new Date)
, performance = window.performance || {}
, _entries = []
@tracker1
tracker1 / 01-directory-structure.md
Last active July 15, 2025 15:02
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used
@pixelhandler
pixelhandler / Measuring-Performance-with-User-Timing-API.md
Last active March 18, 2019 04:05
Notes from talk at Ember-SC Feb '15 Meetup and EmberConf 2015 Minitalk: Measuring Performance with User Timing API