Skip to content

Instantly share code, notes, and snippets.

TERMS OF SERVICE AGREEMENT
This Terms of Service Agreement (the "Agreement") is entered into between [Anshul Chauhan] ("Bot Owner") and the user ("User") of the [Bot Name] Discord bot (the "Bot").
By using the Bot, the User agrees to be bound by the terms of this Agreement. If the User does not agree to the terms of this Agreement, they should immediately discontinue use of the Bot.
1. Use of the Bot: The Bot Owner grants the User a non-exclusive, non-transferable, limited license to use the Bot for personal or non-commercial purposes.
2. Prohibited Use: The User may not use the Bot in any way that violates applicable laws, rules, or regulations or infringes upon the rights of any third party. The User may not use the Bot for any commercial purposes without the express written consent of the Bot Owner.
3. Limitation of Liability: The Bot Owner shall not be liable for any damages arising out of the use or inability to use the Bot, including but not limited to, damages for loss of profits, loss of data, or o
@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
@Syderitic
Syderitic / Secure_Encrypted_Storage_Setup.md
Last active November 4, 2026 00:12
Secure Encrypted Storage Setup with LUKS2, TPM2, FIDO2, and Btrfs

Secure Encrypted Storage Setup with LUKS2, TPM2, FIDO2, and Btrfs

Disclaimer: Use this guide at your own discretion. The author is not responsible for any data loss or security breaches that may occur. Always ensure you understand each step and its implications before proceeding.

This guide walks you through setting up a secure external drive, perfect for backing up sensitive data, securely handing over large data sets, or storing important files. It covers creating an encrypted drive that’s easy to unlock with trusted devices, such as a security key, while remaining highly secure if misplaced. Ideal for safeguarding personal data or business files, it offers practical recovery steps to ensure access even if you change devices.

By following this guide, you will have established a secure and user-friendly encrypted storage solution that leverages:

  • LUKS2 Encryption: Provides robust disk encryption.
  • TPM2 Integration: Enables automatic unlocking on trusted hardware.
  • FIDO2 Tokens: Offers flexible acc
@FeralFlora
FeralFlora / 01 Zotero Integration import template and more!.md
Last active November 4, 2026 00:12
Zotero import template for the Zotero integration plugin for Obsidian. Screenshots and usage guide over in the Obsidian forum here: https://forum.obsidian.md/t/zotero-integration-import-templates/36310/105?u=feralflora
  • ZI-main.md
    • The main Zotero Integration template
  • runImport.md
    • Template that enables updating literature notes at the click of a button, and much more.
  • Meta bind button template
    • Template for in-note button that executes runImport.md
@llaurama
llaurama / daz_studio_on_manjaro.md
Last active November 4, 2026 00:00
Installing Daz Studio 4.x on Manjaro Linux

🐧 Daz Studio 4.x on Manjaro Linux

Goal: To run Daz Studio with near-native performance, ensuring the local PostgreSQL database (Smart Content) connects correctly and NVIDIA Iray (GPU rendering) is active.

Architecture:

  • Host: Manjaro Linux (Arch-based).
  • Compatibility Layer: Wine (managed via Lutris).
  • Environment: A shared 64-bit Wine Prefix (~/Games/daz3d) used by both the application (Daz Studio) and the package manager (DIM).
@lukaszsamson
lukaszsamson / microgpt.bend
Created September 23, 2026 18:11
Port of Karpathy's microgpt to bend2
# The most atomic way to train and inference a GPT in pure, dependency-free Bend.
# This file is the complete algorithm.
# Everything else is just efficiency.
#
# Port of microgpt.py by @karpathy.
#
# Bend is pure and affine, so there is no mutable object graph. A Value is a
# pair V{id, data}; every op appends one node (its children ids and local
# grads) to a tape threaded by a state monad G. Since ids grow with creation
# order, the tape read newest-first is already the reversed topological order
@DavidCWGA
DavidCWGA / remove-emudhra-roots.sh
Last active November 3, 2026 23:43
Removes the root CAs behind the compromised eMudhra intermediates from /etc/ssl/cert.pem on macOS, per https://support.apple.com/en-us/149555
#!/bin/bash
# Removes the root CAs behind the compromised eMudhra intermediates from
# /etc/ssl/cert.pem, per https://support.apple.com/en-us/149555
# Usage: sudo ./remove-emudhra-roots.sh [--keep-aaa]
# --keep-aaa skip the optional removal of AAA Certificate Services (step 3)
set -euo pipefail
PEM=/etc/ssl/cert.pem
BAK=$PEM.orig
EMSIGN='/C=IN/OU=emSign PKI/O=eMudhra Technologies Limited/CN=emSign ECC Root CA - G3'
@Ian-dad1
Ian-dad1 / aaa_newmasterbookmarklet.js
Created February 29, 2020 20:12
ProdigyGame Master Bookmarklet
function closeit(){
prodigydiv.remove()
}
setTimeout("closeit", 3000);
function FreeMembership(){
PIXI.game.prodigy.player.tt=true
}
function FreeAtSchool(){
PIXI.game.prodigy.classModeController.lockedZones=0
}

Check-NikkeK2f.ps1

A PowerShell script that checks a Windows PC for the "k2f" remote-access agent that was delivered through the NIKKE PC launcher in late 2026, and, only with your confirmation at each step, removes what it leaves behind.

Do not open the NIKKE PC launcher until Level Infinite confirms that all of its modified web files have been fixed. As of the last gist update, one file (FeedList.feb647c9.js) was still reported as modified.