Skip to content

Instantly share code, notes, and snippets.

@sugumura sugumura/snippets.md
Created Oct 24, 2017

Embed
What would you like to do?
自分のスニペットコマンドメモにしていくつもり

Server

圧縮

$ tar zcvf log`date +%Y%m%d`.tar.gz ./log

Local Server

# PHP
$ php -S localhost:8000

# Python 2.x
$ python -m SimpleHTTPServer

# Python 3.x
$ python -m http.server

# Ruby
$ ruby -run -e httpd . -p 8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.