Skip to content

Instantly share code, notes, and snippets.

Pulling the web...

Katabame Miaya katabame

Pulling the web...
View GitHub Profile

Keybase proof

I hereby claim:

  • I am katabame on github.
  • I am katabame ( on keybase.
  • I have a public key ASA6MLN32M01IMlTzr1UCVjCOxxfhF1DwVSrDmm39fzibAo

To claim this, I am signing this object:

katabame / 1.boot-debian.txt
Last active Oct 28, 2021
Debian on QEMU on Termux CheetSheet
View 1.boot-debian.txt
~ $ pkg upgrade -y
~ $ pkg install screen qemu-utils qemu-common qemu-system-x86_64-headless -y
~ $ mkdir debian && cd $_
~/debian $ screen
~/debian $ qemu-img create -f qcow2 debian.img 4G
~/debian $ qemu-system-x86_64 -nographic -m 4G -hda debian.img
< PRESS Ctrl+B quickly >
iPXE> dhcp net0
iPXE> kernel console=ttyS0
< Keep in mind, Backspace key doesn't work well. Use Delete key instead. >
pkg update && pkg install qemu-utils qemu-common qemu-system-x86_64-headless
mkdir alpine && cd $_
qemu-img create -f qcow2 alpine.img 4G
qemu-system-x86_64 -machine q35 -m 2048 -smp cpus=2 -cpu qemu64 \
-drive if=pflash,format=raw,read-only=on,file=$PREFIX/share/qemu/edk2-x86_64-code.fd \
-netdev user,id=n1,hostfwd=tcp::2222-:22 -device virtio-net,netdev=n1 \
-cdrom alpine-virt-3.12.3-x86_64.iso \
-nographic alpine.img
echo "deepin-wm --replace > /dev/null 2>&1 < /dev/null &" >> ~/.profile
sudo apt update
sudo apt upgrade -y
sudo apt install fcitx fcitx-mozc -y
sudo apt purge ibus
sudo apt install dconf-cli -y
dconf write /com/deepin/dde/sound-effect/desktop-login false
dconf write /com/deepin/dde/sound-effect/desktop-logout false
katabame /
Created May 19, 2019
bring back old tweetdeck style
@-moz-document domain("")
/* Change this var to adjust width */
--column-width: 270px;
/* Tweet composer */
katabame / fastest_arrest.js
Last active Sep 5, 2020
if [ "$?" -ne "0" ]; then
echo -e "\033[31m✘\033[0m"
exit 1
echo -e "\033[32m✔\033[0m"
View youtube-music-plus.user.css
/* ==UserStyle==
@name Youtube Music Plus
@version 0.1.0
@description Make youtube music great again
@author katabame
==/UserStyle== */
@-moz-document domain("")
katabame / ConnectionTime.plugin.js
Last active Aug 10, 2021
VCに接続されている時間を表示するDiscordプラグイン | Discord plugin that displays how long connected to VC
View ConnectionTime.plugin.js
MIT License
Copyright (c) 2018 katabame
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
View circle.styl
$circle-width = 0.04em
$primary-color = #00BCD4
$secondary-color = #cccccc
clip: rect(auto, auto, auto, auto)
position: absolute
border: $circle-width solid $primary-color