Skip to content

Instantly share code, notes, and snippets.

@MetalArend
MetalArend / swarm.yml
Last active Sep 16, 2021
Run a GitLab Runner on your Swarm
View swarm.yml
version: '3.4'
secrets:
# Find your registration token at: "Your project" > "Settings" > "CI/CD" > "Runners settings" > "Specific Runners" (look for registration token)
# Register it as `GITLAB_REGISTRATION_TOKEN`: `docker secret create GITLAB_REGISTRATION_TOKEN YOUR_REGISTRATION_TOKEN`
GITLAB_REGISTRATION_TOKEN:
external: true
# Find your personal access token at: "Your user account" > "Settings" > "Access Tokens" > "Create personal access token" (for api)
# Register it as `GITLAB_PERSONAL_ACCESS_TOKEN`: `docker secret create GITLAB_PERSONAL_ACCESS_TOKEN <YOUR ACCESS TOKEN>`
View CommonMarkExtension
<?php
use League\CommonMark\Block\Element\AbstractBlock;
use League\CommonMark\Block\Element\Paragraph;
use League\CommonMark\Block\Renderer\BlockRendererInterface;
use League\CommonMark\CommonMarkConverter;
use League\CommonMark\ElementRendererInterface;
use League\CommonMark\Environment;
use Twig_Extension;
View keybase.md

I hereby claim:

  • I am metalarend on github.
  • I am metalarend (https://keybase.io/metalarend) on keybase.
  • I have a public key ASDn6eAWYfghyfZ_2YzbifXATMFR6mMQwpTzCf0VPgP-Wgo

To claim this, I am signing this object:

{
View preseed.sh
#!/usr/bin/env bash
# thanks to https://lists.debian.org/debian-user/2012/03/msg01962.html
exec >>/home/vagrant/bootstrap.out 2>&1
set -x
echo "UseDNS no" >> /etc/ssh/sshd_config
echo "127.0.0.1 ubuntu-16.04-server-amd64" >> /etc/hosts
mkdir -p /home/vagrant/.ssh