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
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
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
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
console.log("123go!"); |
NewerOlder