Skip to content

Instantly share code, notes, and snippets.

View jrottenberg's full-sized avatar
🌊
_o/

Julien Rottenberg jrottenberg

🌊
_o/
View GitHub Profile
# ffmpeg - http://ffmpeg.org/download.html
#
# https://hub.docker.com/r/jrottenberg/ffmpeg/
#
#
FROM alpine:3.5 AS base
RUN apk add --no-cache --update libgcc libstdc++ ca-certificates libcrypto1.0 libssl1.0 libgomp expat

Keybase proof

I hereby claim:

  • I am jrottenberg on github.
  • I am jrottenberg (https://keybase.io/jrottenberg) on keybase.
  • I have a public key ASB98p_MEEweUdiACT1rIJxbnSYZ3M8w45dwVc05ktsgZAo

To claim this, I am signing this object:

@jrottenberg
jrottenberg / gist:5872127
Created June 26, 2013 21:56
Parse fqdn to generate facts
# ([a-z]{3})-([a-z]*)([0-9]{3}|vip)\.acme\.([a-z]{3})
if Facter.value(:fqdn) =~ /^([a-z]{3})-([a-z]*)([0-9]{3}|vip)\.acme\.([a-z]{3})$/
Facter.add('acme_env') do
setcode {$1}
end
Facter.add('acme_type') do
setcode {$2}
end
@jrottenberg
jrottenberg / gist:5296025
Created April 2, 2013 20:47
puppet stats to gmond, embedded version of gmetric lib
#!/usr/bin/env python
# This file is managed by puppet
import yaml
from xdrlib import Packer, Unpacker
import socket
import optparse
import logging
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modfied: static/prettify.css
# modified: static/prettify.js
# modified: views/colled.tpl
# modified: views/header_template.tpl
# modified: views/index.tpl
fdg
er
re
et
er
rt
et
public FTW