sh -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/config
-
Verify the File:
This file contains hidden or 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
# Hints: | |
# - set Eigen3_ROOT to the installation prefix of Eigen3. | |
# - append the installation prefix of Eigen3 to CMAKE_PREFIX_PATH. | |
# Results: | |
# - Eigen3_FOUND | |
# - Eigen3::Eigen | |
# - Eigen3_INCLUDE_DIRS | |
# - Eigen3_VERSION | |
find_path(Eigen3_INCLUDE_DIR |
This file contains hidden or 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/sh | |
# Print usage information | |
print_usage() { | |
echo "Usage: $0 [llvm-version]" | |
echo "Installs LLVM with the specified version." | |
echo "If no version is provided, it defaults to version 16." | |
} | |
# Check for the number of arguments |
This file contains hidden or 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/sh | |
# Update and install prerequisites | |
sudo apt update | |
sudo apt -y install curl gpg | |
# Add ppa key | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg | |
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/ | |
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' |
This file contains hidden or 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/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 |
# For server
sh -c "$(wget -O- https://gist.githubusercontent.com/elkuno213/4eb921b320c7a8c53ba72ec24e0b48b3/raw/tigervnc_install.sh)" -- server
# For client
sh -c "$(wget -O- https://gist.githubusercontent.com/elkuno213/4eb921b320c7a8c53ba72ec24e0b48b3/raw/tigervnc_install.sh)" -- client
This file contains hidden or 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
"""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 |