This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun yh/orgtbl-to-rst-paddings (table) | |
(let* ((pruned-table (remove 'hline table)) | |
(size-table (mapcar (lambda (row) | |
(mapcar #'length row)) | |
pruned-table))) | |
(apply #'mapcar* #'max size-table))) | |
(defun yh/orgtbl-padded-hline (paddings &optional chr) | |
(let ((chr (or chr ?-))) | |
(concat (format "+%c" chr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/getmailcore/retrievers.py b/getmailcore/retrievers.py | |
index c0f6580..37e21dc 100755 | |
--- a/getmailcore/retrievers.py | |
+++ b/getmailcore/retrievers.py | |
@@ -402,8 +402,7 @@ class SimpleIMAPSSLRetriever(IMAPRetrieverBase, IMAPSSLinitMixIn): | |
ConfInstance(name='configparser', required=False), | |
ConfDirectory(name='getmaildir', required=False, default='~/.getmail/'), | |
- # socket.ssl() and socket timeouts are incompatible in Python 2.3 | |
- #ConfInt(name='timeout', required=False, default=180), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import IPython.ipapi | |
from getpass import getpass | |
from netrc import netrc | |
from optparse import OptionParser | |
from google.appengine.ext.remote_api import remote_api_stub | |
from google.appengine.tools.appcfg import AppCfgApp, StatusUpdate | |
from google.appengine.tools.bulkloader import RequestManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this allows to dump clear-text form of the exchanges between SSL client and SSL server | |
# client-side verification has to be disabled of course | |
# anyway, useful for debugging | |
# to run this you'll need | |
# - a unix system | |
# - socat | |
# - ncat (part of nmap 5.0 suite) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro noflet (bindings &rest body) | |
`(dflet ,(mapcar | |
(lambda (x) | |
(list (car x) (cadr x) | |
`(let ((this-fn ,(symbol-function (car x)))) | |
,@(cddr x)))) | |
bindings) | |
,@body)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─(yann@jarvis)─[env:default]───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~magit)─┐ | |
└─(19:09:%)─[master]── git merge --no-ff sergv/master ──(Sun,Apr28)─┘ | |
Merge made by the 'recursive' strategy. | |
magit-key-mode.el | 1 + | |
magit.el | 50 +++++++++++++++++++++++++++++++++++++++++++++----- | |
tests/magit-tests.el | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++----- | |
3 files changed, 97 insertions(+), 10 deletions(-) | |
┌─(yann@jarvis)─[env:default]───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~magit)─┐ | |
└─(19:10:%)─[master]── git co next ──(Sun,Apr28)─┘ | |
Switched to branch 'next' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localhost ansible_connection=local | |
coreos181 ansible_ssh_host=172.16.78.181 | |
coreos182 ansible_ssh_host=172.16.78.182 | |
coreos183 ansible_ssh_host=172.16.78.183 | |
[core] | |
coreos181 | |
coreos182 | |
coreos183 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
pushd $(dirname $0) > /dev/null; CURRABSPATH=$(readlink -nf "$(pwd)"); popd > /dev/null; # Get the directory in which the script resides | |
set -x | |
MUSLPKG="musl:musl.tgz:http://www.musl-libc.org/releases/musl-1.1.4.tar.gz" | |
LEVTPKG="libevent:libevent2.tgz:https://cloud.github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" | |
TMUXPKG="tmux:tmux.tgz:http://iweb.dl.sourceforge.net/project/tmux/tmux/tmux-1.9/tmux-1.9a.tar.gz" | |
NCRSPKG="ncurses:ncurses.tgz:http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz" | |
TEMPDIR="$CURRABSPATH/tmp" | |
TMPLIB="tempinstall/lib" | |
TMPINC="tempinstall/include" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically trigger ovfenv mounting. | |
ACTION!="add|change", GOTO="coreos_ovfenv_end" | |
# A normal config drive. Block device formatted with iso9660 or fat | |
SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="iso9660|vfat", ENV{ID_FS_LABEL}=="OVF ENV", TAG+="systemd", ENV{SYSTEMD_WANTS}+="media-ovfenv.mount" | |
LABEL="coreos_ovfenv_end" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MANIFEST_URL=${MANIFEST_URL:-https://github.com/coreos/manifest.git} | |
MANIFEST_REF=${MANIFEST_REF:-master} | |
MANIFEST_LAYOUT=${MANIFEST_LAYOUT:-minilayout} | |
MANIFEST_NAME=${MANIFEST_NAME:-release.xml} | |
BUILD_ID=${BUILD_ID:-`date +%s`} | |
CORE_PASSWD=${CORE_PASSWD:-plop} |