Skip to content

Instantly share code, notes, and snippets.

(defcommand slap ("(.*)" nick)
"Syntax: 'slap <nick>' - Slaps nick with something."
(when (if (= 0 (length nick))
(build-string "slaps " nick (random-elt '(" a man page"
" your mom"))))))
#!/bin/bash
# usage in config:
# bind L _ = spawn /home/jelle/.config/uzbl/scripts/loadbookmark %s
# SAVE FILE
[ -d "${XDG_DATA_HOME:-$HOME/.local/share}/uzbl" ] || exit 1
file=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/bookmarks
# VARS
KEYWORD1=$9
# Maintainer: Jelle van der Waa <jellevdwaa @ [the google mail .com]>
pkgname="carcassonne"
pkgver=0.9
pkgrel=1
pkgdesc="Open Carcassonne is a computer version of the board game Carcassonne by 999
games"
arch=('i686' 'x86_64')
url="http://www.eglebbk.dds.nl/program/cindex.html"
license=('GPL3')
@jelly
jelly / PKGBUILD.txt
Created June 26, 2012 17:42 — forked from anonymous/PKGBUILD.txt
PKGBUILD
# Maintainer: Isaac C. Aronson <i@pingas.org>
pkgname=elsa-node
pkgver=20120626
pkgrel=1
pkgdesc="Enterprise Search Log and Archive (Node)"
arch=(any)
url="https://enterprise-log-search-and-archive.googlecode.com/"
license=('GPLv2')
depends=('perl' 'curl' 'subversion' 'mysql' 'pcre' 'libpcap' 'openssl' 'libnet' 'perl-sys-meminfo' 'perl-sys-info' 'perl-time-hires' 'perl-cgi' 'perl-moose' 'perl-config-json' 'perl-string-crc32' 'perl-log-log4perl' 'perl-dbd-mysql' 'perl-date-manip' 'perl-moosex-traits' 'syslog-ng')
makedepends=('sed')
@jelly
jelly / termite.5
Created September 9, 2012 16:02
Termite man page
.\" Process this file with
.\" groff -man -Tascii termite.5
.\"
.TH termite(5)
.SH NAME
termite \- a simple VTE-based terminal.
.SH SYNOPSIS
.B termite [-v] [-r role] [--geometry geometry] [-e command] [--display xdisplay]
.I config-file
.B ]
PKG_NAME = urlwatch
PKG_VERS = 1.15
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://pypi.python.org/packages/source/u/$(PKG_NAME)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
DEPENDS =
HOMEPAGE = http://pypi.python.org/pypi/urlwatch
import MAPI
from MAPI.Util import *
from MAPI.Time import *
from MAPI.Tags import *
from MAPI.Struct import *
from plugintemplates import *
class addKeyword(IMapiDAgentPlugin):
def PostDelivery(self, session, addrbook, store, folder, message):
@jelly
jelly / webaccess2webapp.py
Created January 14, 2015 09:32
WebAccess To WebApp
#!/usr/bin/env python
# MAPI imports
from MAPI import *
from MAPI.Util import *
import pprint
import re
import json
import sys
@jelly
jelly / webaccess2webapp.php
Created February 4, 2015 21:12
Convert webaccess settings to webapp settings (not all settings are supported)
<?php
include('/usr/share/php/mapi/mapi.util.php');
include('/usr/share/php/mapi/mapidefs.php');
include('/usr/share/php/mapi/mapicode.php');
include('/usr/share/php/mapi/mapitags.php');
include('/usr/share/php/mapi/mapiguid.php');
if(count($argv) < 2) {
print "Usage: webaccess2webapp.php username <optional configuration file>\n";
@jelly
jelly / gist:225bcce30a33aefb3bd9
Created February 19, 2015 21:09
Simple Jenkins Top
import os, sys
import time
import curses
import ConfigParser
from jenkinsapi.jenkins import Jenkins
'''
config.ini
[jenkins]