Skip to content

Instantly share code, notes, and snippets.

View sacsbrainz's full-sized avatar
💻
Typescript

Solomon ogu sacsbrainz

💻
Typescript
View GitHub Profile
@sacsbrainz
sacsbrainz / Fix.md
Last active July 12, 2024 09:45
Fix automatic wakeup on laptop running linux (arch, debian, ubuntu, fedora, etc)

kill-enabled.sh

#!/bin/bash

# Check if the script is run as root
if [ "$(id -u)" -ne 0 ]; then
@sacsbrainz
sacsbrainz / install_python3_10.sh
Created October 17, 2024 09:21
install python3.10
#!/bin/bash
set -e
echo "Installing Python 3.10 and troubleshooting venv creation"
# Install Python 3.10
echo "Installing Python 3.10..."
sudo apt update
sudo apt install -y software-properties-common
@sacsbrainz
sacsbrainz / install.sh
Created March 20, 2025 07:10
install layeredge light node on ubuntu/termux
#!/bin/bash
# Clear lock file if it exists
rm -f /tmp/script_lock/running
echo "Starting installation..."
rm -rf /usr/local/go
cd ~/
apt update -y && apt install build-essential pkg-config libssl-dev wget git-all -y
# Check architecture and set appropriate Go download URL