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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| ROOT="$(cd "$(dirname "$0")" && pwd)" | |
| WARMUP=2 | |
| MIN_RUNS=15 | |
| NIGHTLY_TOOLCHAIN="nightly-XXXX-XX-XX" | |
| LINUX_TARGET="x86_64-unknown-linux-gnu" | |
| SNAPSHOT_ID="snap_REDACTED" | |
| HF=/home/user/.local/bin/hyperfine |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>name</key> | |
| <string>Vercel</string> | |
| <key>settings</key> | |
| <array> | |
| <!-- Global Settings --> | |
| <dict> |
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
| { | |
| "$schema": "https://opencode.ai/theme.json", | |
| "defs": { | |
| "background100": "#0A0A0A", | |
| "background200": "#000000", | |
| "gray100": "#1A1A1A", | |
| "gray200": "#1F1F1F", | |
| "gray300": "#292929", | |
| "gray400": "#2E2E2E", | |
| "gray500": "#454545", |
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
| #Prisma | |
| There is a lot to Prisma and I don't want to forget about the various tools that it contains - particularly for deployment. | |
| Important commands: | |
| - `prisma generate`: Creates the TypeScript types for the database schema (Is needed for build steps and other type-checking moments) | |
| - Use `prisma migrate deploy` for deploying testing and production changes | |
| # Sentry |
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: publish | |
| on: [push] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 |
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
| If you don't have an ssh key already on digital ocean, create one by: | |
| 1) Open a terminal on your computer and type ssh-keygen. Hit enter. | |
| 2) Navigate to <user>/.ssh/id_rsa.pub | |
| 3) Paste the contents into the box on Digital Ocean. | |
| TO get setup with VSCode extension for remote access thingy for the first time: | |
| 1) You'll have to do ssh root@<the ip> in the box that comes up when you go to set a new connection. | |
| 2) Click through a few prompts to make the extension happy. | |
| You don't want to use root so let's create a new user. |