Skip to content

Instantly share code, notes, and snippets.

@afloesch
afloesch / jenkins-in-docker.md
Last active October 8, 2024 03:36
Jenkins in Docker (docker-in-docker)

Jenkins in Docker (docker-in-docker)

Testing Jenkins flows on your local machine, or running Jenkins in production in a docker container can be a little tricky with a docker-in-docker scenario. You could install Jenkins to avoid any docker-in-docker issues, but then you have Jenkins on your machine, and the local environment is likely going to be a fairly different from the actual production build servers, which can lead to annoying and time-consuming issues to debug.

Build environment differences are precisely why there is a strong argument to be made to run build processes strictly in docker containers. If we follow the philosophy that every build step or action should run in a docker container, even the Jenkins server itself, then we get massive benefits from things like, total control over the build environment, easily modify the build environment without the possibility of adversely effecting other jobs, explicit and strongly controlled tool versions,

@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active April 1, 2026 16:27
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@hiloyt
hiloyt / mysql-to-postgresql.md
Last active June 30, 2020 08:28
Sentry / Django app migrate from MySQL to PostgreSQL

What do you need? 🧰

I recommend pgloader build with ccl. This way can avoid problems with memory (dimitri/pgloader#327).

  • (optional) Docker

Docker is the simplest way to build pgloader with ccl on all systems from ready-to-use Dockerfile.

@KrustyHack
KrustyHack / pve-autosnap
Created November 19, 2018 12:52
PVE Autosnap
wget https://github.com/EnterpriseVE/eve4pve-autosnap/releases/download/0.1.8/eve4pve-autosnap_0.1.8_all.deb && \
dpkg -i eve4pve-autosnap_0.1.8_all.deb && \
eve4pve-autosnap create --vmid=all --label=weekly --keep=3
@extremecoders-re
extremecoders-re / openwrt-qemu.md
Last active November 14, 2025 20:59
Running OpenWRT ARM under QEMU

Environment

The steps shown below are done on a Ubuntu VM using Qemu 3.0

$ qemu-system-arm -version
QEMU emulator version 3.0.0
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

To quit Qemu at any time press Ctrl+a x, i.e. Ctrl+a and then x

@janko
janko / Gemfile
Created May 31, 2018 19:57
Memory profiling of http.rb and other popular Ruby HTTP client libraries
source "https://rubygems.org"
gem "roda"
gem "http", "~> 3.3"
gem "rest-client"
gem "httparty"
@wd
wd / config.json
Last active April 17, 2023 08:38
基于 3.8.6 以上 ss 版本的方案
{
"log": {
"loglevel": "none"
},
"inbound": {
"port": 23456,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": true
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active April 1, 2026 19:33
crack activate Office on mac with license file
@rwenz3l
rwenz3l / proxmox_lxc_nfs_server.md
Last active December 22, 2025 03:11
Install a NFS Server inside a LXC Container on Proxmox 5.1

Installing NFS inside LXC Container on Proxmox 5.1

Host Setup:

Create LXC Container as usual, but do not start it yet.

# Install NFS-Kernel on Host
apt install nfs-kernel-server