Skip to content

Instantly share code, notes, and snippets.

using gnu

Ishimoto Shinobu protonesso

using gnu
View GitHub Profile
View safestack.patch
From 66c2606588e369f189cf01f84d3b4966db4f809d Mon Sep 17 00:00:00 2001
From: Ishimoto Shinobu <>
Date: Mon, 22 Mar 2021 06:23:48 +0900
Subject: [PATCH 1/2] sneed
Signed-off-by: Ishimoto Shinobu <>
Makefile | 2 +-
arch/aarch64/syscall_arch.h | 2 ++
arch/i386/syscall_arch.h | 2 ++
protonesso /
Created Mar 31, 2021 — forked from niw/
How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

ARM 版 Windows 10 や Ubuntu for ARM64 を Apple Silicon な Mac で動かす

ARM 版 Windows 10 や Ubuntu を Apple Silicon な Mac で動かす簡単な方法です。

メモ: 2021年2月8日現時点での方法で、今後まだ改善されていくと思います。

ARM 版 Windows 10 を動かす

  1. Xcode を App Store で、あるいは Command Line Tools を Apple Silicon な Mac にインストール
protonesso /
Created Nov 4, 2020 — forked from shamil/
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
View setup
#!/usr/bin/env bash
print_welcome() {
cat <<-EOF
Welcome to Ataraxia Linux/$(uname -m) installation program!
This program will install Ataraxia Linux on your computer.
Make sure your disk size is more than 5 gigabytes.
View pkgadd
#!/usr/bin/env bash
# Package installer which uses zstd, similar to .deb
umask 022
unalias -a
pushd() { command pushd "$1" > /dev/null; }
popd() { command popd "$1" > /dev/null; }
# Description: The Linux kernel
# URL:
# Maintainer: protonesso, nagakamira at gmail dot com
# Priority: required
# Section: kernel
case $version in
View fuwa-fuwa-inst
#!/usr/bin/env bash
# ふわふわインストーラー
# Extremely fuwa fuwa installer
msg() {
dialog --stdout \
--backtitle "Fuwa Fuwa installer" "$@"
main() {
echo "Calculating packages to build"
local pkgs sect2build tobuild
View gist:308baec04f186bc353b85ef8f2c89c93
extract_file() {
local pkg="$1"
local file="$2"
bsdtar -C "$TMPDIR" -xzf "$pkg" "$file" 2>/dev/null || die -1 "Failed to extract file: $file"