Skip to content

Instantly share code, notes, and snippets.

@bodaay
bodaay / pimpmyride.sh
Last active August 2, 2023 11:33
Auto setup my Env with All I need, Quick run: bash <(curl -sSL https://g.bodaay.io/pimp)
#!/bin/bash
# We Dont the user to run this script as root, but we will ask for it if needed
if [ "$EUID" -eq 0 ] && [ "$SUDO_USER" != "" ]; then
echo "This script cannot be run with sudo, it will ask for permission whenever needed. Thank you"
exit 1
fi
# Install zsh with fonts, only if os support apt
if command -v apt > /dev/null; then
echo "Debian-based system detected"
@bodaay
bodaay / gethfd.sh
Created June 25, 2023 16:07
HuggingFace Model Downloader
#!/bin/bash
args=${@:1} # Capture user-provided arguments
os=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m | tr '[:upper:]' '[:lower:]')
if [ "$arch" = "x86_64" ]; then
arch="amd64"
fi
@bodaay
bodaay / wsl-terminator.vbs
Created October 22, 2019 08:49 — forked from raneomik/wsl-terminator.vbs
vbscript to run Terminator and xServer under wsl
' https://medium.com/@bhupathy/install-terminator-on-windows-with-wsl-2826591d2156
set shell = CreateObject("Wscript.Shell")
xServerProcessName = "vcxsrv.exe"
RunXserverProcess( xServerProcessName )
RunTerminator()
KillXserverProcess( xServerProcessName )