Skip to content

Instantly share code, notes, and snippets.

@milnak
milnak / garlic-os-tips.md
Last active July 4, 2026 17:01
My set of GarlicOS tips #rg35xx

Garlic OS Tips (Windows-based)

GarlicOS Cookbook

Follow these instructions for an easy way to get up and going quickly! These are complete instructions, and will be the easiest way to get started on a new RG35XX.

Set up SD Card

Get a high quality SD (e.g. SanDisk Extreme) card, 128GB or larger, 256GB is recommended. Don't skimp here, they're cheap, and don't use the card that comes with the RG35XX as it's crap.

@cellularmitosis
cellularmitosis / README.md
Last active July 4, 2026 16:59
Some inexpensive Factorio ship designs

Inexpensive Factorio ship and how to design them

Here's an overview of my Factorio ship designs which can be built inexpensively.

See also the Design topics section below.

These ships are designed for use within the first four planets.

⭐️ Recommended ships:

  • The Hornet (the cheapest useful ship)
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@Fweeb
Fweeb / blender-multi_gpu.markdown
Last active July 4, 2026 16:54
Rendering in Blender on a machine with multiple GPUs

Rendering in Blender on a machine with multiple GPUs

So here's the premise: For scenes that take around a minute or less to render, performance is actually worse if you render on all of the cards with a single instance of Blender. This is because (AFAIK) there's a bit of additional time necessary to collect the render results from each card and stitch them together. That time is a fixed short duration, so it's negligible on larger/longer render jobs. However, on shorter render jobs, the 'stitch time' has a much more significant impact.

I ran into this with a machine I render on that has 4 Quadro K6000s in it. To render animations, I ended up writing a few little scripts to facilitate launching 4 separate instances of Blender, each one tied to one GPU. Overall rendertime was much shorter with that setup than one instance of Blender using all 4 GPUs.

The setup works basically like this... I have a the following Python script (it can be anywhere on your hard drive, so long as you remember the path to it).

@fardjad
fardjad / considerations-for-running-postgres-on-nfs.md
Last active July 4, 2026 16:53
[Considerations for Running Postgres on NFS] Considerations for running a Postgres database on an NFS share #blog #postgres #nfs #fsync #fsexport #mount

Considerations for Running Postgres on NFS

Background

Over the weekend, I decided to try running a Postgres database in my Homelab. In my current setup, the most convenient option for storage is NFS. However, NFS is especially tricky for databases. A misconfigured setup can lead to performance or data corruption issues.

After watching

Ayúdame a limpiar de publicidad el móvil Android de un familiar que tengo
enchufado por USB. Es una persona mayor y le cuesta manejarse con anuncios y
apps basura, así que el objetivo es dejarlo simple y sin publicidad.
CONTEXTO Y HERRAMIENTAS
- Estoy en Windows. adb suele NO estar en el PATH: búscalo antes de rendirte,
normalmente está en C:\Users\<USUARIO>\AppData\Local\Android\Sdk\platform-tools\adb.exe
Si no existe, dímelo.
- Empieza con `adb devices`. Si sale vacío, ayúdame a activar la Depuración USB
(Opciones de desarrollador: tocar 7 veces la versión de compilación; en Xiaomi
@WildSiphon
WildSiphon / DockerDesktop.yaml
Created July 5, 2025 11:00
Docker Desktop direct download links
4.0.0:
Windows: https://desktop.docker.com/win/main/amd64/67817/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/67817/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/67817/Docker.dmg
release_date: '2021-08-31'
4.0.1:
Windows: https://desktop.docker.com/win/main/amd64/68347/Docker%20Desktop%20Installer.exe
Mac with Intel chip: https://desktop.docker.com/mac/main/amd64/68347/Docker.dmg
Mac with Apple chip: https://desktop.docker.com/mac/main/arm64/68347/Docker.dmg
release_date: '2021-09-13'
@makccr
makccr / md-to-odt.md
Last active July 4, 2026 16:49
A guide for exporting Markdown (.md) files to Open Office (.odt) files, with standard manuscript formatting.

Read it at MAKC.CO

Background

import android.graphics.Bitmap
import android.graphics.SurfaceTexture
import android.media.MediaPlayer
import android.view.Surface
import android.view.TextureView
import android.view.View
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.RepeatMode
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.animateFloatAsState
@ashwch
ashwch / Alacritty + tmux.md
Last active July 4, 2026 16:45
Alacritty + tmux: Ghostty-like keyboard shortcuts (Cmd+T, Cmd+D, Cmd+1-9, etc.)

Alacritty + tmux: Ghostty-like Keyboard Shortcuts

This configuration gives you Ghostty-style keyboard shortcuts (Cmd+D, Cmd+T, etc.) in Alacritty + tmux, providing a consistent terminal experience across different setups.

Why Use This?

  • Consistent shortcuts: Same muscle memory whether using Ghostty, iTerm2, or Alacritty+tmux
  • tmux benefits: Session persistence, remote pairing, detach/reattach, scriptable layouts
  • Works everywhere: tmux runs on any server, so your workflow travels with you