Skip to content

Instantly share code, notes, and snippets.

@geosp
geosp / thunderbolt-networking-guide.md
Created March 21, 2025 03:44
Thunderbolt Networking Setup on Linux

Thunderbolt Networking Setup on Linux

This guide documents the steps to enable and configure Thunderbolt networking on your Linux system (e.g., Ubuntu, Proxmox). It covers loading the necessary kernel modules, ensuring persistent interface naming, configuring a fixed IP address, and testing throughput with iperf3. Note that Thunderbolt 3/4 hardware advertises a raw bandwidth of 40 Gbps, but practical throughput is typically lower due to half‑duplex operation, protocol overhead, and system constraints.

Hardware Used in This Guide

This guide was developed and tested with the following hardware:

  • CPU: AMD Ryzen 9 PRO 6950H
    • 8 cores / 16 threads
  • 3.3 GHz base frequency / 4.94 GHz boost
@aanari
aanari / wezterm.lua
Created August 11, 2023 16:01
WezTerm Config for WSL 2
local wezterm = require("wezterm")
local function font_with_fallback(name, params)
local names = { name, "Apple Color Emoji", "azuki_font" }
return wezterm.font_with_fallback(names, params)
end
local font_name = "PragmataProMonoLiga Nerd Font"
return {
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active April 2, 2025 01:50
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@jlia0
jlia0 / agent loop
Last active April 2, 2025 01:50
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@Zeltales
Zeltales / AutoFarmTheLastMeadow.md
Last active April 2, 2025 01:46
Auto Farm The Last Meadow Discord

sassyddd

Instructions

1. Open the Console:

  • Web Discord: Press F12 or right-click on the page and select Inspect.
  • On App Discord: Press Ctrl + Shift + I.

2. Enable DevTools on Discord (if it doesn't work):

  • Option 1: Use the PTB or Canary version of Discord.
@carterlasalle
carterlasalle / remove_soundcloud_liked.js
Created April 2, 2025 01:43
Accidentally synced you spotfiy liked songs to soundcloud or just want to mass unlike? Here you go! Just set the number of songs!
//Accidentally synced you spotfiy liked songs to soundcloud or just want to mass unlike? Here you go! Just set the number of songs!
// Go to soundcloud main page and paste in the console
(async function() {
let count = 0;
const limit = 50; // Set the number of songs to unlike
while (count < limit) {
var buttons = Array.from(document.querySelectorAll(".sc-button-like[title='Unlike']"));
if (buttons.length === 0) break;
buttons.forEach(button => {
if (count < limit) {
@TameemS
TameemS / debloatLDPlayer.md
Last active April 2, 2025 01:41
Debloating LDPlayer

Inspired by this

More of my guides: Debloating MEMu - Debloating Nox (Updated)

This mainly applies to LDPlayer9. They will probably work on the low end options (like LDPlayer5) but not guaranteed.

Debloating LDPlayer

This emulator seems to have less stability issues than MEMu. I think we get the shtick that these emulators do spooky stuff.

  1. Download LDPlayer, preferably an offline version from the version history
@oficsu
oficsu / fzf-history.sh
Last active April 2, 2025 01:39
An alterntive to __fzf_history__ that supports immediate execution, moving around match and showing date with arbitrary HISTTIMEFORMAT
#!/bin/bash
# Demonstration: https://youtu.be/Uj3nmYq5LnQ
# MIT License
#
# Copyright (c) 2024 Ofee Oficsu
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
#r "Microsoft.VisualBasic"
using Microsoft.VisualBasic;
using System.Text.RegularExpressions;
// Select a measure
var offsetMeasure = Model.SelectMeasure();
// Select an offset column
string offsetColumn = SelectColumn(Model.Tables["Dates"].Columns.Where(
col => col.Name.Contains("Offset")))