Skip to content

Instantly share code, notes, and snippets.

View alexisolivo's full-sized avatar
🎯
Focusing

Alexis Olivo alexisolivo

🎯
Focusing
View GitHub Profile
@alexisolivo
alexisolivo / web-servers.md
Created December 4, 2023 05:33 — 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
@alexisolivo
alexisolivo / 2019-https-localhost.md
Created June 21, 2021 11:50 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@alexisolivo
alexisolivo / APAstyle
Created May 31, 2018 01:20 — forked from pdparker/APAstyle
APA Style for Markdown
/* I have only tested this on Chrome but it
prints nicely to A4 size */
@media print {
body {
width: 210mm;
height: 297mm;
}
}