Skip to content

Instantly share code, notes, and snippets.

View jandubois's full-sized avatar

Jan Dubois jandubois

View GitHub Profile
@jandubois
jandubois / Dockerfile
Created October 9, 2018 18:24
splatform/bosh-cli
FROM ubuntu:16.04
# Don't run mesg unless we have a tty; otherwise we'll get a warning from `docker run ... bash -l -c ...`
RUN perl -i -pe 's/mesg n/tty -s && mesg n/' /root/.profile
# Install packages for building ruby
RUN apt-get update
RUN apt-get install -y --force-yes \
build-essential curl git sudo zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev unzip vim
@jandubois
jandubois / asciinema.pl
Created April 18, 2017 17:07
Post-process asciinema recordings to reduce replay time
#!/usr/bin/env perl
use strict;
use warnings;
# Shorten video by limiting the max wait time
my $max_pause = 1;
# To make interactive commands more noticable, insert a longer delay
# after lines with a command prompt.
my $prompt = qr/jan\@zuze/;
$ cat .buildpacks
nodejs_buildpack
php_buildpack
$ cf push multi
Starting app multi in org hpe / space myspace as admin...
[...]
Staging...
=====> Locating Admin Buildpack: nodejs_buildpack
=====> Detected Framework: node.js 1.5.8