This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("123go!"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bsort=foldr bs [] | |
where bs x []=[x] | |
bs x (y:ys)|x<=y =(x:y:ys) | |
|otherwise =(y:bs x ys) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Control.Monad | |
import System.IO | |
main=setting>>zipWithM ask q a>>=print.jug.sum | |
setting=hSetBuffering stdin NoBuffering>>hSetBuffering stdout NoBuffering | |
ask x y =print x>>getChar>>=return.fromEnum.(==y) | |
jug n |n >= 8 = "You win!" | |
|otherwise="You lose" | |
q = ["Q1","Q2","Q3","Q4","Q5","Q6","Q7","Q8","Q9","Q10"] | |
a = "1234123412" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dnf install -y rkhunter zsh | |
chsh -s /usr/bin/zsh | |
rkhunter --update | |
rkhunter --propupd | |
rkhunter -c --sk | |
dnf install -y Thunar git ImageMagick alternatives automake boinc-client boinc-manager breeze-icon-theme clamav claws-mail dia dkms aria2 exfat-utils extra-cmake-modules freetype-devel fuse-exfat gap ghostscript-tools-fonts gnome-tweaks google-noto-cjk-fonts-common google-noto-sans-cjk-ttc-fonts gparted gphoto2 gthumb ifuse java-1.8.0-openjdk-openjfx k4dirstat kicad kleopatra krita libreoffice-langpack-ja miniupnpc-devel ibus-mozc mozc ngspice openblas p7zip poedit pngquant qalculate-gtk rawtherapee raw-thumbnailer squid thunar-archive-plugin tumbler tuned tlp xorriso siril audacity sox woff2 gnome-shell chrome-gnome-shell gnome-session-wayland-session gnome-system-monitor gedit gconf-editor gnome-system-log lightdm-gtk lightdm-gtk-greeter-settings mesa-vulkan-drivers libva-utils gimp | |
<<COMMENT_OUT | |
rpmfusion-free-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
MIT License | |
Copyright 2021 Whitecat6142 | |
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 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
MIT License | |
Copyright 2021 Whitecat6142 | |
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 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install G-HAL modified Anthy | |
# download http://www.fenix.ne.jp/~G-HAL/soft/nosettle/im.html | |
# tar xf anthy-9100h.patch13- ??? .tar.xz -C /usr/local/lib64 | |
export CXXFLAGS="-std=gnu++14" | |
./configure | |
make | |
make check | |
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in Tokyo, sync <1ms | |
# server jp.pool.ntp.org iburst | |
# server time.cloudflare.com iburst | |
server ntp.nict.jp iburst | |
# NICT | |
server s2csntp.miz.nao.ac.jp minpoll 5 asymmetry +0.21 offset 0.0042 burst | |
# mizusawa tenmondai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://sw.kovidgoyal.net/kitty/conf/ | |
background #464646 | |
font_size 14.0 | |
font_family Ubuntu Mono | |
Nimbus Mono PS Bold | |
map f4 close_window_with_confirmation | |
touch_scroll_multiplier 12.0 | |
hide_window_decorations no | |
linux_display_server X11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EARLYOOM_ARGS="-r 0 -m 7,1 -s 10 --prefer '^(Web Content|Isolated Web Co)$' --avoid '^(firefox|dnf|packagekitd|gnome-shell|gnome-session-c|gnome-session-b|lightdm|sddm|sddm-helper|gdm|gdm-wayland-ses|gdm-session-wor|gdm-x-session|Xorg|Xwayland|systemd|systemd-logind|dbus-daemon|dbus-broker|cinnamon|cinnamon-sessio|kwin_x11|kwin_wayland|plasmashell|ksmserver|plasma_session|startplasma-way|xfce4-session|mate-session|marco|lxqt-session|openbox)$'" |
OlderNewer