Avoid IBus on KDE — fcitx5 is the native choice.
sudo apt install fcitx5 fcitx5-unikey fcitx5-config-qt
im-config -n fcitx5sh -c "$(wget -O- https://gist.githubusercontent.com/elkuno213/9b7f2307f3e85aa3f1d6b4c47fb01be7/raw/setup.sh)"To download and set up the Ghostty configuration file from the provided Gist, follow these steps:
Download the Config File:
Open a terminal and run the following command to download the configuration file directly to your $HOME/.config/ghostty/ directory:
mkdir -p $HOME/.config/ghostty/
wget -q -O $HOME/.config/ghostty/config https://gist.githubusercontent.com/elkuno213/05ff9bc034667383ace6242eb7e588d9/raw/configVerify the File:
| #!/bin/sh | |
| # Setup apt's repository. | |
| # ----------------------- | |
| # Add Docker's official GPG key: | |
| sudo apt-get update | |
| sudo apt-get -y install ca-certificates curl | |
| sudo install -m 0755 -d /etc/apt/keyrings | |
| sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc |
| --- | |
| Language: Cpp | |
| BasedOnStyle: Google | |
| AccessModifierOffset: -2 | |
| AlignAfterOpenBracket: BlockIndent | |
| AlignArrayOfStructures: Right | |
| AlignConsecutiveAssignments: | |
| Enabled: true | |
| AcrossEmptyLines: false | |
| AcrossComments: false |
# For server
sh -c "$(wget -O- https://gist.githubusercontent.com/elkuno213/4eb921b320c7a8c53ba72ec24e0b48b3/raw/tigervnc_install.sh)" -- <password> server [root|user]
# For client
sh -c "$(wget -O- https://gist.githubusercontent.com/elkuno213/4eb921b320c7a8c53ba72ec24e0b48b3/raw/tigervnc_install.sh)" -- <password> client| """Genetic Algorithmn Implementation | |
| see: | |
| http://www.obitko.com/tutorials/genetic-algorithms/ga-basic-description.php | |
| """ | |
| import random | |
| class GeneticAlgorithm(object): | |
| def __init__(self, genetics): | |
| self.genetics = genetics | |
| pass |