Skip to content

Instantly share code, notes, and snippets.

View CSpyridakis's full-sized avatar
🚩
Building stuff

Spyridakis Christos CSpyridakis

🚩
Building stuff
View GitHub Profile
#!/usr/bin/tmux
# This is a minimal implementation of this repo:
# https://github.com/CSpyridakis/tmux-monitor-theme.git
# The original implementation requires extra dependencies and an additional
# script in order to work. This however, does not require anything else
# Change Prefix key
# ---------------------------------------------------------------------------------------
# set -g prefix C-a
@CSpyridakis
CSpyridakis / ova-to-vm.sh
Last active November 24, 2024 23:36
[VBoxManage] OVA file to VM instructions. It also downloads an OVA file if not available available
#!/bin/bash
# Run the script using this command:
# bash <(curl -sL https://gist.githubusercontent.com/CSpyridakis/7b0532dfc01ec15e5f49deefb632f1c2/raw/8392ee8f71d56c82f2186836c1c5e5b1a8763068/ova-to-vm.sh)
# ==================================================================
# VM setup
# ==================================================================
echo "[LOG] Create a new VM from an OVA file."
read -p " - Enter the name of your VM [default: UbuntuServer]: " vm_name
  1. You need netplan support!

  2. Install also network manager sudo apt install network-manager

  3. Inside this file store the contents below sudo nano /etc/netplan/01-anyname.yaml

network:                              
 version: 2 
#!/bin/bash/
# Run like this:
# bash <(curl -sL https://gist.githubusercontent.com/CSpyridakis/601cfeff25f4801e44e31eb918baf81a/raw/c54d1cecd7aad3c07cb89ef5ffd71aec024a32eb/install-magic-mirror2.sh)
# Instructions based on this:
# https://docs.magicmirror.builders/getting-started/installation.html#usage
# 1. Download and install the latest Node.js
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
@CSpyridakis
CSpyridakis / install-docker.sh
Last active May 14, 2024 10:23
Install docker script
#!/bin/bash
# Run it like this:
# bash <(curl -sL https://gist.githubusercontent.com/CSpyridakis/0dd4e045dcddc68496c8403c098e0c19/raw/0fda1a194f559b05d6e26311c54090abe0cba4ca/install-docker.sh)
# Install docker
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
# ------------------------------------------------
# POST INSTALLATION ACTIONS (see: https://docs.docker.com/engine/install/linux-postinstall/)
@CSpyridakis
CSpyridakis / raspberry-pi-4-ubuntu-env-mocap-setup.sh
Last active September 5, 2021 02:34
TUC-ECE-Thesis-scripts
#!/bin/bash
# --------------------------------------------------------------------------------------
#
# This project is part of thesis submitted in fulfillment of the requirements
# for the diploma of Electrical and Computer Engineer
#
# Engineer: Spyridakis Christos
# University: Technical University of Crete (TUC) - GR
# Create Date: 14/8/2021
# Last Update Date: 5/9/2021