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
#!/usr/bin/bash | |
# Change to the target directory | |
cd "$DOTFILES/gitthings" || exit 1 | |
# Scrape the Tor Project page to find the latest stable version | |
version=$(curl -s https://dist.torproject.org/torbrowser/ | grep -oP '(?<=href=")[0-9]+\.[0-9]+\.[0-9]+(?=/")' | sort -V | tail -n 1) | |
# Check if the version was found | |
if [ -z "$version" ]; then |
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 | |
### PRE-REQUISITE: CUDA | |
# https://developer.nvidia.com/cuda-downloads | |
### The directory you want to install LC0 at: | |
cd $DOTFILES/gitthings/ | |
git clone -b release/0.29 --recurse-submodules https://github.com/LeelaChessZero/lc0.git | |
cd lc0 |
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 | |
cd $DOTFILES/gitthings/ | |
if ! [ -e $PWD/nibbler ]; then | |
git clone https://github.com/rooklift/nibbler.git | |
fi | |
NIBBLER_PATH="$PWD/nibbler" | |
path_file="/usr/local/bin/nibbler" |
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
#!/usr/bin/bash | |
sudo npm install -g electron | |
sudo chown root:root /usr/local/lib/node_modules/electron/dist/chrome-sandbox | |
sudo chmod 4755 /usr/local/lib/node_modules/electron/dist/chrome-sandbox |
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
#!/usr/bin/bash | |
cd $DOTFILES/gitthings/ | |
git clone https://github.com/ryanoasis/nerd-fonts.git | |
cd nerd-fonts | |
./install.sh |
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
#/usr/bin/bash | |
GITT=$DOTFILES/gitthings | |
git clone https://github.com/BuddhiLW/st.git $GITT/st | |
cd $GITT/st | |
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
#!/usr/bin/bash | |
BPATH="$HOME/dotfiles/gitthings/ble.sh" | |
rm -rf $BPATH | |
git clone --recursive https://github.com/akinomyoga/ble.sh.git $BPATH | |
cd $BPATH | |
make | |
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
#!/usr/bin/bash | |
if [ -n $(command -v brew) ] | |
then | |
echo "Brew is installed" | |
echo "Continuing with brew-buf install" | |
brew install bufbuild/buf/buf | |
else | |
echo "Brew not installed" |
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 | |
# Download and extract the file, and capture the output of tar | |
output=$(wget -qO- https://dl.pstmn.io/download/latest/linux_64 | tar xzvf - 2>&1) | |
status=$? | |
# Check if the command was successful | |
if [ $status -eq 0 ]; then | |
echo "Download and extraction successful." | |
echo "$output" # Print the captured output if needed |
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 | |
## Dependencies | |
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 | |
## Where you would like to install the Android Stufio | |
cd $DOTFILES/gitthings/ | |
wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2023.2.1.24/android-studio-2023.2.1.24-linux.tar.gz |
NewerOlder