{
    "vim.insertModeKeyBindings": [
        {
            "before": ["j", "j"],
            "after": ["<Esc>"]
        }
    ],
    "vim.enableNeovim": true,
    "vim.neovimPath": "/usr/bin/nvim",
    "vim.useCtrlKeys": true,
    "vim.handleKeys": {
        "<C-w>": false
    },
    "vim.disableAnnoyingNeovimMessage": true
}
#!/bin/sh
PROFILEDIR=`mktemp -p /tmp -d tmp-firefox-profile.XXXXXX.d`
firefox -profile $PROFILEDIR -no-remote -new-instance
rm -rf $PROFILEDIR
/tmp/blub % python3 apoc_test.py
write of test_seq took 0:00:00.619668
1
read of test_seq took 0:00:00.366358 (read 10000 items)
write of test_uuid took 0:00:00.667233
1
read of test_uuid took 0:00:00.367643 (read 10000 items)

~/blub % python3 apoc_test.py
write of test_seq took 0:00:05.275174
1
read of test_seq took 0:00:04.894890 (read 10000 items)
write of test_uuid took 0:00:05.589031
1
read of test_uuid took 0:00:08.448453 (read 10000 items)
What you need to know
Pebble is no longer promoting, manufacturing, or selling any devices.
Pebble devices will continue to work as normal. No immediate changes to the Pebble user experience will happen at this time.
Pebble functionality or service quality may be reduced in the future.
# echo apt_pkgcache_age $(( $(date +%s) - $(stat -c %Y /var/cache/apt/pkgcache.bin) ))
apt_cache_age 29578

# apt-get -o Debug::NoLocking=yes -s dist-upgrade -y | awk '/^Inst/ { print $2 " " $5}'
tar Debian-Security:8/stable
borgbackup Debian
#!/bin/bash
# yt-follower - download videos of youtube channels you want to follow

set -euo pipefail

show_help() {
    cat << EOF
Usage: ${0##*/} [-h] [-u URLFILE] [-a ARCHIVEFILE] [-d DESTDIR]
    -h              display this help and exit
    -u URLFILE      file where channels/users/playlists to follow are listed
    -a ARCHIVEFILE  file where already downloaded videos are being tracked
    -d DESTDIR      root directory where videos will be stored
    -i URL          initialize channel/user/playlist
EOF
}

urlfile="urls.list"
archivefile="archive.list"
destdir="$(pwd)"
initurl=

while getopts "a:d:hi:u:" opt; do
    case "$opt" in
        h)
            show_help
            exit 0
            ;;
        u)
            urlfile="$OPTARG"
            ;;
#!/bin/sh

set -e

uninames \
    | tcgrep -v '^\t' \
    | dmenu -l 25 -i \
    | awk '{print $1}' \
    | xsel
def request_passes_test(test_func, login_url=None, redirect_field_name=REDIRECT_FIELD_NAME):
    """
    Decorator for views that checks that the request passes the given test,
    redirecting to the log-in page if necessary. The test should be a callable
    that takes the request object and returns True if the request passes.
    """

    def decorator(view_func):
        @wraps(view_func, assigned=available_attrs(view_func))
        def _wrapped_view(request, *args, **kwargs):
            if test_func(request):
                return view_func(request, *args, **kwargs)
            path = request.build_absolute_uri()
            # urlparse chokes on lazy objects in Python 3, force to str
            resolved_login_url = force_str(
                resolve_url(login_url or settings.LOGIN_URL))
            # If the login url is the same scheme and net location then just
            # use the path as the "next" url.
            login_scheme, login_netloc = urlparse(resolved_login_url)[:2]
            current_scheme, current_netloc = urlparse(path)[:2]
            if ((not login_scheme or login_scheme == current_scheme) and
                    (not login_netloc or login_netloc == current_netloc)):
                path = request.get_full_path()
            from django.contrib.auth.views import redirect_to_login
            return redirect_to_login(
                path, resolved_login_url, redirect_field_name)
        return _wrapped_view
    return decorator
#!/bin/sh
# ichrome - throw-away chrom(e|ium) profiles

#exec chromium --incognito --new-window "$@"

cfg=/tmp/chromeconfig.$$
mkdir ${cfg}
touch "${cfg}/First Run"
chromium --incognito --user-data-dir=${cfg} --new-window "$@"
rm -r ${cfg}
pki mail.asgard.lan certificate "/etc/ssl/mail.asgard.lan.crt"
pki mail.asgard.lan key "/etc/ssl/private/mail.asgard.lan.key"

listen on lo0 
listen on lo0 port 10026 tag CLAM_IN 
listen on lo0 port 10028 tag CLAM_OUT 
listen on lo0 port 10036 tag SPAM_IN 
listen on lo0 port 10029 tag DKIM_OUT 
listen on egress tls pki mail.asgard.lan auth-optional
listen on egress port submission tls-require pki mail.asgard.lan auth

table aliases db:/etc/mail/aliases.db
table vusers file:/etc/mail/vusers
table vdomains file:/etc/mail/vdomains

accept for local alias <aliases> deliver to maildir

accept tagged DKIM_OUT for any relay

accept tagged SPAM_IN for domain <vdomains> virtual <vusers> deliver to maildir

accept tagged CLAM_IN for any relay via smtp://127.0.0.1:10035
accept tagged CLAM_OUT for any relay via smtp://127.0.0.1:10030

accept from any for domain <vdomains> relay via smtp://127.0.0.1:10025
accept from local for any relay via smtp://127.0.0.1:10027