Skip to content

Instantly share code, notes, and snippets.

View Docker out of docker (DOOD) Jenkins image with docker client and docker compose
from jenkins/jenkins:lts
USER root
RUN mkdir -p /usr/local/bin && chown jenkins /usr/local/bin
RUN touch /var/run/docker.sock && chmod 777 /var/run/docker.sock
USER jenkins
ARG DOCKER_CLIENT=docker-18.06.0-ce.tgz
simonjpartridge / cycle2-progress.js
Created Sep 1, 2015
Small script to add progress bar to cycle2 slideshows, supports multiple slideshows on one page
View cycle2-progress.js
//Author Simon Partridge
//Supports multiple slideshows on one page
//Simply add <div class="cycle-progress"></div> within the cycle-slideshow div and style as you wish
var slideshow = $(this);
var progress = $(this).children('.cycle-progress');
slideshow.on( 'cycle-initialized cycle-before', function( e, opts ) {
progress.stop(true).css( 'width', 0 );