Make sure you run ollama serve
(this is OpenAI-compatible http://localhost:11434)
Open cursor model settings and specify:
- Specify
http://localhost:8000/v1
- Hit "Save" (no need to activate key)
- Select
gpt-4o
and enjoy local model
uv venv
Make sure you run ollama serve
(this is OpenAI-compatible http://localhost:11434)
Open cursor model settings and specify:
http://localhost:8000/v1
gpt-4o
and enjoy local modeluv venv
declare module 'lucide-react' { | |
export * from 'lucide-react/dist/lucide-react.suffixed' | |
} |
// Update globs depending on your framework | |
--- | |
name: tailwind_v4 | |
description: Guide for using Tailwind CSS v4 instead of v3.x | |
globs: ["**/*.{js,ts,jsx,tsx,mdx,css}"] | |
tags: | |
- tailwind | |
- css | |
--- |
import { useEffect, useState } from "react"; | |
import resolveConfig from "tailwindcss/resolveConfig"; | |
// Update the path to your Tailwind config file | |
import tailwindConfig from "tailwind.config"; | |
const useTailwindBreakpoint = ({ | |
onBreakpointChange, | |
}: { | |
// eslint-disable-next-line no-unused-vars |
import type { FetcherWithComponents } from "@remix-run/react"; | |
import { useFetcher } from "@remix-run/react"; | |
import { useEffect, useState } from "react"; | |
import type { AppData } from "@remix-run/react/dist/data"; | |
import type { SerializeFrom } from "@remix-run/server-runtime"; | |
/** | |
* A higher-order function that creates a new FetcherWithComponentsReset instance, which extends the FetcherWithComponents interface. | |
* The new instance includes an additional method `reset` that can be used to reset the state of the fetcher. | |
* |
import { getSession, session } from "remix-hono/session"; | |
import { pathToRegexp } from "path-to-regexp"; | |
/** | |
* Add protected routes middleware | |
* | |
*/ | |
app.use( | |
protect({ |
package com.roxasroottoolbox | |
import android.content.res.Resources | |
import android.os.Build | |
import android.util.Log | |
import androidx.annotation.RequiresApi | |
import com.facebook.react.bridge.* | |
class DynamicColorModule2(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) { | |
override fun getName() = "DynamicColorModule" |
import childProcess from 'child_process'; | |
import fs from 'fs'; | |
import dotenv from 'dotenv'; | |
import prettier from 'prettier'; | |
const rootDir = process.cwd(); | |
dotenv.config({ | |
path: `${rootDir}/.env.production`, | |
}); |
/** | |
* Requires jsdoc and jsdoc-to-markdown | |
*/ | |
/* eslint-disable no-console */ | |
const fs = require('fs') | |
const path = require('path') | |
const glob = require('glob') | |
const { execSync } = require('child_process') | |
const jsdoc2md = require('jsdoc-to-markdown') |
_APP_ENV=production | |
_APP_LOCALE=en | |
_APP_OPTIONS_ABUSE=enabled | |
_APP_OPTIONS_FORCE_HTTPS=disabled | |
_APP_OPENSSL_KEY_V1=your-secret-key | |
_APP_DOMAIN=localhost | |
_APP_DOMAIN_TARGET=localhost | |
_APP_CONSOLE_WHITELIST_ROOT=enabled | |
_APP_CONSOLE_WHITELIST_EMAILS= | |
_APP_CONSOLE_WHITELIST_IPS= |