Skip to content

Instantly share code, notes, and snippets.

@scyto
scyto / proxmox-tb-net.md
Last active May 11, 2025 07:54
Thunderbolt Networking Setup

Thunderbolt Networking

this gist is part of this series

you wil need proxmox kernel 6.2.16-14-pve or higher.

Load Kernel Modules

  • add thunderbolt and thunderbolt-net kernel modules (this must be done all nodes - yes i know it can sometimes work withoutm but the thuderbolt-net one has interesting behaviou' so do as i say - add both ;-)
    1. nano /etc/modules add modules at bottom of file, one on each line
  1. save using x then y then enter
@afternoon
afternoon / rename_js_files.sh
Created February 15, 2014 18:04
Rename .js files to .ts
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;
@alastori
alastori / nintendo_switch_sd_migration.md
Last active May 11, 2025 07:48
How to transfer Nintendo Switch SD Card data using macOS

How to Transfer Nintendo Switch SD Card Data (macOS Guide)

This guide explains how to migrate a Nintendo Switch SD card to a larger SD card on macOS, ensuring data integrity while avoiding hidden macOS metadata files.

Summary of Steps

Step Action
1 Create a read-only .dmg backup of the old SD card using Disk Utility.
2 Format the new SD card in the Nintendo Switch.
@notnotrobby
notnotrobby / cgp.md
Last active May 11, 2025 07:40
List of free resources to study computer graphics programming.
@kasparsd
kasparsd / wp-adv-admin-handbook.md
Last active May 11, 2025 07:38
WordPress handbooks as a single markdown file for LLMs (source https://developer.wordpress.org)

Advanced Administration Handbook

Source: https://developer.wordpress.org/advanced-administration/

Welcome to the WordPress Advanced Administration Handbook! Here you will find WordPress advanced documentation. Use the “Contents” menu on the left to navigate topics.

Why Advanced Administration?

Not all users who use WordPress have to know about technology, and therefore in its documentation should not appear either, and developers do not have to know certain advanced system configurations.

@jelovac
jelovac / README.md
Last active May 11, 2025 07:34
Ubuntu Mate 20.04 XRDP setup

Ubuntu Mate 20.04 XRDP setup

Documenting XRDP setup which worked for me on Ubuntu Mate 20.04.

Some parts are taken from: http://c-nergy.be/blog/?p=14093.

Install xrdp

sudo apt install xrdp
@mthri
mthri / divar_notifier.py
Created May 9, 2025 11:45
Divar to Telegram Notifier Bot
"""
Divar to Telegram Notifier Bot
This script monitors a filtered Divar page and sends newly posted items to a specified Telegram channel every 60 seconds.
Setup Instructions:
1. Create a Telegram bot using BotFather.
2. Add the bot to your Telegram group or channel.
3. Promote the bot as an admin in your channel so it can post messages.
4. Use @username_to_id_bot to get the numeric ID of your channel (e.g., -1001234567890).
@iwnow
iwnow / sol.md
Last active May 11, 2025 07:31
Fix for windows 10 VPN connection problems "parameter is incorrect" error

SOLUTION:

If you install the Windows 10 ps1 file (as noted in the installation instructions) and when you try to connect is says "parameter is incorrect" then so the following:

  1. Clear the Networking caches
    • Run windows cmd window (click windows start menu, type 'cmd', right click on 'Command Prompt' and select "Run as Administrator").

    • type command below

>netsh int ip reset

@DubyaDude
DubyaDude / DubyasCleanupOfDiscord.css
Last active May 11, 2025 07:26
My list of annoying stuff I hide/disable in Discord using Quick CSS
/* Dubyas list of annoying stuff he hides in discord using Quick CSS */
/* Want to have this be synced up with your Discord so you don't need to re-copy and paste this for new additions?
* Feel free to just import this gist directly by adding the following line:
* @import url("https://gist.githubusercontent.com/DubyaDude/1ee0e8c218a22883721635dfae3e022c/raw/DubyasCleanupOfDiscord.css");
*/
/* Disable profile edit page upsell */
div[id="profile-customization-tab"] > div[class^="container_"]
{
@0xdevalias
0xdevalias / decompile-apple-shortcuts.md
Last active May 11, 2025 07:25
A few notes on decompiling Apple Shortcuts workflows into their raw XML 'source code'.