--- /dev/null
+#!/bin/sh
+
+sysctl -w net.ipv4.tcp_timestamps=0
+sysctl -w net.ipv4.tcp_sack=1
+sysctl -w net.core.netdev_max_backlog=250000
+sysctl -w net.core.rmem_max=4194304
+sysctl -w net.core.wmem_max=4194304
+sysctl -w net.core.rmem_default=4194304
+sysctl -w net.core.wmem_default=4194304
+sysctl -w net.core.optmem_max=4194304
+sysctl -w net.ipv4.tcp_rmem="4096 87380 4194304"
+sysctl -w net.ipv4.tcp_wmem="4096 65536 4194304"
+sysctl -w net.ipv4.tcp_low_latency=1
+sysctl -w net.ipv4.tcp_adv_win_scale=1
--- /dev/null
+#!/bin/bash
+
+input_fn='input.mov'
+
+image_fn='output.png'
+
+frame_count=`ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 $input_fn`
+
+ffmpeg -i $input_fn -vf "select='eq(n,$frame_count-1)'" -vframes 1 "$image_fn" 2> /dev/null
--- /dev/null
+#!/usr/bin/env bash
+# taken from https://unix.stackexchange.com/a/170546
+# export passwords to external file
+
+shopt -s nullglob globstar
+prefix=${PASSWORD_STORE_DIR:-$HOME/.password-store}
+
+for file in "$prefix"/**/*.gpg; do
+ file="${file/$prefix//}"
+ printf "%s\n" "Name: ${file%.*}" >> exported_passes
+ pass "${file%.*}" >> exported_passes || "Failed to export $file"
+ printf "\n\n" >> exported_passes
+done