Skip to content

Instantly share code, notes, and snippets.

View renevo's full-sized avatar
🌩️
Building a private cloud!

Tom Anderson renevo

🌩️
Building a private cloud!
View GitHub Profile
#!/bin/bash
set -e
GVERSION="1.7.5"
GFILE="go$GVERSION.linux-amd64.tar.gz"
GOPATH="$HOME/go"
GOROOT="/usr/local/go"
if [ -d $GOROOT ]; then
echo "Installation directories already exist $GOROOT"
@renevo
renevo / .bashrc
Created September 13, 2017 19:23
Bash for Windows Updates
# Custom Bash Settings
LS_COLORS='rs=0:di=1;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*
.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;
35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;3
5:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01
@renevo
renevo / coded.cmd
Created October 27, 2017 16:00
Start code with current GOPATH
@echo off
setlocal
set VSCODE_DEV=
set ELECTRON_RUN_AS_NODE=1
set GOBIN=c:\Go\Bin
set GOPATH=%CD%
start "" /B "C:\Program Files\Microsoft VS Code\Code.exe" "C:\Program Files\Microsoft VS Code\resources\app\out\cli.js" %CD%
endlocal
@renevo
renevo / nextcloud-stack.yml
Last active September 8, 2019 14:46
Nextcloud - Cloud-Init with Docker
version: '3'
volumes:
nextcloud:
services:
app:
image: nextcloud
ports:
- 80:80
@renevo
renevo / create_service.sh
Created November 29, 2017 09:24
Run minecraft in docker
#! /bin/bash
docker service create \
--name aoe \
--publish 25565:25565 \
--env EULA=true \
--env MEMORY=4G \
--mount type=bind,source=/home/minecraft/aoe/world,destination=/home/minecraft/world \
--mount type=bind,source=/home/minecraft/aoe/backups,destination=/home/minecraft/backups \
--mount type=bind,source=/home/minecraft/aoe/server.properties,destination=/home/minecraft/server.properties \
@renevo
renevo / go-wsl.md
Created September 5, 2018 18:56
Easily update/install Go in wsl

Updating/Installing Go in WSL

Remove

Removes older versions

sudo rm -rf /usr/local/go* && sudo rm -rf /usr/local/go
@renevo
renevo / fixfirewall.cmd
Created February 20, 2019 00:00
Open shell:startup and put this there to fix firewalls blocking DockerNAT
powershell "Set-NetConnectionProfile -InterfaceAlias \"vEthernet (DockerNAT)\" -NetworkCategory Private"
@renevo
renevo / README.md
Last active July 8, 2021 19:18
Burpcraft 8

Burpcraft 8

Burpcraft is invite only approved by veteran members of Burpcraft. See discord for more info.

Property Value
Version 1.17.1
Seed Burpcraft8 (-728125623)
PVP Enabled
Whitelist Enabled
@renevo
renevo / gvm
Created January 2, 2022 18:20
Simple Go Version Management on Linux
#! /bin/bash
GVM_COMMAND=$1
GO_INSTALL_PATH=/usr/local/go
# if this is different, then change them...
OS=linux
ARCH=amd64
@renevo
renevo / burpcraft.hcl.tpl
Last active February 3, 2023 21:14
Burpcraft Nomad Template
minecraft "Burpcraft" {
version = "1.19"
snapshot = false
path = "/opt/minecraft/burpcraft/9"
fabric_loader = "0.14.7"
fabric_installer = "0.11.0"
memory_min = 4
memory_max = 8