Skip to content

Instantly share code, notes, and snippets.

View vandorjw's full-sized avatar

Joost van Dorp vandorjw

View GitHub Profile
@vandorjw
vandorjw / bitbucket-pipelines.yml
Last active August 15, 2022 21:00 — forked from keepitsimple/bitbucket-pipelines.yml
Bitbucket pipeline to sync / copy code commits to GitHub. How to sync Bitbucket repo to GitHub
image: python:3.8
definitions:
services:
docker:
memory: 1024
steps:
- step: &Push-to-GitHub
name: Push code changes to GitHub
@vandorjw
vandorjw / loopback-latency.sh
Created July 30, 2021 20:25 — forked from keturn/loopback-latency.sh
use netem to add latency to loopback network traffic
#!/bin/bash
#
# https://wiki.linuxfoundation.org/networking/netem#Emulating_wide_area_network_delays
#
# Add latency to all outgoing traffic on $DEV on tcp/udp $PORT,
# in the amount of $DELAY.
#
# This is matching on both source port and destination port, which
# may hit you twice if you're accessing a local resource.
#
@vandorjw
vandorjw / jenikns_ci_on_ubuntu.md
Last active March 31, 2016 10:16 — forked from ostinelli/jenkins_ci_on_ubuntu.md
Setup Jenkins CI on Ubuntu.

Jenkins CI

Instructions on how to setup a secured Jenkins CI.

Install Jenkins

$ wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
$ sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list$ .d/jenkins.list'
$ sudo apt-get update
$ sudo apt-get install jenkins