Skip to content

Instantly share code, notes, and snippets.

@nagpach
nagpach / bw_queue.py
Created November 19, 2017 21:38 — forked from 636express/bw_queue.py
Implements a queue with a Token Bucket algorithm that can be used to limit S3 bandwidth.
#!/usr/bin/python3
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
@nagpach
nagpach / docker-ci-tool-stack.sh
Created October 22, 2015 23:50 — forked from marcelbirkner/docker-ci-tool-stack.sh
Getting started with docker CI tool stack
git clone git@github.com:marcelbirkner/docker-ci-tool-stack.git
cd docker-ci-tool-stack
docker-compose up
@nagpach
nagpach / ciSeedJob.groovy
Created October 22, 2015 23:49 — forked from marcelbirkner/ciSeedJob.groovy
Jenkins Job DSL Seed Job for Continuous Integration Jobs
import groovy.sql.Sql
import java.util.Date
import java.text.SimpleDateFormat
/*
* THIS IS AN EXAMPLE SNIPPET. FOR MORE DETAILS SEE THE FOLLOWING BLOG ARTICLE:
* https://blog.codecentric.de/en/?p=30502
*
* This Jenkins Job DSL Groovy Script creates Continuous Integration (CI) Jobs
* for all Maven & Ant projects that exist on a GitLab Server.