Skip to content

Instantly share code, notes, and snippets.

View koumaza's full-sized avatar
REPLACED THIS USER SUCCESSFULLY.

shanghai nyaa chan! koumaza

REPLACED THIS USER SUCCESSFULLY.
View GitHub Profile
@koumaza
koumaza / README.md
Last active November 27, 2019 00:35
Disk usage is generate by shell script

Recommand for bash Conform Shell (Non-POSIX compliant) What binary can execute

wget "https://gist.github.com/koumaza/c650a98d855b645894ad2a682934b31b/raw/fb1dcfcc387b8e4b534331ed7b32f8d9618690ac/du_gen.sh" && bash du_gen.sh

(byte+sort)

wget "https://gist.github.com/koumaza/c650a98d855b645894ad2a682934b31b/raw/fb1dcfcc387b8e4b534331ed7b32f8d9618690ac/du_gen_byte.sh" && bash du_gen_byte.sh

(++)

@koumaza
koumaza / MacBP-TouchBar-keymap_koumaza.reg
Last active December 1, 2019 14:19
My MacBP-TB keyboard mapping
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,06,00,00,00,7b,00,29,00,5d,e0,3a,00,\
1d,e0,5c,e0,5c,e0,5d,e0,3a,00,1d,e0,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout\DosKeybCodes]
"00000402"="bg"
"00000404"="ch"
"00000405"="cz"
@koumaza
koumaza / install-packages.txt
Created December 1, 2019 22:29
KDE Plasma _ pacman -Qqe
yay -Syyuu akonadi-calendar-tools akonadi-import-wizard akonadiconsole akregator arch-install-scripts ark artikulate audiocd-kio autoconf automake base binutils bison blinken bomber bovo cantor cervisia dbus-x11 diffutils dolphin dolphin-plugins dragon fakeroot-tcp ffmpegthumbs filelight firefox fish flex fzf gcc gettext git granatier grantlee-editor grep gwenview gzip inetutils iproute2 iputils juk k3b kaccounts-integration kaccounts-providers kaddressbook kajongg kalarm kalgebra kalzium kamera kamoso kanagram kapman kapptemplate kate katomic kbackup kblackbox kblocks kbounce kbreakout kbruch kcachegrind kcalc kcharselect kcolorchooser kcron kde-dev-scripts kde-dev-utils kdebugsettings kdegraphics-mobipocket kdegraphics-thumbnailers kdenetwork-filesharing kdenlive kdepim-addons kdesdk-kioslaves kdesdk-thumbnailers kdf kdialog kdiamond keditbookmarks kfind kfloppy kfourinline kgeography kget kgoldrunner kgpg khangman khelpcenter kig kigo killbots kimagemapeditor kio-extras kipi-plugins kirigami-gallery kiriki
@koumaza
koumaza / README.md
Last active December 7, 2019 18:30
sshdについて。日本語で。

日本語で補足を書いた。 /etc /ssh/ にあるのはArchだけかもしれない。RHEL系は/etc/ sshd/ だった気がする。 Source:openssh-VERSION-x86_64.pkg.tar.xz

@koumaza
koumaza / README.md
Last active December 24, 2019 05:41

wsl -- curl -L 'https://gist.githubusercontent.com/koumaza/39a046a6a912a2463b0f7c6eb9054c26/raw/84c4061c0b8e45d1758c99b06d31e32d137ac387/vhdx_cleanup.cmd' > vhdx_cleanup.cmd

@koumaza
koumaza / FIleTreeBackupEvery.xml
Created January 12, 2020 00:10
My FileTreeBackup task .xml
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2020-01-11T20:57:25.0814533</Date>
<Author>REQU\satori</Author>
<URI>\FIleTreeBackupEvery</URI>
</RegistrationInfo>
<Triggers>
<BootTrigger>
<Repetition>
@koumaza
koumaza / .hyper.js
Created January 24, 2020 00:16
Hyper.is configure
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'canary',

Keybase proof

I hereby claim:

  • I am koumaza on github.
  • I am koumaza (https://keybase.io/koumaza) on keybase.
  • I have a public key ASCMFqIn4QHkEq0MoOd9wr-hSnjpjruKsCNEVibshEendQo

To claim this, I am signing this object:

@koumaza
koumaza / flashall.fish
Created May 7, 2020 16:08
flashall for payton
#!/usr/bin/fish
function device
echo 'devices'
fastboot devices
end
function getvar_max-sparse-size
echo 'getvar max-sparse-size'
fastboot getvar max-sparse-size
@koumaza
koumaza / ovulation_day_calc.fish
Created May 9, 2020 07:14
Ovulation day Calculator for fish
# notyet!!!!!
#!/usr/bin/fish
# if Regular cycle
function regular_c
while true
echo 'How many days is your menstrual cycle?'
read regular_day -p "echo '(day) > '"
end
echo $regular_day