Skip to content

Instantly share code, notes, and snippets.

View capitaneanu's full-sized avatar

capitaneanu capitaneanu

View GitHub Profile
@capitaneanu
capitaneanu / setup-vultr-alpine-nomad-cluster.sh
Created June 14, 2024 08:50 — forked from valeriansaliou/setup-vultr-alpine-nomad-cluster.sh
Setup Nomad cluster on Alpine Linux on Vultr (1st boot script)
#!/bin/bash
# 1. Setup base dependencies
apk update
apk del ufw
apk add htop busybox-extras
# 2. Disable Swap
@capitaneanu
capitaneanu / tmuxtest.sh
Created February 6, 2023 10:30 — forked from thameera/tmuxtest.sh
Sample bash script to draw a tmux layout
#!/bin/bash
SN="tmuxwork"
tmux has-session -t $SN &>/dev/null
if [ $? != 0 ]
then
tmux new -s $SN -n conf -d
tmux new-window -t $SN:2 -n misc
@capitaneanu
capitaneanu / tmux-cheatsheet.markdown
Created February 6, 2023 10:28 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@capitaneanu
capitaneanu / LinuxCNC-Ethercat.md
Created January 29, 2023 23:17 — forked from Bouni/LinuxCNC-Ethercat.md
Linux CNC + EtherCat + RPi 4 Setup

The folowing is a writup from Hakans forum post!

RPi Setup

  1. Download & Write image to SD card: www.linuxcnc.org/iso/linuxcnc-2.8.1-pi4.zip
  2. Configure Wifi via wpa_supplicant.conf
  3. Put SD card into RPi and verify that RT-PREEMT Kernel is running: uname -a
  4. Update everything and reboot: sudo apt update && sudo apt upgrade && sudo reboot
@capitaneanu
capitaneanu / ros2_foxy.sh
Created September 26, 2022 08:28 — forked from danidask/ros2_foxy.sh
Install ROS2 Foxy in ubuntu 20
#!/bin/bash
# wget -O - https://gist.githubusercontent.com/danidask/4ac330977444b6c0edcbd99a3991cb83/raw | bash
set -e
echo 'Choose version:'
echo '1 - Desktop (Recommended): ROS, RViz, demos, tutorials.'
echo '2 - Base (Bare Bones): No GUI tools.'
read VERSION