Skip to content

Instantly share code, notes, and snippets.

View docwhat's full-sized avatar

Christian Höltje docwhat

View GitHub Profile
@docwhat
docwhat / DockerPipelineWithCleanup.java
Last active July 22, 2019 14:07 — forked from abayer/DockerPipelineWithCleanup.java
Declarative Pipeline Docker-with-cleanup agent type
// This would be in src/main/java/whatever/DockerPipelineWithCleanup.java
package whatever;
import hudson.Extension;
import org.jenkinsci.Symbol;
import org.jenkinsci.plugins.pipeline.modeldefinition.agent.AbstractDockerAgent;
import org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent;
import org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgentDescriptor;
import org.kohsuke.stapler.DataBoundConstructor;
@docwhat
docwhat / nerd-firacode-font.css
Last active October 13, 2018 18:10 — forked from danielfullmer/nerd-font.css
blinksh font configuration file
@font-face {
font-family: 'Nerd FiraCode Retina';
src: local('Nerd FireCode Retina'), url('https://raw.githubusercontent.com/ryanoasis/nerd-fonts/2.0.0/patched-fonts/FiraCode/Retina/complete/Fura%20Code%20Retina%20Nerd%20Font%20Complete.otf') format('opentype');
}
* {
text-rendering: optimizeLegibility;
}
@docwhat
docwhat / .rubocop.yml
Last active September 15, 2015 14:41 — forked from kwk/remove-orphan-images.sh
A script to remove orphaned docker images in a docker registry. Ported to Ruby for easy of understanding.
Style/MultilineOperationIndentation:
EnforcedStyle: indented
Style/FileName:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/LineLength:
@docwhat
docwhat / rails31init.md
Created September 3, 2011 03:01 — forked from niquola/rails31init.md
Rails 3.1 with Rspec, Factory Girl, Haml, Database Cleaner, Spork, and Guard

Install Rails 3.1

gem install rails

generate new app, skipping Test::Unit file generation

rails new my_app -T

Set up Gemfile

Fork this and add your example