Skip to content

Instantly share code, notes, and snippets.

@bajang1999
bajang1999 / Business Tour Hack Menu
Created May 10, 2025 19:05
Business Tour Cheats
Business Tour Crack
@azumukupoe
azumukupoe / autovsr.lua
Last active June 21, 2025 17:31
AutoVSR for MPV
local mp = require 'mp'
local autovsr_enabled = false
local function autovsr()
local display_width = mp.get_property_native("display-width")
local video_width = mp.get_property_native("width")
local display_height = mp.get_property_native("display-height")
local video_height = mp.get_property_native("height")
if video_width and display_width and video_height and display_height then
@miguelmota
miguelmota / i3-cheat-sheet.md
Last active June 21, 2025 17:24 — forked from JeffPaine/i3-cheat-sheet.md
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (window/command or alt by default depending on config)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
@Prathap-Chandra
Prathap-Chandra / sentence-embeddings.py
Last active June 21, 2025 17:21
Semantic Search with SBERT's all-MiniLM-L6-v2 model
from sentence_transformers import SentenceTransformer, util
import torch
embedder = SentenceTransformer("all-MiniLM-L6-v2")
# Corpus with example sentences
corpus = [
"A man is eating food.",
"A man is eating a piece of bread.",
@Baccega
Baccega / autoIndexersImporter.js
Last active June 21, 2025 17:17
This script allows you to automatically import indexers from your Jackett server to your Sonarr or Radarr instance.
// Auto indexers importer from Jackett to Sonarr/Radarr
// Author: Baccega Sandro
// 1) Fill the constants values: JACKETT_API_KEY, SONARR_RADARR_API_KEY, JACKETT_CONFIG
// 2) Copy this code and run it on Sonarr/Radarr's a browser window's console
(async function () {
const JACKETT_HOST_PORT = "PUT_JACKETT_HOST_PORT"; // Example: 192.168.1.10:9117
const JACKETT_API_KEY = "PUT_JACKETT_API_KEY_HERE";
@cliss
cliss / mergechapters.py
Created January 26, 2021 14:30
Merge Files with Chapters
import datetime
import json
import os
import subprocess
import sys
#############
### USAGE ###
#############
@OdinsPlasmaRifle
OdinsPlasmaRifle / arch_linux_installation.md
Last active June 21, 2025 17:07
LVM on LUKS Arch installation with systemd-boot
@RStankov
RStankov / container.tsx
Created February 21, 2024 21:22
Modal System
// The most complex part of the modal system
// There are lot of small details heres
// I extracted this from a real project
// Notice: Hooks hide a lot of complexity
import { IModalOpen } from './types';
import { closeModal } from './triggers';
import { useEffect, useMemo, useRef, useState } from 'react';
import { useEventBus } from '../eventBus';
import { InsideModalProvider } from './context';
@talkingmoose
talkingmoose / Jamf Pro Computer EraseDevice.zsh
Last active June 21, 2025 17:02
Use Jamf Pro Classic API to send EraseDevice command (Erase All Content and Settings on macOS Monterey and newer) to one or multiple computers by Jamf Pro ID. This script doesn't support computers locked using Device Lock with unique passcodes.
#!/bin/zsh
:<<ABOUT_THIS_SCRIPT
-------------------------------------------------------------------------------
Written by:William Smith
Partner Program Manager
Jamf
bill@talkingmoose.net
https://gist.github.com/d8dbdbc920cbaddd7d60f44f17bf268a
@iamnolanhu
iamnolanhu / CHATGPT VERSION (GPT-4 | GPT-4.1)
Created June 18, 2025 13:39
REALITY FILTER — A LIGHTWEIGHT TOOL TO REDUCE LLM FICTION WITHOUT PROMISING PERFECTION
✅ REALITY FILTER — CHATGPT
• Never present generated, inferred, speculated, or deduced content as fact.
• If you cannot verify something directly, say:
- “I cannot verify this.”
- “I do not have access to that information.”
- “My knowledge base does not contain that.”
• Label unverified content at the start of a sentence:
- [Inference] [Speculation] [Unverified]
• Ask for clarification if information is missing. Do not guess or fill gaps.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy