This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
users: | |
- name: isaiah | |
ssh_authorized_keys: | |
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIFVM/7RnSK0BE4bK7/2KBP++phbD+CCqFdtb9kpkIPi [email protected]" | |
sudo: ALL=(ALL:ALL) ALL | |
groups: sudo | |
shell: /bin/bash | |
chpasswd: | |
expire: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
General Self-Hosting Resources | |
- Syntax - Self Host 101 Series | |
- Set up and Secure Your Own Server - https://www.youtube.com/watch?v=Q1Y_g0wMwww | |
- Losing SSH Access, VPNs, Load Testing, Reverse Proxies and more! - https://www.youtube.com/watch?v=wZ9kmBnwX54 | |
- Run Multiple Apps with Caddy - https://www.youtube.com/watch?v=mLznVlBAtcg | |
- r/selfhosted SubReddit - https://www.reddit.com/r/selfhosted/ | |
- Awesome Selfhosted GitHub - https://github.com/awesome-selfhosted/awesome-selfhosted | |
Tech / tools / things I use |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"Isaiah","settings":"{\"settings\":\"{\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\",\\n \\\"editor.fontFamily\\\": \\\"'Fira Code', Menlo, Monaco, 'Courier New', monospace\\\",\\n \\\"editor.fontLigatures\\\": true,\\n \\\"editor.formatOnSave\\\": true,\\n \\\"editor.tabSize\\\": 2,\\n \\\"eslint.validate\\\": [\\n \\\"javascript\\\",\\n \\\"javascriptreact\\\",\\n \\\"typescript\\\",\\n \\\"typescriptreact\\\"\\n ],\\n \\\"editor.codeActionsOnSave\\\": {\\n \\\"source.organizeImports\\\": \\\"explicit\\\"\\n },\\n \\\"workbench.editor.showTabs\\\": \\\"single\\\",\\n \\\"workbench.startupEditor\\\": \\\"newUntitledFile\\\",\\n \\\"typescript.updateImportsOnFileMove.enabled\\\": \\\"always\\\",\\n \\\"editor.suggestSelection\\\": \\\"first\\\",\\n \\\"vsintellicode.modify.editor.suggestSelection\\\": \\\"automaticallyOverrodeDefaultValue\\\",\\n \\\"[typescriptreact]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\n },\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// REF: https://material-ui.com/customization/palette/#adding-new-colors | |
import { FC } from "react" | |
import { | |
ThemeProvider as MuiThemeProvider, | |
createMuiTheme, | |
responsiveFontSizes, | |
} from "@material-ui/core" | |
// include these here so the compiler can add the types |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as admin from "firebase-admin" | |
import express from "express" | |
import sharp, { ResizeOptions, OutputOptions } from "sharp" | |
import fetch from "cross-fetch" | |
import FileType from "file-type" | |
import { parseQueryNumber, parseQueryString } from "../some/extra/util/functions" | |
import { Photo } from "../some/custom/types" | |
const router = express.Router() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////// | |
// Useful Tools | |
/////////////////////////// | |
Fira Code Font - https://github.com/tonsky/FiraCode/wiki/Installing | |
/////////////////////////// | |
// Useful Settings | |
/////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------ | |
# 0. REFERENCE: https://gist.github.com/natelandau/10654137 | |
# ------------------------------------------------------------ | |
# ------------------------------------------------------------ | |
# 1. Set ENVs | |
# ------------------------------------------------------------ |