Skip to content

Instantly share code, notes, and snippets.

Patrick avoine

Block or report user

Report or block avoine

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
@avoine
avoine / gist:2912777
Created Jun 11, 2012
Bridge to send rsyslog logs to sentry (http://www.getsentry.com)
View gist:2912777
#!/usr/bin/env python
#
# Copyright 2012 Patrick Hetu <patrick.hetu@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@avoine
avoine / fabfile.py
Created Mar 1, 2013
Fabric plugin for juju
View fabfile.py
# Mostly from django-fab-deploy
import os
import sys
from datetime import datetime
from subprocess import Popen, PIPE
import yaml
from fabric.api import env, run, sudo, task
@avoine
avoine / piwik_export.py
Created Nov 3, 2011
Piwik cvs exporter
View piwik_export.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import csv
from optparse import OptionParser
import urllib
import httplib
import urlparse
View dot_spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration."
(setq-default
;; List of additional paths where to look for configuration layers.
;; Paths must have a trailing slash (ie. `~/.mycontribs/')
dotspacemacs-configuration-layer-path '()
View countries.json
{
"data": [
{"text": "Afghanistan", "id": "AF"},
{"text": "Åland Islands", "id": "AX"},
{"text": "Albania", "id": "AL"},
{"text": "Algeria", "id": "DZ"},
{"text": "American Samoa", "id": "AS"},
{"text": "AndorrA", "id": "AD"},
{"text": "Angola", "id": "AO"},
{"text": "Anguilla", "id": "AI"},
@avoine
avoine / reviewboard.txt
Last active Aug 29, 2015
requirements.txt for reviewboard
View reviewboard.txt
django-haystack
docutils
markdown>=2.3.1
mimeparse>=0.1.3
paramiko>=1.12
Pygments>=1.6
python-dateutil==1.5
python-memcached
pytz
recaptcha-client
You can’t perform that action at this time.