Skip to content

Instantly share code, notes, and snippets.

View multani's full-sized avatar

Jonathan Ballet multani

View GitHub Profile
This is a test case to demonstrate the problem in https://github.com/wichert/collective.recipe.modwsgi/pull/8
DPKG_TIMESTAMP %{TIMESTAMP_ISO8601:timestamp}
DPKG_PACKAGE [-+~\.0-9a-zA-Z]+
DPKG_ARCH [a-z0-9]+
DPKG_PKGARCH %{DPKG_PACKAGE:package}(:%{DPKG_ARCH:arch})?
DPKG_VERSION [-+~<>\.0-9a-zA-Z]+
DPKG_ACTION0 (startup archives|startup packages|conffile)
DPKG_ACTION1 (configure|remove|upgrade|purge|status (config-files|installed|not-installed|triggers-awaited|triggers-pending|unpacked|half-installed|half-configured))
DPKG_ACTION2 (trigproc|upgrade)
DPKG_0_VERSIONS %{DPKG_ACTION0:action}
DPKG_1_VERSIONS (%{DPKG_ACTION1:action} %{DPKG_PKGARCH} %{DPKG_VERSION:version})$
postgresql-database:
nova:
user: novaauth
password: novaauth
name: novaauth
include:
- softwares.postgresql.server
@multani
multani / buildout.cfg
Last active January 2, 2016 19:09
zc.recipe.egg:custom bug
[buildout]
parts = foo
develop = .
[foo]
recipe = zc.recipe.egg:custom
egg = foo
environment = env
[env]
@multani
multani / test-fill-store-from-mpd.py
Created January 20, 2014 01:48
Sonata Speed To be run from the Sonata directory at https://github.com/multani/sonata
import gettext
gettext.install('sonata')
import cProfile
import time
from gi.repository import Gtk
import mpd
from sonata import mpdhelper
FROM debian:jessie
RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y wget
RUN wget http://bootstrap.saltstack.org/ -O /bootstrap-salt.sh
RUN chmod +x /bootstrap-salt.sh
RUN /bootstrap-salt.sh -M -N -X stable 2015.8.9
ADD master.conf /etc/salt/master
Sample configuration for https://github.com/saltstack/salt/issues/33355
import os.path
import sys
from gi.repository import Gtk, GdkPixbuf
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
path = sys.argv[1]
@multani
multani / keybase.md
Created February 10, 2017 14:27
Keybase.io Github verification

Keybase proof

I hereby claim:

  • I am multani on github.
  • I am jballet (https://keybase.io/jballet) on keybase.
  • I have a public key ASCWUYB_Gvt50wYAeEyBlAebvL7dwmvn4eB_ayBhszgEwgo

To claim this, I am signing this object: