Skip to content

Instantly share code, notes, and snippets.

View ScottPesetsky's full-sized avatar

Scott Pesetsky ScottPesetsky

  • SmartProbate.com
  • United States
View GitHub Profile
@ScottPesetsky
ScottPesetsky / human
Created March 29, 2015 19:09
human code
function poobah(path){
good.see(observer)
good.do(tiger)
good.help(apprentice)
good.helpAnother(legaldocumentassistant)
good.helpHelpers(licensed)
good.steer(captain)
good.build(EPWA)
good.rethink(iii)
good.toggle(0)
@max-mapper
max-mapper / 0.md
Last active February 25, 2024 12:24
JS hoisting by example

JavaScript function hoisting by example

Below are many examples of function hoisting behavior in JavaScript. Ones marked as works successfuly print 'hi!' without errors.

To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js

Notes on hoisting

(I may be using incorrect terms below, please forgive me)

@max-mapper
max-mapper / readme.md
Last active January 28, 2024 18:11
How-to: Write a node module with voxel.js

Writing node modules with voxel.js

This is a short guide that will teach you the workflows that have been figured out by the voxel.js community for writing node modules + sharing them on NPM and Github. It is assumed that you have a basic understanding of JavaScript, github and the command line (if not you can check out an introduction to git and the command line or learn JS basics from JavaScript for Cats)

The voxel-tower repository on github contains all the example code from this guide.

Table of contents