Skip to content

Instantly share code, notes, and snippets.

@Godlikehobbit
Godlikehobbit / copyBiKeys.sh
Last active April 14, 2020 21:10
Linux Arma 3 Workshop Mod Script
#!/bin/fish
DIR=${1:-"/home/steam/Steam/steamapps/workshop/content/107410/"}
cp "$DIR"**/*.bikey /home/steam/Steam/arma3/keys/;
chmod --reference=/home/steam/Steam/arma3/keys/a3.bikey /home/steam/Steam/arma3/keys/*.bikey;
@Godlikehobbit
Godlikehobbit / startarma.sh
Created April 14, 2020 21:05
Linux Arma 3 Start Scripts
#!/bin/bash
# cd into game directory
cd /home/steam/Steam/arma3/
# var init
mods="";
par="";
servermods="";
corecount=12;
@Godlikehobbit
Godlikehobbit / getWorkshop.sh
Created April 14, 2020 21:03
Linux Steamcmd Batch Workshop Downloader
#!/bin/bash
if [ $# -eq 0 ]; then
echo "No arguments supplied"
echo "Correct usage is:"
echo "./getWorkshop.sh workshopID1 workshopID2..."
exit 1
fi
echo "Input game ID"
read gameID
echo "Input full game install directory"
@Godlikehobbit
Godlikehobbit / JedWorkScript.py
Created April 14, 2020 21:02
Airport Runway Light Generation Script
#! /usr/bin/python3
# -*- coding: utf-8 -*-
"""
Small program to auto generate a csv of data based on given inputs:
(prefix, code, range, affix?)
Resulting in the output:
CurrentLight to PreviousLight
CurrentLight to NextLight
CurrentLight

Keybase proof

I hereby claim:

  • I am Godlikehobbit on github.
  • I am godlikehobbit (https://keybase.io/godlikehobbit) on keybase.
  • I have a public key whose fingerprint is D0BB 9139 1EE7 386D 73E6 C5BF 62CD 2C56 D7AF 55C9

To claim this, I am signing this object: