Skip to content

Instantly share code, notes, and snippets.

View hmsjy2017's full-sized avatar
🎯
Focusing

Tony hmsjy2017

🎯
Focusing
View GitHub Profile

Phase 1: Prepare Kernel (Linux aarch64 Build VM)

  1. Download & Extract Kernel:

    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.85.tar.xz
    tar xvJf linux-6.6.85.tar.xz
    cd linux-6.6.85
  2. Configure & Compile Kernel:

@adns44
adns44 / eco-server-order-on-ovhcloud-api.md
Last active November 27, 2025 10:32
Eco server order process with OVHcloud API step-by-step

OVH - How to use the API to order any server? The answer is here!

I wrote this tutorial in 2024 and since this it is very popular on the LET Kimsufi topic, I make a few changes to help to understand better how the API works behind the scenes.

There are many APPs that helps you to order machines with OVH API automatable so when you understand the steps, you can use all of them as a pro.

And let me to say thanks to everyone who mention me and my tutorial on the forum.

I ASK YOU IN FIRST

@Cyang39
Cyang39 / alist-upload.md
Created September 8, 2024 02:58
curl 上传 alist 的 bash 脚本

参考这个分享的curl上传方法编写的脚本,目的是简化 token 获取到上传文件的流程。

个人用在定时文件备份中。

#!/bin/bash

# 检查参数数量
if [ $# -ne 6 ]; then
    echo "Usage: $0 --username <username> --password <password> <local-file> <alist-url>"
@cGandom
cGandom / RaspberryPi4-qemu.md
Last active March 19, 2026 15:07
Emulating Raspberry Pi 4 with Qemu

Emulating Raspberry Pi 4 with Qemu

Just a quick update before we dive in: what we're actually doing here is running Raspberry Pi OS (64-bit) on a QEMU virtual ARM setup. This isn't full-blown hardware emulation of the Raspberry Pi 4, but more about creating a virtual environment for the OS. It doesn't mimic all the specific hardware features of the Pi 4, but it's pretty useful and great for general testing. I turned to this solution mainly to extract a modified sysroot from the Raspberry Pi OS, something not readily available in other resources. For those looking into detailed emulation of the actual Raspberry Pi 4's hardware in QEMU, check out this link for the latest updates: https://gitlab.com/qemu-project/qemu/-/issues/1208.

Hope it helps! :D

Shortcomings: No GUI yet, only console.

Steps

@hamid-rostami
hamid-rostami / README.md
Last active January 15, 2026 13:36
wireguard over TCP

To pass wireguard's traffic through a TCP tunnel by using udp2raw

Requirements

For Arch linux, install udp2raw by pacman: pacman -S udp2raw

For Debian or Ubuntu, you can use a binary release from: https://github.com/wangyu-/udp2raw/releases

@Vogtinator
Vogtinator / README.md
Last active March 20, 2026 03:20
Run Win11 on ARM in QEMU

Guide updated to use the official installation .iso from Microsoft, which finally became available in Dec. 2024! For the VHDX disk image based guide check an earlier version of this gist.

When following this guide on a host not capable of aarch64 virtualization, replace -cpu host -accel kvm with -cpu neoverse-n1 (faster to emulate then -cpu max).

  1. Download the installation .iso from https://www.microsoft.com/en-us/software-download/windows11arm64. Win11_24H2_EnglishInternational_Arm64.iso is known to work.
  2. Download the the latest virtio-win.iso from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/.
  3. Create a disk image for the Windows installation, e.g. qemu-img create -f qcow2 win11.qcow2 80G
  4. Start the installation with generic (ramfb for display, usb-storage for .isos) as well as virtio (virtio-gpu-pci, virtio-block) devices: `qemu-system-aarch64 -M virt -cpu host -accel kvm -m 4G -smp 4 -device ramfb -device virtio-gpu-pci -bios /usr/share/qemu/qemu-uefi-a
# see https://github.com/EtherDream/freecdn/blob/master/examples/free-host/npm-upload.sh
IFS=$'\n'
if [[ "$NPM_PKG" == "" ]]; then
echo "\$NPM_PKG is not specified"
exit
fi
if [[ "$*" == "" ]]; then
echo "file list empty"
@futurejones
futurejones / swift-apt-repo-install.sh
Last active October 10, 2023 12:54
Install script for the Swift Community Apt Repository - https://swiftlang.xyz
#! /bin/bash
#
# Install script for the Swift Community Apt Repository - swiftlang.xyz
#
# check distribution version and infer distro with switch/case
## as all distribution versions have different names we can use this information to infer the distribution name.
check_ver () {
for var in "${SUPPORTED_VER[@]}"
do
@ChenYFan
ChenYFan / ip.txt
Created May 14, 2021 11:51
Vercel All IP
34.95.57.145 [加拿大 魁北克省蒙特利尔 Google 云计算数据中心]
13.49.54.242 [瑞典 斯德哥尔摩 Amazon 数据中心]
18.178.194.147 [日本 东京都东京 Amazon 数据中心]
52.79.72.148 [韩国 首尔 Amazon 数据中心]
35.180.16.12 [法国 巴黎 Amazon 数据中心]
18.206.69.11 [美国 弗吉尼亚州阿什本 Amazon 数据中心]
52.76.85.65 [新加坡 Amazon 数据中心]
18.130.52.74 [英国 伦敦 Amazon 数据中心]
35.202.100.12 [美国 Merit 网络公司]
35.195.188.93 [比利时 瓦隆大区圣吉斯兰 Google 云计算数据中心]