Skip to content

Instantly share code, notes, and snippets.

View zingmars's full-sized avatar
:octocat:

Ingmars Melkis zingmars

:octocat:
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zingmars on github.
  • I am zingmars (https://keybase.io/zingmars) on keybase.
  • I have a public key whose fingerprint is F39E ADDD A634 BE49 8936 E2D7 D133 BFD0 EC0E D0A3

To claim this, I am signing this object:

@zingmars
zingmars / tinc.MD
Last active March 14, 2024 12:02
tinc VPN setup instructions on Windows and Linux

Tinc setup instructions for Ubuntu and Windows. Based on 1 2.

Start here.

  1. sudo apt-get install -y build-essential libncurses5-dev libreadline6-dev libzlcore-dev zlib1g-dev liblzo2-dev libssl-dev
  2. Download and install tinc
    2.1. Download the latest tinc 1.1 source package ( current: wget https://www.tinc-vpn.org/packages/tinc-1.1pre16.tar.gz -O tinc.tar.gz)
    • tar -xf tinc.tar.gz --one-top-level --strip-components=1
    • cd tinc
    • ./configure
@zingmars
zingmars / gitlab-shell.sh
Created March 6, 2017 20:26
Gitlab runner passthrough script to docker
#!/bin/bash
docker exec -i docker_web_1 runuser -l git -c "SSH_CONNECTION='$SSH_CONNECTION' SSH_ORIGINAL_COMMAND='$SSH_ORIGINAL_COMMAND' $0 $1"
@zingmars
zingmars / gitlab-runner.sh
Created January 20, 2017 21:31
gitlab-runner's Gentoo init.rc script
# to add to startup simply run rc-update add gitlab-runner default
# this script assumes you installed the runner in /usr/bin.
#!/sbin/openrc-run
PIDFILE="/var/run/gitlab-ci-multi-runner.pid"
DAEMON="/usr/bin/gitlab-ci-multi-runner"
LOGFILE="/var/log/gitlab-ci-multi-runner.log"
USER="gitlab-runner"
GROUP="gitlab-runner"
### Keybase proof
I hereby claim:
* I am zingmars on github.
* I am zingmars (https://keybase.io/zingmars) on keybase.
* I have a public key whose fingerprint is 4B7D B9C3 0005 AB8B ECF9 F63F 8E9E 220E 0018 B89D
To claim this, I am signing this object: