Skip to content

Instantly share code, notes, and snippets.

@OrionUnix
OrionUnix / Sublime Text 3.2.2 Build 3211 key licence
Last active August 2, 2025 15:19
Sublime Text 3.2.2 Build 3211 key licence
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active August 2, 2025 15:03
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
// ==UserScript==
// @name Chub Desloppifier
// @namespace Violentmonkey Scripts
// @match https://*.chub.ai/*
// @match https://*.characterhub.org/*
// @version 1.7
// @author khanonnie
// @description Tries to clean up the flood of shit cards on chub.ai.
// @require https://openuserjs.org/src/libs/sizzle/GM_config.js
// @homepageURL https://gist.github.com/khanonnie/b357f20bfe4e920d8e05fd47f1e6fa75
@Remzi1993
Remzi1993 / Kleopatra-startup.xml
Created October 14, 2024 12:26
A task created with Windows Task Scheduler to run Kleopatra at startup in the background
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<URI>\Kleopatra startup</URI>
</RegistrationInfo>
<Triggers>
<LogonTrigger>
<Enabled>true</Enabled>
</LogonTrigger>
</Triggers>
@Thomascountz
Thomascountz / ijq.sh
Last active August 2, 2025 14:51
(Yet another) interactive jq, but it's a bash script using fzf
#!/usr/bin/env bash
set -euo pipefail
if [ "${1:-}" = "--help" ]; then
cat << EOF
Usage: ijq [filename]
A wrapper around jq that uses fzf to interactively build jq filters.
@wey-gu
wey-gu / animated_connectors.md
Last active August 2, 2025 14:49
How to create diagrams like Alex Xu/bytebytego's great work

Tool: draw.io

Animate the connectors

Animating your connectors is great for demonstrating directional flow charts, electrical circuits and more. To animate your connectors:

  1. Click on the connector you wish to animate. Hold Ctrl or Cmd and click to select multiple connectors
  2. On the right-hand side go to Style > Property and click on the arrow to expand the field
  3. Scroll down to Flow Animation and check the box
@disulfidebond
disulfidebond / create_restore_dmg_macosx.md
Last active August 2, 2025 14:41
Create or Restore Disk Image in Mac OSX

Overview

This gist details how to create or restore a disk image in Mac OSX. There are three methods that are described: Carbon Copy Cloner, Disk Utility, and CommandLine.

  • Disclaimer:
    • I have no financial incentives to https://bombich.com or Apple.
    • Always make a backup of your data, and make 2 separate backups before trying something new.
    • The following steps have been tested and are a summary of my personal recommendations, but should be used at your own risk.
    • If there is a chance of imminent data loss, contact a professional for assistance, and do not rely on a random person from the Internet for help.

Method 1: Carbon Copy Cloner (CCC)

Answers a question: "How to make enemies surround player"

  • AttackSpotProvider.cs provides attack positions to attackers.
  • Attacker.cs simulates an attacker

GIF 05 10 2023 20-52-29

import { drizzle } from 'drizzle-orm/node-postgres'
import { desc, asc, eq } from 'drizzle-orm'
import { numbersTable } from '~/db/schema'
// Type definitions to match Convex patterns
type TableName = 'numbers'
type OrderDirection = 'asc' | 'desc'
// Table mapping - extend this as you add more tables
const tableMap = {
@andrew-raphael-lukasik
andrew-raphael-lukasik / .billboard-shadow.shadergraph.md
Last active August 2, 2025 14:31
Shader Graph files to create billboard trees with billboard shadows. Exported from Unity 2023.2 and Shader Graph 16.0.4

Shader Graph files to create billboard trees with billboard shadows. Exported from Unity 2023.2 and Shader Graph 16.0.4

GIF 17 11 2023 14-38-35

Note: Shaders written for default Quad meshes in mind.

To make sure shadows are being drawn always behind tree billboards change shadow material’s Sorting Priority to a negative value:

Screenshot 2023-11-17 145239