Skip to content

Instantly share code, notes, and snippets.

View nathanjo's full-sized avatar
💻
Focusing

Jonathan Himbing nathanjo

💻
Focusing
View GitHub Profile
@nathanjo
nathanjo / server.md
Created January 4, 2021 09:45 — forked from jtadeulopes/server.md
Server setup with ubuntu, nginx and puma for rails app.

Update and upgrade the system

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
sudo reboot

Configure timezone

@nathanjo
nathanjo / curl.md
Created November 11, 2020 15:38 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.