Skip to content

Instantly share code, notes, and snippets.

View arisnew's full-sized avatar

Aris Priyanto arisnew

View GitHub Profile
@arisnew
arisnew / localhost-ssl-certificate.md
Created December 4, 2025 07:14 — forked from ethicka/localhost-ssl-certificate.md
Localhost SSL Certificate on Mac OS

🚨 2020 Update: I recommend using mkcert to generate local certificates. You can do everything below by just running the commands brew install mkcert and mkcert -install. Keep it simple!


This gives you that beautiful green lock in Chrome. I'm assuming you're putting your SSL documents in /etc/ssl, but you can put them anywhere and replace the references in the following commands. Tested successfully on Mac OS Sierra and High Sierra.

Set up localhost.conf

sudo nano /etc/ssl/localhost/localhost.conf

@arisnew
arisnew / upgrade-modul-cli-docker-compose.txt
Created February 10, 2025 02:18 — forked from jidokaaris/upgrade-modul-cli-docker-compose.txt
Upgrade modul odoo via cli (docker compose)
docker compose exec NAMA_SERVICE_ODOO odoo \
-d NAMA_DB \
--db_password PASSWORD_DB \
--db_host NAMA_SERVICE_DB \
--no-xmlrpc \
--stop-after-init \
--update NAMA_ADDON