Skip to content

Instantly share code, notes, and snippets.

Tan Nhu tan-nhu

Block or report user

Report or block tan-nhu

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
tan-nhu /
Created Mar 13, 2020 — forked from willurd/
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
View 1-highcharts-cheatsheet.js
// Highcharts CheatSheet Part 1.
// Create interactive charts easily for your web projects.
// Download:
// More:
// 1. Installation.
// Highcharts requires two files to run, highcharts.js and either jQuery, MooTools or Prototype or the Highcharts Standalone Framework which are used for some common JavaScript tasks.
// <script src=""></script>
// <script src=""></script>
tan-nhu / JSON Format
Last active Jun 13, 2018
JSON Format Tools
View JSON Format

python -mjson.tool

curl '' -k -s | python -mjson.tool

To make it sorter, put an alias in your ~/.bash_profile, or ~/.config/fish/

alias json="python -m json.tool"
You can’t perform that action at this time.