Skip to content

Instantly share code, notes, and snippets.

View nevrending's full-sized avatar
🍰
The cake is a lie.

Yefta Sutanto nevrending

🍰
The cake is a lie.
View GitHub Profile
@avoidik
avoidik / README.md
Last active March 20, 2025 09:28
Run Windows 11 IoT ARM on Mac M1 or similar

How to run Windows on Mac

We're going to run Windows 11 IoT (ARM) on Mac M1 (ARM) using the native binary translation, thanks to up-to-date version of qemu which has native hardware support.

Prerequisites

Install qemu and required tools (coreutils - we need truncate/gtruncate, dd/gdd CLI tools, samba - to share files between host and guest VM).

$ brew install qemu coreutils samba
@Aslam97
Aslam97 / mix_to_vite.md
Last active August 15, 2024 07:26
Guide on migrating from Mix to Vite
@mcxiaoke
mcxiaoke / miui-blotware-apps.md
Last active May 4, 2025 06:57
MIUI 13/14 bloatware apps, updated at 20240816

对于所有应用,不建议直接删除,使用adb shell pm disable-user package-name禁用即可,方便出问题时恢复。

DO NOT UNINSTALL:

  • com.miui.securitycenter
  • com.miui.securityadd
  • com.xiaomi.finddevice

(Don’t uninstall these three apps or services from your Xiaomi device. Otherwise, you may encounter device bricking or bootloop issues.)

@egg82
egg82 / proxmox_nvidia.md
Last active May 15, 2025 16:16
NVidia Proxmox + LXC

Proxmox

Find the proper driver at the NVidia website.

Note: Make sure to select "Linux 64-bit" as your OS

Hit the "Search" button.

@nathan818fr
nathan818fr / haproxy.cfg
Last active April 2, 2025 06:23
Decoding the Minecraft handshake with HAProxy (protocol version, hostname, next-state) to choose which backend to use.
global
lua-load /path/to/haproxy_minecraft.lua
[...]
defaults
[...]
frontend mc_listener
bind *:25565
mode tcp
@wallentx
wallentx / landBureau
Last active March 23, 2021 07:23
Watch -d dir for completed plots, then exec a mv to other path
#!/usr/bin/env bash
# uses https://github.com/z3bra/wendy
# replace below value with path of your chia '-d' value
CHIA_D="/many/t7"
# replace below value with path of HDD
FINAL="/mnt/plots"
@RafaelWO
RafaelWO / docker-swarm-gpu.md
Last active March 18, 2025 04:15 — forked from tomlankhorst/docker-swarm-gpu.md
Instructions for Docker swarm with GPUs
@icedream
icedream / README.md
Last active March 25, 2022 13:31
Clipping without reencoding

youtube-dl has the ability to give you a direct download link for a video instead of downloading the whole video by itself. This is really useful if you only intend to clip a specific part of a stream, and you can even do that without reencoding for maximum speed if you can accept a tolerance of 2 seconds (the usual keyframe interval used for streams). This is a technique I am using to make my Games Done Quick clips as well, so this is not limited to YouTube.

Here's how you can do it:

Requirements

@darwin
darwin / readme.md
Created November 16, 2020 21:59
APFS Container cloning/replicating under macOS 11.0 (Big Sur) - with a bootable system

It is the year 2020 and replicating APFS containers still sucks. One would expect it would be a simple copy and paste in the Disk Utility app but this is still far from reality.

Last year I wrote how I managed to clone my macOS system under Catalina. The main trick was to create a DMG file with multiple volumes, mount it on target machine and drop to command-line to do asr restore from synthetised disk while avoiding possible pitfalls.

The good news is that Apple devs definitely worked on improving this under Big Sur and added some documentation (see man asr). But I didn't understand it fully on first read. Maybe someone could explain how is this supposed to work?