start new:
tmux
start new with session name:
tmux new -s myname
/* | |
$ curl http://www.timeanddate.com/norsk/kalender.html | |
(...) | |
<div id=po1 class=po></div> | |
<h1>Kalender for år 2011</h1> | |
<table class="ct" border="0" cellpadding="4" cellspacing="0" align="center"> | |
(...) | |
$ node scrape.js | |
This is 2011 |
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
# or... | |
sudo killall coreaudiod |
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.
$ python -m SimpleHTTPServer 8000
This document now exists on the official ASP.NET core docs page.