- Engine: MongoDB (database name
treetag) - ODM: Mongoose (schemas defined in
src/lib/server/db/models/) - Connection:
src/lib/server/db/index.ts(connectDB()usingDATABASE_URLfrom env) - Auth store: better-auth with
mongodbAdapter, sharing the same Mongo database (src/lib/server/auth.ts). Better-auth manages its own collections (user,session,account,verification). - Conventions:
timestamps: trueon every app collection (createdAt,updatedAt)
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":"Josh","settings":"{\"settings\":\"{\\r\\n \\\"window.commandCenter\\\": true,\\r\\n \\\"editor.largeFileOptimizations\\\": false,\\r\\n \\\"git.enableSmartCommit\\\": true,\\r\\n \\\"explorer.confirmDelete\\\": false,\\r\\n \\\"git.autofetch\\\": true,\\r\\n \\\"svelte.enable-ts-plugin\\\": true,\\r\\n \\\"claudeCode.preferredLocation\\\": \\\"panel\\\",\\r\\n \\\"claudeCode.selectedModel\\\": \\\"sonnet\\\",\\r\\n \\\"workbench.colorTheme\\\": \\\"GitHub Dark Default\\\"\\r\\n}\"}","keybindings":"{\"keybindings\":\"// Place your key bindings in this file to override the defaults\\n[\\n {\\n \\\"key\\\": \\\"ctrl+i\\\",\\n \\\"command\\\": \\\"composerMode.agent\\\"\\n },\\n {\\n \\\"key\\\": \\\"ctrl+i\\\",\\n \\\"command\\\": \\\"composerMode.agent\\\"\\n },\\n {\\n \\\"key\\\": \\\"ctrl+i\\\",\\n \\\"command\\\": \\\"composerMode.agent\\\"\\n },\\n {\\n \\\"key\\\": \\\"ctrl+shift+'\\\",\\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
| param( | |
| [string]$Directory = ".", | |
| [int]$CRF = 22, | |
| [string]$Preset = "medium" | |
| ) | |
| $targetDir = Resolve-Path $Directory | |
| $originalsDir = Join-Path $targetDir "Originals" | |
| # Create Originals folder if it doesn't exist |
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
| package gg.joshbaker.searcher; | |
| import com.google.gson.JsonArray; | |
| import com.google.gson.JsonElement; | |
| import com.google.gson.JsonObject; | |
| import com.google.gson.JsonParser; | |
| import org.apache.commons.text.similarity.JaroWinklerDistance; | |
| import java.io.IOException; | |
| import java.nio.file.Files; |
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
| package com.learnspigot.bot.framework.command; | |
| import java.lang.annotation.ElementType; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.lang.annotation.Target; | |
| @Target(ElementType.METHOD) | |
| @Retention(RetentionPolicy.RUNTIME) | |
| public @interface Command { |