Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
cd /tmp
wget https://github.com/wpilibsuite/allwpilib/releases/download/v2020.3.2/WPILib_Linux-2020.3.2.tar.gz
mkdir -p ~/wpilib/2020
tar -xf WPILib_Linux-2020.3.2.tar.gz -C ~/wpilib/2020
python3 ~/wpilib/2020/tools/ToolsUpdater.py
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no user@host
ssh-copy-id -o PreferredAuthentications=password -o PubkeyAuthentication=no -i ~/.ssh/id_xxx.pub user@host
@flochre
flochre / brltty_deactivation.bash
Last active October 31, 2023 05:39
disable BRLTTY Capabilities
#!/usr/bin/env bash
systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
# It might be that brltty.service is also running (but is unlikely)
# systemctl stop brltty.service
sudo systemctl mask brltty.service
# This is the network config written by 'console-conf'
network:
wifis:
wlan0:
access-points:
<access point name>:
password: <password>
dhcp4: true
version: 2
#!/usr/bin/env bash
# default values
distro=${1:-'rolling'}
#Clear SECONDS for an elapsed Timer
SECONDS=0
#Start Script
echo -e "\e[31m Welcome to the ROS2 $distro install script \e[0m"
@flochre
flochre / custom_ubuntu
Last active February 16, 2025 16:50 — forked from amjed-ali-k/install_essential.sh
Install essential software in fresh installed Ubuntu
apt update
apt upgrade -y
apt-get install -y curl lsb-release
apt-get update
apt-get install -y software-properties-common
add-apt-repository -y universe
apt-get install -y curl gnupg2 lsb-release build-essential
#!/bin/bash -e
##########
##
## ROS2 humble install script
##
## V1 (4/07/2022) for Ubuntu 22.04
##
## By: Flo
##
#!/bin/bash -e
##########
##
## ROS2 galactic install script
##
## V1 (17/02/2021) for Ubuntu 20.04
##
## By: Flo
##