# Easily install vim plugins from a source control checkout (e.g. Github)
# alias vim-install=rake -f ~/.vim/rakefile-vim-install
# vim-install
# vim-install uninstall

require 'ftools'
require 'fileutils'

task :default => :install
desc "Install a vim plugin the lazy way"
task :install do
  vim_dir      = File.expand_path("~/.vim")
  plugin_dir   = Dir.pwd

  if not (FileTest.exists? File.join(plugin_dir,".git") or
          FileTest.exists? File.join(plugin_dir,".svn") or
          FileTest.exists? File.join(plugin_dir,".hg"))
      puts "#{plugin_dir} isn't a source controlled directory. Aborting."
      exit 1

  Dir['**/'].each do |d|
    FileUtils.mkdir_p File.join(vim_dir, d)

  Dir["**/*.{txt,snippet,snippets,vim,js,wsf}"].each do |f|
    ln File.join(plugin_dir, f), File.join(vim_dir,f)
import org.simpleframework.xml.stream.Style;

public class SnakeCaseStyle implements Style {
    public String getAttribute(String name) {
        return camelCaseToSnakeCase(name);

    public String getElement(String name) {
        return camelCaseToSnakeCase(name);
    private String camelCaseToSnakeCase(String s) {
        s = s.replaceAll("(.)([A-Z])", "$1_$2");
        return s.toLowerCase();
Konsultationspraesentation FRAPORT Juni 2013
Eine Konsultationspräsentation für die FLK am 11.09.2013. Aus ihr geht hervor, dass erst nach 2015  mit Investitionen zu rechnen ist.
Für das Terminal 3 sind keine Investitionen vor 2021 vorgesehen!
Weiter muss beachtet werden, dass, bei derzeit 58 Mio. Passagieren, eine Terminalkapazität (Terminal 1 und Terminal 2) von bis zu 74 Mio. Passagieren pro Jahr zur Verfügung steht.
Ein Terminal 3 ist betrieblich  nicht begründbar.
Bekannt ist dies alles seit Juni 2013.

# PROOF OF CONCEPT -- might destroy everything/something,
#  just to show the idea. -- apoc

class RegistryBackup < Plugin
  def import(m, params)
    filename = params[:filename]
    backup = File.open(filename) do |file|

    m.reply('import %d keys registry backup, %s' % [

    backup.each_key do |key|
      plugin_name = key[0...key.index('.')]
      key = key[(plugin_name.length + 1)..-1]

      debug 'restore [%s] %s..' % [plugin_name, key]
      @bot.plugins[plugin_name].registry[key] = backup[key]

    m.reply 'import complete.'

  def export(m, params)
    backup = {} # obviously not like that (in-chunks not everything in memory)

    filename = params[:filename] || File.join(@bot.path, Time.now.strftime('backup_%Y-%m-%d_%H%M%S.dat'))
@def $VM_DENGON_V4 =;

@def $PORTS_XMPP = (5222 5223 5269 5280 10022);

table filter {

    chain FORWARD {
        policy DROP;

        # connection tracking
        mod state state INVALID DROP;
        mod state state (ESTABLISHED RELATED) ACCEPT;

        # allow incoming and outgoing XMPP to dengon
        daddr $VM_DENGON_V4 proto tcp dport $PORTS_XMPP ACCEPT;
        saddr $VM_DENGON_V4 proto tcp dport $PORTS_XMPP ACCEPT;

Wed Sep  4 12:58:07 CEST 2013 | ERROR | ::geekosphere::tbar::loadWidgets: Failed loading widget i3_workspace:
 invalid command name "unix_sockets::connect"
    while executing
"_original_unknown unix_sockets::connect ~/.i3/i3-ipc.sock"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 [list _original_unknown {*}$args]"
    (procedure "::unknown" line 10)
    invoked from within
"unix_sockets::connect $sys(socketFile)"
    (procedure "connect" line 5)
    invoked from within
    (procedure "initIpc" line 2)
    invoked from within
"initIpc $w"
    (procedure "geekosphere::tbar::widget::i3::workspace::makeI3Workspace" line 21)
    invoked from within
"geekosphere::tbar::widget::i3::workspace::makeI3Workspace $w $args"
    (procedure "i3_workspace" line 2)
    invoked from within
"$::procName {*}[geekosphere::tbar::packageloader::argumentProcessor $::procName $::callArgs]"
    (procedure "::unknown" line 6)
    invoked from within
"i3_workspace $path  -fg $geekosphere::tbar::conf(color,text)  -bg $geekosphere::tbar::conf(color,background)  -font $geekosphere::tbar::conf(font,sysF..."
    (procedure "geekosphere::tbar::wrapper::i3_workspace::init" line 5)
    invoked from within
apoc@primal:~/apps/unixsocket_tbar> ls
aclocal.m4      config.status  doc       libunix_sockets0.1.so  Makefile      pkgIndex.tcl.in  teapot.txt.in
autom4te.cache  configure      examples  license.terms          Makefile.in   tclconfig        tests
config.log      configure.in   generic   main.o                 pkgIndex.tcl  teapot.txt       unixsocket_tbar_0.1.tar.gz
apoc@primal:~/apps/unixsocket_tbar> sudo make install
If you have documentation to create, place the commands to
build the docs in the 'doc:' target.  For example:
        xml2nroff sample.xml > sample.n
        xml2html sample.xml > sample.html
 /usr/bin/install -c libunix_sockets0.1.so /usr/lib64/unix_sockets0.1/libunix_sockets0.1.so
 : /usr/lib64/unix_sockets0.1/libunix_sockets0.1.so
 Install pkgIndex.tcl /usr/lib64/unix_sockets0.1
Installing header files in /usr/include
Installing documentation in /usr/share/man
Installing ./doc/unix_sockets.n
apoc@primal:~/apps/unixsocket_tbar> tclsh
% package require unix_sockets
can't find package unix_sockets
% apoc@primal:~/apps/unixsocket_tbar> ls /usr/lib64/tcl
tcl/          tclConfig.sh  
apoc@primal:~/apps/unixsocket_tbar> ls /usr/lib64/tclConfig.sh 
# vim: filetype=muttrc

# colors: white black green magenta blue cyan yellow red default colorx

color normal            color245        color233
color error             red             color233
color tilde             color245        color233
color message           yellow          color233
color markers           yellow          color233
color attachment        color221        color233
color search            color48         color240        # how to hilite search patterns in the pager
color status            color42         color237
color indicator         white           color88

# Index
color tree              color124        color233                # arrow in threads
color index             color184        color233        "~N~p"  # message to myself (new)
color index             color130        color233        "~p"    # message to myself
color index             color137        color233        "~Q"    # messages replied to
color index             color70         color233        "~P"    # message from myself
color index             color220        color233        ~N      # new
color index             color142        color233        ~O      # old
color index             color91         color233        ~T      # tagged
color index             color238        color233        "~D"    # deleted
color index             color196        color233        ~F      # flagged

color header            color74         color233        "^From"
color header            color124        color233        "^Date"
color header            color166        color233        "^(Subject)"
color header            color244        color233        "^(To|Reply-To|Cc|Bcc):"
Traceback (most recent call last):
  File "radiergummi.py", line 60, in <module>
  File "/usr/lib64/python2.7/site-packages/tweepy/binder.py", line 185, in _call
    return method.execute()
  File "/usr/lib64/python2.7/site-packages/tweepy/binder.py", line 168, in execute
    raise TweepError(error_msg, resp)
tweepy.error.TweepError: [{'message': 'Sorry, that page does not exist', 'code': 34}]