Skip to content

Instantly share code, notes, and snippets.

View ghostzero's full-sized avatar
🚀
Ship It!

René Preuß ghostzero

🚀
Ship It!
View GitHub Profile
#!/bin/bash
git clone https://git.universe-factory.net/fastd
mkdir fastd-build
cd fastd-build
cmake ../fastd -DCMAKE_BUILD_TYPE=RELEASE
make
make install
cd ../
#!/bin/bash
BATMANVERSION=2020.2
wget https://downloads.open-mesh.org/batman/releases/batman-adv-$BATMANVERSION/batman-adv-$BATMANVERSION.tar.gz
tar -xzf batman-adv-$BATMANVERSION.tar.gz
cd batman-adv-$BATMANVERSION/
make
make install
cd ..
wget https://downloads.open-mesh.org/batman/releases/batman-adv-$BATMANVERSION/batctl-$BATMANVERSION.tar.gz
tar -xzf batctl-$BATMANVERSION.tar.gz
@ghostzero
ghostzero / Dockerfile
Created May 5, 2021 18:25 — forked from eschwartz/Dockerfile
npm install from private repo, in docker build
# Add these lines to your dockerfile, before `npm install`
# Copy the bitbucket private key to your docker image
COPY ./bitbucket_ssh_key /opt/my-app
# Copy the ssh script to your docker image
COPY ./ssh-bitbucket.sh /opt/my-app
# Tell git to use your `ssh-bitbucket.sh` script
ENV GIT_SSH="/opt/map-project-tile-server/ssh-bitbucket.sh"
@ghostzero
ghostzero / softether.sh
Created March 14, 2018 10:52 — forked from bouroo/softether.sh
Install softether vpn server on ubuntu 16.04+
#!/usr/local/env bash
# Update system
apt-get update && apt-get -y upgrade
# Get build tools
apt-get -y install build-essential wget curl
# Define softether version
RTM=$(curl http://www.softether-download.com/files/softether/ | grep -o 'v[^"]*e' | grep rtm | tail -1)
IFS='-' read -r -a RTMS <<< "${RTM}"