Skip to content

Instantly share code, notes, and snippets.

@emschwartz
emschwartz / README.md
Last active February 9, 2026 03:08
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@shawnyeager
shawnyeager / opencode-systemd-tailscale.md
Last active February 9, 2026 03:07
Run OpenCode as a persistent systemd service with Tailscale access

OpenCode Web Server Setup

Run OpenCode as a persistent background service, accessible from any device via Tailscale.

Why?

  • Access from anywhere — Start a task from your phone, check results from your laptop
  • Sessions persist — Close the browser, come back later, your session is still there
  • Multiple clients — Terminal TUI and browser can connect to the same session simultaneously
  • Survives crashes — systemd restarts the server automatically
@jsit
jsit / Mastodon Explained in 100 Words.md
Last active February 9, 2026 03:06
Mastodon Explained in 100, 200, and 500 Words

Mastodon Explained in 100 Words

  1. Mastodon is a microblogging social media platform like Twitter; you can write posts ("toots") and interact with other people's posts on a timeline.
  2. To sign up, you first need to choose a server (an "instance"), like choosing an email provider.
  3. Start posting!
  4. It's probably adequate to start with the official app made by the Mastodon group.
  5. There are three timelines; "Home" shows posts from people you follow; "Local" shows posts from people who are on your instance; "Federated" shows posts from all people known to your instance.
  6. You may notice some differences and limitations in the experience as compared to Twitter.
@leodutra
leodutra / bitwise-hacks.js
Last active February 9, 2026 03:04
Fast Int Math + Bitwise Hacks For JavaScript
/**
* Bitwise Mathematics Utilities
*
* A collection of fast bitwise operations for integer mathematics.
* These functions prioritize performance over readability and should be used
* when micro-optimizations are critical (game engines, real-time applications).
*
* References:
* - http://michalbe.blogspot.com.br/2013/03/javascript-less-known-parts-bitwise.html
* - http://jsperf.com/bitwise-vs-math-object
@tdcosta100
tdcosta100 / WSL2GUIXvnc-en.md
Last active February 9, 2026 03:03
A tutorial to use GUI in WSL2 replacing original XServer by Xvnc, allowing WSL to work like native Linux, including login screen

WSL2 with GUI using Xvnc

Note

If you want to use pure WSLg, you can try the new WSLg (XWayland) tutorial or the WSLg (Wayland) tutorial.

In this tutorial, we will setup GUI in WSL2, and access it using VNC. No additional software outside WSL (like VcXsrv) is required, except, of course, a VNC Viewer (RealVNC, TightVNC, TigerVNC, UVNC, etc, all of them might work flawlessly).

The key component we need to install is the desktop metapackage you want (GNOME, KDE, Xfce, Budgie, etc) and tigervnc-standalone-server.

For this setup, I will use Ubuntu (20.04, 22.04 and 24.04 are working), and install GNOME Desktop. Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. Check the [Sample

@zAstergun
zAstergun / CompleteDiscordQuest.md
Last active February 9, 2026 03:03 — forked from aamiaa/CompleteDiscordQuest.md
Discord Missões Orb (PT-BR)

Complete Recent Discord Quest (Versão PT-BR aprimorada)

Fork do script original com traduções, melhorias visuais e uma função para parar a execução de forma segura.

Note

Este script não funciona no navegador para missões que exigem que você jogue um game! Use o aplicativo para desktop para completar essas missões.


Modificações desta Versão (por @zAstergun)

@scyto
scyto / proxmox-tb-net.md
Last active February 9, 2026 03:03
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
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active February 9, 2026 02:59
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@mikaeldui
mikaeldui / CachyOS Kernel for Fedora with Secure Boot.md
Last active February 9, 2026 02:57
CachyOS Kernel for Fedora with Secure Boot

image

CachyOS Kernel for Fedora with Secure Boot

Did you just install kernel-cachyos and got hit by bad shim signature when booting? Me too. This is how I fixed it.

First, make sure you have Secure Boot with mokutil --sb-state.

Note, there's a second way of doing this by using sbctl, but I didn't want to wipe my Secure Boot keys.

Need help? Feel free to leave a comment below, contact me (@mikaeldui) on the CachyOS Discord, or send me an email.