Skip to content

Instantly share code, notes, and snippets.

@hydra1983
hydra1983 / how-to-fix-jenkins-openldap-login-failure.md
Created September 8, 2017 08:40
How to fix login failure caused by corruption of openldap in jenkins
  1. Update config.xml, change <useSecurity>true</useSecurity> to <useSecurity>false</useSecurity>
  2. Restart jenkins
  3. Re-configure openldap
@hydra1983
hydra1983 / ssh-reverse-tunnel
Last active September 13, 2017 18:32
script to start a ssh reverse tunnel using autossh on ubuntu
#! /bin/sh
#
# Author: Edison <[email protected]>
#
# This is a modified version for from Andreas Olsson <[email protected]>
# For each tunnel; make a uniquely named copy of this template.
## SETTINGS
#
# remote ssh user
@hydra1983
hydra1983 / README.md
Created October 17, 2017 14:15 — forked from lavaxun/README.md
Rancher on docker-for-mac with xhyve

Install Docker for Mac (http://beta.docker.com)

Install docker-machine-driver-xhyve (https://github.com/zchee/docker-machine-driver-xhyve)

brew install docker-machine-driver-xhyve
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Deploy the latest release

@hydra1983
hydra1983 / machine.js
Last active November 27, 2021 17:18
Generated by XState Viz: https://xstate.js.org/viz
const editPageMachine = Machine({
id: 'editPage',
initial: 'preparing',
states: {
preparing: {
on: {
CREAT_ENTITY: 'creating',
UPDATE_ENTITY: 'updating'
}
},
@hydra1983
hydra1983 / Docker Desktop v 4.0.0 thru 4.22.1 direct download links
Created December 22, 2024 11:06 — forked from kupietools/Docker Desktop v 4.0.0 thru 4.22.1 direct download links
List of Direct Download links for Docker Desktop from version 4.0.0 released 2021-08-31 thru 4.22.1 released 2023-08-24, as archived on archive.org