Skip to content

Instantly share code, notes, and snippets.

@sugumura
Created October 24, 2017 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sugumura/6a8eeacd6345ea11d201f3aa34036d39 to your computer and use it in GitHub Desktop.
Save sugumura/6a8eeacd6345ea11d201f3aa34036d39 to your computer and use it in GitHub Desktop.
自分のスニペットコマンドメモにしていくつもり

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