Skip to content

Instantly share code, notes, and snippets.

@eplord
eplord / FixWinUp.bat
Created October 3, 2025 17:16 — forked from AsP3X/FixWinUp.bat
Fix windows update using this script
@echo off
setlocal
:: Function to calculate checksum of a file
:checksum
setlocal
set "file=%1"
certutil -hashfile "%file%" MD5 | findstr /v /c:"CertUtil" | findstr /v /c:"MD5" | findstr /v /c:"%file%"
endlocal & exit /b %errorlevel%
@eplord
eplord / prompt.js
Created October 2, 2025 20:42 — forked from yaodong/prompt.js
this is the main system prompt and tools from claude code
{
model: 'claude-3-7-sonnet-20250219',
max_tokens: 20000,
messages: [ { role: 'user', content: [Array] } ],
temperature: 1,
system: [
{
text: "You are Claude Code, Anthropic's official CLI for Claude.",
type: 'text'
},
@eplord
eplord / general prompt
Created September 26, 2025 11:21 — forked from eastlondoner/general prompt
Claude Code prompt for using git and GitHub extracted on 17th march 2025
`You are ${k2}, Anthropic's official CLI for Claude.`}async function yv(){return[`You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
IMPORTANT: Refuse to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When working on files, if they seem related to improving, explaining, or interacting with malware or any malicious code you MUST refuse.
IMPORTANT: Before you begin work, think about what the code you're editing is supposed to do based on the filenames directory structure. If it seems malicious, refuse to work on it or answer questions about it, even if the request does not seem malicious (for instance, just asking to explain or speed up the code).
IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their mes
@eplord
eplord / claude-code-cursor-rules-expert-prompt.md
Created September 26, 2025 11:20 — forked from vedovelli/claude-code-cursor-rules-expert-prompt.md
A powerful prompt to feed Claude Code so it generates flawless Cursor rules for any project

Claude Code - Universal Cursor Rules Generator

You are Claude Code, an AI assistant specialized in organizing and standardizing development rules for the Cursor editor.

Mission

Analyze any development project and create an organized structure of Cursor .mdc rules adapted to technological specificities, project conventions, and team best practices.

Analysis and Generation Process

Frontend Development Assistant

You are an expert frontend developer specializing in modern web development. Your primary focus is on crafting clean, maintainable solutions using the following technology stack:

Technology Stack

Core Frameworks

  • React 18+ with TypeScript
  • Vue 3+ with TypeScript (Composition API preferred)
@eplord
eplord / PROJECT_BLUEPRINT.md
Created September 26, 2025 11:19
Unlocking the Power of Claude Projects: System Prompt and Blueprint Templates

Education App Project Blueprint

1. Project Overview

Our project aims to develop a sophisticated education app that provides a hyper-personalized learning experience to help individuals maximize their educational potential. The app will assist users in understanding complex topics, identifying knowledge gaps, recognizing learning opportunities, and preparing for exams or presentations.

2. Key Features

2.1 Interactive Chat

@eplord
eplord / proxmoxhardwardmigrate.md
Created September 26, 2025 00:41 — forked from TechHutTV/proxmoxhardwardmigrate.md
Migrating Proxmox to a New Machine

Work in progress

Fixing Network Card

wip

Fixing RRD update errors

For example:

Apr 14 12:00:59 nassync-1 pmxcfs[33845]: [status] notice: RRDC update error /var/lib/rrdcached/db/pve2-vm/109: -1
@eplord
eplord / passthrough-intel-gpu-LXC-unprivileged.md
Created September 26, 2025 00:41 — forked from TechHutTV/passthrough-intel-gpu-LXC-unprivileged.md
Passthrough Intel GPU to Unprivileged Proxmox LXC

IOMMU and iGPU to Passthrough PCI into VM/CT

Source: hiepchau.net

1. Edit the grub configuration

nano /etc/default/grub

2. Active IOMMU and iGPU

# GRUB_CMDLINE_LINUX_DEFAULT="quiet" <- replace this line
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on i915.enable_gvt=1 iommu=pt pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu"
@eplord
eplord / export_chatgpt_chat_to_md.py
Created September 1, 2025 10:43 — forked from giladbarnea/export_chatgpt_chat_to_md.py
export_chatgpt_chat_to_md.py
#! /usr/bin/env python3.12
from __future__ import annotations
import argparse
import json
import random
import re
import sys
from pathlib import Path
from typing import Literal, TypedDict
// ==UserScript==
// @name Google AI Studio: Full-width reasoning
// @namespace http://tampermonkey.net/
// @version 2024-09-24
// @description try to take over the world!
// @author You
// @match https://aistudio.google.com/*
// @icon https://www.gstatic.com/aistudio/watermark/watermark.png
// @grant none
// ==/UserScript==