Skip to content

Instantly share code, notes, and snippets.

View seb26's full-sized avatar
🏠

Sebastian Reategui seb26

🏠
View GitHub Profile
@qwertychouskie
qwertychouskie / README.md
Last active November 4, 2026 00:09
"I Can't Believe It's Not GitHub" CSS theme for Forgejo (Codeberg, etc)

A CSS stylesheet for Forgejo that makes it look and feel a bit more like GitHub.

This started off with me just changing colors, but quickly grew to also adjusting various parts of the UI to be more GitHub-like as well. The most obvious one is probably the top bar contents being inlined (except for the home page), which saves a decent amount of screen real estate, but there's a ton of tweaks all across the UI to make it more in line with GitHub.

It definitely doesn't cover everything, nor is it perfect, but it's close enough for my use, and probably most people, though further suggestions/tweaks to the CSS are welcome.

I recommend setting Settings -> Appearance -> Default theme to gitea-auto, as that's what this was developed against. Most focus went into the dark theme, but it was sanity-checked in light mode as well.

I'm personally using the FireMonkey extension for Firefox to set the theme, but should work with any CSS changing addon in your browser of choice.

# This documents how you would take a Debian 12 cloud image and make a Proxmox template out of it.
# This script isn't really meant to be executed, but more as a reference and copy/paste for each step.
# Enjoy!
# Download the image
mkdir -p ~/debian-bookworm-build/original && cd ~/debian-bookworm-build/original
wget 'https://cloud.debian.org/images/cloud/bookworm/20240717-1811/debian-12-genericcloud-amd64-20240717-1811.qcow2'
cd ..
@RikshaDriver
RikshaDriver / 0-postgres-qnap-install.md
Last active October 30, 2025 01:11
Installing PostgreSQL 13 on QNAP for Davinci Resolve

Installing PostgreSQL 13 on QNAP for Davinci Resolve

This guide aims to provide an updated overview on installing PostgreSQL 13 within a QNAP NAS for use as a database inside Davinci Resolve.

The previous guide(s) created by QNAP are somewhat irrelevant as Davinci Resolve, Container Station and QTS/QuTS have since undergone major upgrades.

These original guides are linked below for reference:

https://www.qnap.com/en/how-to/tutorial/article/how-can-i-migrate-my-davinci-resolve-studio-database-to-a-newer-version-of-qts

@johndturn
johndturn / launchd-for-services.md
Last active October 2, 2026 01:03
Overview of using launchd to set up services on a macOS machine.

launchd - Script Management in macOS

What is it?

  • Used on macOS for managing agents and daemons and can be used to run scripts at specified intervals
    • macOS's competitor to cron, along with other things
  • Runs Daemons and Agents

What is a Daemon?

@coolaj86
coolaj86 / MacOS-Icons.md
Last active October 12, 2026 05:17
MacOS Default Icons Locations

How to Find ANY Icon

  1. Open the application such that you see the icon on your screen.
  2. Open Activity Monitor
  3. Double click the name of the application (i.e. Finder or System Preferences)
  4. Select "Open Files and Ports"
  5. Copy the output to a file and then grep for .icns

Similarly you could run this command, but it may take several minutes to complete:

@mergwyn
mergwyn / zfsbench
Last active February 3, 2026 05:56
ZFS benchmarking using fio
#!/usr/bin/env bash
set -o errexit
echo $(date):Random read
fio --filename=test --sync=1 --rw=randread --bs=4k --numjobs=1 \
--iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test
echo $(date):Random write
fio --filename=test --sync=1 --rw=randwrite --bs=4k --numjobs=1 \
@loganvolkers
loganvolkers / Byte Formatting for Google Sheets.md
Last active June 25, 2026 11:19
Byte formatting for Google Sheets
@dews
dews / Limit mac bandwidth.md
Last active May 28, 2026 09:37
Limit mac bandwidth

Mac limit bandwidth

Enable firewall

Apple menu -> System Preferences -> Security & Privacy -> Firewall

sudo pfctl -e

Example

sudo dnctl pipe 1 config bw 10Kbit/s

@jwalanta
jwalanta / OpenWrt detect new device and send text message.md
Last active December 25, 2025 05:52
Detect new network devices connecting to OpenWrt and send text message
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 6, 2026 07:57
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname