Skip to content

Instantly share code, notes, and snippets.

View TophC7's full-sized avatar
🥐
Kwahson

Chris Toph TophC7

🥐
Kwahson
View GitHub Profile
@Tc-001
Tc-001 / escape-the-box.md
Last active October 4, 2025 16:38
How to "escape" nixos FHS sandbox for vscode

So, I needed to use the 1password CLI from vscode-fhs, but it didn't work because the sandbox user wasn't the same as the native one.

tc001 ~/foo> op whoami                                                                     
[ERROR] connecting to desktop app: read: connection reset, make sure 1Password CLI is installed correctly, then open the 1Password app, select 1Password > Settings > Developer and make sure the 'Integrate with 1Password CLI' setting is turned on. If you're still having trouble connecting, restart the app.

Thankfully this was pretty easy to solve once I figured it out, but it wasn't really doccumented anywhere.

@joske
joske / arch-yoga.md
Last active October 17, 2025 15:22
Arch Linux Arm on Lenovo Yoga Slim 7x (X elite)

Arch

This is the method I used to install Arch on the yoga slim 7x. This is from memory so I may have forgotten things

prerequisites

  • disable bitlocker in windows
  • resize the windows partition
  • disable secure boot in BIOS

installation

@Steveplays28
Steveplays28 / distant_horizons_shader_compatibility_information.md
Last active December 13, 2025 14:21
Distant Horizons shader compatibility info

Distant Horizons shader compatibility information

Distant Horizons v2.0.0 (and up) shader compatibility information.

v2

Install guide

Fabric

@archeYR
archeYR / 8bitdofirmwarelinux.md
Last active December 7, 2025 20:01
8BitDo Firmware Updater in Wine

This is about running 8BitDo's Firmware Update tool for Windows in Wine. It can be used for updating newer 8BitDo devices that may not be supported by fwupd on Linux. This tool uses .NET Framework, so it will need Wine Mono to be installed (dotnet48 wintericks verb was tested to work as well).

This tool needs Segoe UI Symbol font, on Arch this font is provided by ttf-ms-win10-auto package. For other distributions there is install script.

You will have to let Wine access device's HID interface for updating the firmware. Most importantly it should be a boot HID interface (exposed when device is in bootloader mode, often referred to as "manual update mode" or "advanced mode"). It is also worth adding the Product IDs for HID interfaces that are exposed under different conditions (for example, Ultimate Bluetooth Controller's receiver exposes a HID interface when controller is not connected),

@f9n
f9n / unbound-cheat-sheet.md
Last active October 22, 2025 14:40
Unbound Cheat Sheet

Unbound Cheat Sheet

Installation

$ yum install -y unbound

Setup SSL keys for unbound-control

@himalay
himalay / color-emoji-on-linux.sh
Created February 26, 2017 06:31
Color emoji on Arch Linux.
# create folders if does not exist
mkdir -p ~/.fonts
mkdir -p ~/.config/fontconfig/
# download noto color emoji font from https://www.google.com/get/noto/#emoji-zsye-color
# extract NotoColorEmoji.ttf file into ~/.fonts/
# create font config file
cat << 'EOF' > ~/.config/fontconfig/fonts.conf
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">