RSSAmplifier

Blog

Randomblock1’s website

Personal blog about programming & tech

randomblock1.comRSS feed ↗10 posts

Latest posts

Use Cursor Composer 2.5 Anywhere With an OpenAI-Compatible API

TL;DR

Speeding up Gemini CLI 2x with Bun

2X Performance With One Line

Smartifying a Dumb Fan, and understanding the NEC protocol

Living in a dorm room with one AC unit per unit, not room, means that when my bedroom gets too hot from the computer running, I have to turn on a fan and open the door. I find myself constantly wishing for a thermostat, or at least some other way of automating it. As a computer scientist with an interest in computer engineering, I can’t help but feel like there’s a better way…

Installing XNU Headers on MacOS 13

Sometimes, you need certain header files that aren’t available with the default MacOS toolchain. For example, I’m building a replacement for caffeinate which completely disables sleep while the laptop lid is closed, so my stuff can keep compiling, rendering, and etc. while it’s in my backpack. But it needs a header that I found hidden deep within the depths of the MacOS kernel source code, AKA…

Mass Convert Videos with FFmpeg and PowerShell

FFmpeg is immensely powerful when it comes to modifying and transcoding videos, but it’s lacking one important feature: it can’t handle multiple files at once! Luckily, we have scripts.

Use Sudo with Touch ID

If you have a MacBook with Touch ID, you can skip typing your password into sudo by using Touch ID! It’s much faster and potentially more secure. It’s also surprisingly easy, and you can do it by adding one line to a file.

How to 100% Unlock LHR on Nvidia RTX GPUs (HiveOS)

You heard that right. You can nearly double your hashrate with minimal effort, and increase efficiency. Just download a miner, it’s that easy. This quick guide is meant to get you mining ASAP.

Build Your Own 1Gbps Wireguard VPN + AdBlock for $1/month

So you want an ultra-cheap VPN service, huh?

Running Windows 10 on M1 Mac with QEMU & Hypervisor.Framework

M1 Macs don’t have support for Bootcamp, so you can’t install Windows through normal means. So, in order to have a working Windows environment, you have to do it all in a virtual machine. The problem is that QEMU isn’t optimized for M1 Macs, and virtualization is very slow… unless it uses MacOS’ Hypervisor.Framework. While this isn’t quite as performant as paid solutions (like Parallels), it works…

Making Discord 2x Faster And Efficient On M1 Macs

Update: This guide is no longer needed! Discord now has official M1 support, and it’s much better than this workaround. As expected, performance and battery life on M1 Macs has greatly improved. Just download Discord from the official website.