Skip to content

Instantly share code, notes, and snippets.

"",
"Asia/Pacific Region",
"Europe",
"Andorra",
"United Arab Emirates",
"Afghanistan",
"Antigua and Barbuda",
"Anguilla",
"Albania",
"Armenia",
# git
alias g="git"
alias gs="git status"
alias ga="git add ."
alias gc="git commit -m"
alias gn="git init && git add . && git commit -m \"init\""
# laravel
alias pa="php artisan"
alias l="php artisan serve"
@IsmailShurrab
IsmailShurrab / run-a-local-server-inside-dir.md
Created December 2, 2022 16:48 — forked from thagxt/run-a-local-server-inside-dir.md
Run a local web server inside any folder on Mac, Window, Linux, PHP, Node.js

Node.js

# Install http-server module globally 
npm install http-server -g

# Navigate to any directory you want the server to run in
cd /path/to/dir/with/files

# Launch HTTP server