Skip to content

Instantly share code, notes, and snippets.

########### boot iso in vm ###########
echo exfat >> /etc/initramfs-tools/modules
cd /usr/share/initramfs-tools
grep iso-scan . -r
less scripts/casper-premount/20iso_scan
grep find_path . -r
vi scripts/casper-helpers
# Add a condition for `exfat` in the case statement of the is_supported_fs function.
@s0racat
s0racat / package.nix
Last active September 24, 2024 01:21
{
lib,
fetchFromGitHub,
stdenvNoCC,
makeWrapper,
gh,
fzf,
coreutils,
gawk,
}:
@s0racat
s0racat / settings.json
Last active September 23, 2024 06:55
Windows Terminal config
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command": "unbound",
"keys": "ctrl+v"
},
{
@s0racat
s0racat / settings.json
Last active September 23, 2024 06:58
fancywm config
{
"ActivationHotkey": "Shift_Win",
"ActivateOnCapsLock": false,
"ShowStartupWindow": false,
"NotifyVirtualDesktopServiceIncompatibility": true,
"AllocateNewPanelSpace": true,
"AutoCollapsePanels": true,
"AutoSplitCount": 2,
"DelayReposition": false,
"AnimateWindowMovement": true,
@s0racat
s0racat / user.js
Last active December 12, 2023 13:45
フォント指定を無視するfirefoxのuser.js
user_pref("dom.security.https_only_mode", true);
user_pref("browser.display.use_document_fonts", 0);
user_pref("font.minimum-size.ja", 20);
user_pref("font.name-list.sans-serif.ja", "BIZ UDGothic, Meiryo, Yu Gothic, MS PGothic, MS Gothic, Yu Mincho, MS PMincho, MS Mincho");
user_pref("font.name-list.monospace.ja", "Consolas, BIZ UDGothic, MS Gothic, MS Mincho, Meiryo, Yu Gothic, Yu Mincho, MS PGothic, MS PMincho");

Verify Connection

ping -c4 archlinux.org

Disk Partitioning

cgdisk /dev/nvme0n1