Skip to content

Instantly share code, notes, and snippets.

View thuurzz's full-sized avatar

Arthur Vinicius Santos Silva thuurzz

View GitHub Profile
@toshvelaga
toshvelaga / DocumentUpload.js
Created August 16, 2023 21:06
Create vector embeddings using MongoDB
const mongoose = require('mongoose')
const Schema = mongoose.Schema
// Create a new schema for uploaded documents
const DocumentUploadSchema = new Schema({
title: String,
description: String,
fileName: String,
uploadDate: {
@Joao-Peterson
Joao-Peterson / gmk67-manual.md
Last active April 22, 2025 01:36
GMK67 manual (English)
@degitgitagitya
degitgitagitya / .env
Last active April 21, 2025 09:13
Next JS + Next Auth + Keycloak + AutoRefreshToken
# KEYCLOAK BASE URL
KEYCLOAK_BASE_URL=
# KEYCLOAK CLIENT SECRET
KEYCLOAK_CLIENT_SECRET=
# KEYCLOAK CLIENT ID
KEYCLOAK_CLIENT_ID=
# BASE URL FOR NEXT AUTH
@diego3g
diego3g / NODE.md
Last active April 19, 2025 22:34
VSCode Settings (Updated)

⚠️ Note!

With VSCode version 1.94, the APC extension broke and there is no fix yet.

So, for those having issues with APC after the VSCode update, I recommend downloading the previous version of VSCode for now (https://code.visualstudio.com/updates/v1_93) and setting updates to manual by adding this to the editor's configuration:

"update.mode": "manual",