Skip to content

Instantly share code, notes, and snippets.

import { createOpenAI } from '@ai-sdk/openai'
import { generateText } from 'ai'
import type { NextRequest } from 'next/server'
import { validateRequest } from '@/lib/lucia'
// export const dynamic = 'force-dynamic'
// export const maxDuration = 60
// export const runtime = 'edge'
export async function POST(req: NextRequest) {
@ahuramazdao
ahuramazdao / lavable rss
Created February 11, 2025 19:54
lavable rss
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>lovable.dev</title>
<link>https://lovable.dev/blog</link>
<description>RSS feed generated for lovable.dev</description>
<language>en-us</language>
<lastBuildDate>Tue, 11 Feb 2025 19:53:31 GMT</lastBuildDate>
<item>
@Braunson
Braunson / bookmarklet.js
Last active February 11, 2025 19:55
Quickly generate a form filler bookmarklet!
// Save this as a bookmark in your browser for the next time you want to fill in the page form!
javascript:(function() {
const fillValues = {
// Paste the object in here from the previous command
}
function fillField(element, value) {
if (!element) return;
// Handle different input types
# Setup Script Documentation
## Overview
The setup script provides an interactive menu-driven interface for managing various development environment tasks. It organizes commands into logical groups and allows both individual and batch execution of setup tasks.
## Directory Structure
```
/setup/
├── setup.ps1 # Main script
├── DatabaseManagement.ps1 # Database management functions
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 11, 2025 19:52
blitz.gg v2.1.259 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-3145728412-1752322905-909997274-1000</user>
<keys>
<key installerType="Custom" displayName="Blitz" displayVersion="2.1.259">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\153f8ce0-b97a-575b-ba12-4ff8b1481894</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Users\vagrant\AppData\Local\Programs\Blitz\Uninstall Blitz.exe" /currentuser /S]]></UninstallString>
@Ayomide661
Ayomide661 / economy.js
Created February 11, 2025 19:52 — forked from FantoX/economy.js
All Economy and Gambling commands
const fs = require("fs");
const config = require("../Configurations.js");
const eco = require("discord-mongoose-economy");
const ty = eco.connect(config.mongodb);
const { userData } = require("../System/MongoDB/MongoDb_Schema.js");
let mergedCommands = [
"bank",
"capacity",
"daily",
"deposit",
# Generate SSH key pair
mkdir "$env:USERPROFILE\.ssh" -Force
ssh-keygen -f "$env:USERPROFILE\.ssh\khushi"
# Read SSH public key
Get-Content "$env:USERPROFILE\.ssh\khushi.pub"
# Start SSH agent
Set-Service -Name ssh-agent -StartupType Automatic
Start-Service ssh-agent
namespace Lesson;
internal class Program
{
static void Main(string[] args)
{
int number;
int degree = 0;
int outputNumber = 1;
Random random = new Random();
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created February 11, 2025 19:50
pw932597-p13969350
WARNING: Argument 'tsk' is not used in function-like macro
#75: FILE: arch/riscv/include/asm/usercfi.h:33:
+#define shstk_alloc_thread_stack(tsk, args) 0
WARNING: Argument 'args' is not used in function-like macro
#75: FILE: arch/riscv/include/asm/usercfi.h:33:
+#define shstk_alloc_thread_stack(tsk, args) 0
WARNING: Argument 'tsk' is not used in function-like macro
#77: FILE: arch/riscv/include/asm/usercfi.h:35:
@dfdsfdgdfgdfgdf
dfdsfdgdfgdfgdf / %Download Lightmap HDR Light Studio PRO keygen
Created February 11, 2025 19:50
$%Download Lightmap HDR Light Studio PRO Crack 2025 Free
><%Download Lightmap HDR Light Studio PRO