Skip to content

Instantly share code, notes, and snippets.

View HustLion's full-sized avatar
💻
Happy coding

HustLion HustLion

💻
Happy coding
View GitHub Profile
@HustLion
HustLion / web-servers.md
Created February 16, 2017 02:10 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@HustLion
HustLion / STLFileSaver.js
Created May 9, 2016 13:45 — forked from paulkaplan/STLFileSaver.js
Create an ASCII STL file from a THREE.js mesh that can be saved save from browser and 3D printed
/*
Paul Kaplan, @ifitdidntwork
Create an ASCII STL file from a THREE.js mesh
that can be saved save from browser and 3D printed
--------------------------------------------------
See further explanation here:
http://buildaweso.me/project/2013/2/25/converting-threejs-objects-to-stl-files
--------------------------------------------------
Saving the file out of the browser is done using FileSaver.js
@HustLion
HustLion / generator_scss.rb
Last active August 29, 2015 14:25 — forked from parkr/generator_scss.rb
Jekyll Plugin to output SCSS without requiring the "---" YAML Front Matter
#
# Jekyll Generator for SCSS
#
# (File paths in this description relative to jekyll project root directory)
# Place this file in ./_plugins
# Place .scss files in ./_scss
# Compiles .scss files in ./_scss to .css files in whatever directory you indicated in your config
# Config file placed in ./_sass/config.rb
#