Skip to content

Instantly share code, notes, and snippets.

Alexander Zeitler AlexZeitler

Block or report user

Report or block AlexZeitler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Oh my zsh with autosuggestions &

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by

Keybase proof

I hereby claim:

  • I am alexzeitler on github.
  • I am alexzeitler ( on keybase.
  • I have a public key ASB0qww7uSPAMkQCwMlF3wDCa-RQCliGbSSl4H7W1nx9yAo

To claim this, I am signing this object:

AlexZeitler / siren_api.yml
Created Sep 20, 2019 — forked from kevinswiber/siren_api.yml
Siren definitions for Open API Specification
View siren_api.yml
swagger: '2.0'
title: Siren API
description: Template for a Siren API
version: '0.1.0'
- http
- https
basePath: /
View nginx_to_iis.conf
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/;
events {
worker_connections 1024;
View es6-abstract-class-example.js
'use strict';
class Abstract {
// A static abstract method.
static foo() {
if (this === Abstract) {
// Error Type 2. Abstract methods can not be called directly.
throw new TypeError("Can not call static abstract method foo.");
} else if ( === {
// Error Type 3. The child has not implemented this method.
throw new TypeError("Please implement static abstract method foo.");
View Dockerfile
FROM fluent/fluentd:v0.12.34
USER root
COPY ./etc/* /fluentd/etc/
COPY /fluentd/
RUN apk add --update --virtual .build-deps \
sudo build-base ruby-dev \
AlexZeitler /
Created Jul 12, 2018 — forked from rochacbruno/
Docker-compose wait-to-start

When unsing docker compose you can have a problem with the order of dependent linked containers

The solution is to start a script which tries to access a service and waits until it gets ready before loading your program

AlexZeitler / pipeline.gdsl
Created Jul 12, 2018 — forked from ggarcia24/pipeline.gdsl
GDSL supporting pipeline declarative
View pipeline.gdsl
//The global script scope
def ctx = context(scope: scriptScope())
//What things can be on the script scope
contributor(ctx) {
method(name: 'pipeline', type: 'Object', params: [body: Closure])
property(name: 'params', type: 'org.jenkinsci.plugins.workflow.cps.ParamsVariable')
property(name: 'env', type: 'org.jenkinsci.plugins.workflow.cps.EnvActionImpl.Binder')
property(name: 'currentBuild', type: 'org.jenkinsci.plugins.workflow.cps.RunWrapperBinder')
property(name: 'scm', type: 'org.jenkinsci.plugins.workflow.multibranch.SCMVar')
AlexZeitler / .gitlab-ci.yml
Created Jul 11, 2018 — forked from thornbill/.gitlab-ci.yml
Example Node GitLab CI Yamlfile
View .gitlab-ci.yml
# Official framework image. Look for the different tagged releases at:
image: node:6
- npm install
# This folder is cached between builds
AlexZeitler / requirements.txt
Created Jul 2, 2018 — forked from jarpy/requirements.txt
Serverless Elasticsearch Curator for AWS Lambda
View requirements.txt
You can’t perform that action at this time.