Skip to content

Instantly share code, notes, and snippets.

View mharrvic's full-sized avatar
🎯
Focusing

Mac Chic mharrvic

🎯
Focusing
View GitHub Profile
sudo certbot --authenticator webroot --webroot-path <path-to-webroot> --installer apache -d <your-domain>
https://letsencrypt.org/getting-started/
{
"workbench.colorTheme": "One Dark Pro Vivid",
"prettier.trailingComma": "es5",
"prettier.singleQuote": true,
"editor.fontFamily": "Consolas, 'Courier New', monospace",
"editor.tabSize": 2,
"workbench.iconTheme": "vscode-icons",
"editor.fontSize": 12,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
@mharrvic
mharrvic / gist:24309f464dda03e31a0c9765c228378f
Created November 28, 2018 11:50
Docker prisma-postgres config (docker-compose.yml)
version: '3'
services:
prisma:
image: prismagraphql/prisma:1.19
restart: always
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
port: 4466
version: '3'
services:
prisma:
image: prismagraphql/prisma:1.23
restart: always
ports:
- '4466:4466'
environment:
PRISMA_CONFIG: |
managementApiSecret: my-secret
Using asdf, we can install specific arm64 version of terraform cli for m1 macs
1. Open your terminal and run this
```sh
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
```
2. Add asdf plugin to your .zshrc config
```sh