Skip to content

Instantly share code, notes, and snippets.

@runiq
runiq / runiqs .offlineimaprc
Created January 6, 2012 11:48
runiq's offlineimaprc
##################################################
# General definitions
##################################################
[general]
#########
accounts = gm
metadata = ~/.cache/offlineimap
@runiq
runiq / gist:1574317
Created January 7, 2012 09:59
Output of "offlineimap -u basic --info"
OfflineIMAP 6.5.0
Licensed under the GNU GPL v2+ (v2 or any later version)
Remote repository 'googlemail-remote': type 'Gmail'
Host: imap.gmail.com Port: 993 SSL: 1
Establishing connection to imap.gmail.com:993
Server supports ID extension.
Server welcome string: * OK Gimap ready for requests from 87.172.41.183 su16if3524894bkb.47
Server capabilities: ('IMAP4REV1', 'UNSELECT', 'IDLE', 'NAMESPACE', 'QUOTA', 'ID', 'XLIST', 'CHILDREN', 'X-GM-EXT-1', 'UIDPLUS', 'COMPRESS=DEFLATE')
folderfilter= lambda foldername: foldername not in ['[Google Mail]/Alle Nachrichten']
@runiq
runiq / gist:1574333
Created January 7, 2012 10:09
runiq's mail hierarchy
# Actual files omitted, only directories shown
$ ls -1R ~/.mail/gm
Entw&APw-rfe:
cur/
new/
tmp/
Gesendet:
cur/
new/
@runiq
runiq / PKGBUILD
Created January 25, 2012 20:23
PKGBUILD and patch for python3-notify
# Maintainer: Ryan Baumann <titegtnodI> <[email protected]>
# Contributor: Patrice Peterson <runiq at archlinux dot us>
pkgname=python3-notify
_pkgname=py-notify
pkgver=0.3.1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Py-notify is a Python package providing tools for implementing Observer programming pattern."
depends=('python3')
@runiq
runiq / dotfiles-filter.lst
Created January 29, 2012 19:18
rsync error with --cvs-exclude
# rsync list for dotfiles backup
# These rules all work as they should
- /.images/*
- /.adobe/
- /.mozilla/firefox/*/Cache*/*
- /.thumbnails/
- /.gvfs
- /.log/backup/*
@runiq
runiq / dmenu-4.5-height.diff
Created February 6, 2012 22:28
dmenu 4.5 height patch (use -h <pixels>) -- normal and Xft versions
diff -aur a/dmenu.1 b/dmenu.1
--- a/dmenu.1 2012-01-08 13:18:43.000000000 +0100
+++ b/dmenu.1 2012-02-07 12:14:30.420865167 +0100
@@ -8,6 +8,8 @@
.RB [ \-i ]
.RB [ \-l
.IR lines ]
+.RB [ \-h
+.IR height ]
.RB [ \-p
@runiq
runiq / PKGBUILD
Created May 30, 2012 20:33
mutt-kz-git PKGBUILD with fix-notmuch_database_open fix applied
# Contributor: boyska <[email protected]>
pkgname=mutt-kz-git
pkgver=20120228
pkgrel=1
pkgdesc="A small but very powerful text-based mail client + integration with notmuch"
url="https://github.com/karelzak/mutt-kz"
arch=(i686 x86_64)
license=('GPL')
depends=('openssl>=0.9.8e' 'gdbm' 'mime-types' 'zlib' 'libsasl' 'gpgme' 'ncurses' 'notmuch')
@runiq
runiq / newick_tree.py
Created September 21, 2012 13:56
Where my gerunds at
import sys
import Queue
class Node(object):
def __init__(self, id, parent=None, dist=0, maxchildren=2):
self.id = id
self.num = 0
self.dist = dist
self.parent = parent
\definesubmol{\gsh}{H_3\chemabove{N}{\scriptstyle\oplus}-[:-30](=[6]COO^{-})-[:30]-[:-30]-[:30](=[2]O)
-[:-30]\chembelow{N}{H}-[:30] (-[2]-[:30]SH)-[:-30](=[6]O)
-[:30]\chemabove{N}{H}-[:-30]-[:30]COO^{\scriptstyle\ominus}}
@runiq
runiq / gist:5332444
Created April 7, 2013 20:47
CUE sheet for Shiropoint's Pinkie Pie Mix 2
PERFORMER ""
TITLE ""
FILE ".mp3" MP3
TRACK 01 AUDIO
TITLE "01. Ashleigh Ball & Andrea Libman - Pinkie Wants A Flugelhorn"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "02. London Elektricity - All Hell Is Breaking Loose"
INDEX 01 00:10:00
TRACK 03 AUDIO