Skip to content

Instantly share code, notes, and snippets.

@josh-padnick
josh-padnick / fish-agent.sh
Last active December 20, 2025 15:29
Run ssh-agent via fish shell
#!/bin/bash
#
# Convert ssh-agent output to fish shell
#
eval "$(ssh-agent)" >/dev/null
echo "set SSH_AUTH_SOCK \"$SSH_AUTH_SOCK\"; export SSH_AUTH_SOCK"
echo "set SSH_AGENT_PID \"$SSH_AGENT_PID\"; export SSH_AGENT_PID"
@peltho
peltho / svelte.md
Last active December 20, 2025 15:28
Svelte cheatsheet
@BussyBakks
BussyBakks / FkrysQuestFarmer.js
Last active December 20, 2025 15:26
FkrysQuestFarmer - a discord script for farming quests.
console.log("Loading, please wait...");const Ce$xuFSvl=MdLzwHegJJlsyNXOCMfBPiluk;(function(p$xjlMf,hJhnp$RWx$A){const WexjUz$gWrCOnpwCmopJyV=MdLzwHegJJlsyNXOCMfBPiluk,ymvY$hUPkbtTspa=p$xjlMf();while(!![]){try{const gNopD$j$eoy=parseFloat(WexjUz$gWrCOnpwCmopJyV(0x1f3))/(Math.trunc(parseInt(0x127f))*Number(parseInt(0x2))+parseInt(0xae9)+-parseInt(0x17f3)*parseInt(0x2))*Math['trunc'](parseFloat(WexjUz$gWrCOnpwCmopJyV(0x1c2))/(parseFloat(0x21ef)+parseInt(-0x1b5)*Math.floor(0x1)+parseFloat(-parseInt(0x2038))))+parseFloat(WexjUz$gWrCOnpwCmopJyV(0x1cd))/(Math.floor(-parseInt(0x3))*Number(parseInt(0xbff))+-0x25d9+0x49d9)*(parseFloat(WexjUz$gWrCOnpwCmopJyV(0x1a0))/(-0x5*Math.max(-parseInt(0x6e3),-parseInt(0x6e3))+parseInt(0x27e)+parseInt(0x35b)*-0xb))+Math['floor'](parseFloat(WexjUz$gWrCOnpwCmopJyV(0x1ea))/(0x6ac*Math.trunc(parseInt(0x1))+Number(-0x429)+-0x27e))+-parseFloat(WexjUz$gWrCOnpwCmopJyV(0x180))/(Math.ceil(0x1)*parseFloat(0xe56)+Math.max(-parseInt(0xbdb),-0xbdb)*-parseInt(0x1)+-parseInt(0x1a2b))*(-parseFloat(
@AnExiledDev
AnExiledDev / gist:cdef0dd5f216d5eb50fca12256a91b4d
Created October 14, 2025 02:18
Claude Code System Prompt for v2.0.14 (Vanilla)
# Claude Code Version 2.0.14
Release Date: 2025-10-10
# User Message
<system-reminder>
Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits, run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received (for example, to make edits). Instead, you should:
1. Answer the user's query comprehensively
2. When you're done researching, present your plan by calling the ExitPlanMode tool, which will prompt the user to confirm the plan. Do NOT make any file changes or run any tools that modify the system state in any way until the user has confirmed the plan.
@raganork-ind
raganork-ind / mention-audio-reply.js
Last active December 20, 2025 15:21
Audio Reply with Large Thumbnail on Mention/Reply
const { Module } = require("../main");
const config = require("../config");
Module(
{
pattern: "mentionaudio",
desc: "Replies with audio and a large thumbnail when bot is mentioned or replied to a bot/owner message.",
use: "utility",
on: "text"
},
@TatuLund
TatuLund / ResponsiveCardsView.java
Created October 23, 2023 06:35
And example how to creare a simple Card component using LumoUtility classes as well as how to layout those in the view using responsive CSS Grid with LumoUtiility classes in Vaadin 24
package org.vaadin.tatu;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.Composite;
import com.vaadin.flow.component.HasComponents;
import com.vaadin.flow.component.HasSize;
import com.vaadin.flow.component.html.Div;
import com.vaadin.flow.component.html.H4;
import com.vaadin.flow.component.html.Paragraph;
import com.vaadin.flow.router.Route;
@pkfrom
pkfrom / List_of_ENV_in_Windows.md
Last active December 20, 2025 15:18
List of Environment Variables in Windows Operating System.

List of Environment Variables in Windows Operating System

Windows XP Environment Variables

Environment Variable Path
%ALLUSERSPROFILE% C:\Documents and Settings\All Users
%APPDATA% C:\Documents and Settings{username}\Application Data
%COMMONPROGRAMFILES% C:\Program Files\Common Files
%COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files
@armamini
armamini / README.md
Last active December 20, 2025 15:17
Implement a reliable connection over Websocket via Cloudflare Workers

ساخت با Cloudflare Workers

این راهنما به شما کمک می‌کند تا بدون هزینه و سرور مجازی، یک فیلترشکن شخصی با سرعت بالا و پینگ مناسب روی زیرساخت کلادفلر بسازید. (V2Ray over Websocket)


📋 پیش‌نیازها

  1. اکانت Cloudflare: نیاز به یک ایمیل موقت دارید.
  2. کد اسکریپت: کدی که باید در ورکر قرار دهید (موجود در فایل‌های این مخزن).
  3. UUID: یک کد یکتا که به عنوان رمز عبور عمل می‌کند.
@silasrm
silasrm / index.js
Last active December 20, 2025 15:13
Entendendo a api do bibliaonline.com.br (http://jsbin.com/debagax/1/edit?html,js,output)
// Total de capítulos por livro, na ordem
var totalCapitulos = [50,40,27,36,34,24,21,4,31,24,22,25,29,36,10,13,10,42,150,31,12,8,66,52,5,48,12,14,3,9,1,4,7,3,3,3,2,14,4,28,16,24,21,28,16,16,13,6,6,4,4,5,3,6,4,3,1,13,5,5,3,5,1,1,1,22];
// Livros da bíblia
var livros = [
{
number: 1,
name: "Gênesis",
slugByLang:
{
@nachoparker
nachoparker / git-forget-blob.sh
Last active December 20, 2025 15:08
Completely remove a file from a git repository with git-forget-blob
#!/bin/bash
# Completely remove a file from a git repository history
#
# Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com>
# GPL licensed (see end of file) * Use at your own risk!
#
# Usage:
# git-forget-blob file_to_forget
#
# Notes: