Skip to content

Instantly share code, notes, and snippets.

View YossiCohen's full-sized avatar
🍍
Be a Pineapple - Stand tall, wear a crown, and be sweet on the inside

Yossi Cohen YossiCohen

🍍
Be a Pineapple - Stand tall, wear a crown, and be sweet on the inside
View GitHub Profile
@YossiCohen
YossiCohen / htz-bashrc
Created November 12, 2019 22:30 — forked from vsefer/htz-bashrc
Bash config from Hetzner
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@YossiCohen
YossiCohen / web-servers.md
Created February 13, 2019 07:55 — 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