--- a/.bashrc Fri Apr 12 13:28:38 2019 +0800
+++ b/.bashrc Sat Jul 27 23:32:36 2019 +0800
# qrencode "$@" -o - | feh -
+ for ext in net profile sh; do
+ sed -e 's/template.\(net\|profile\|sh\)/'"$1"'.\1/g' \
+ -e 's/wine-template/wine-'"$1"'/g' \
+ ~/.dotfiles/fj/template.$ext > "$1".$ext
# Makes C-S visible to bash, so C-R and C-S search through history back and
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fj/template.net Sat Jul 27 23:32:36 2019 +0800
+#allow all loopback traffic
+-A INPUT -i lo -j ACCEPT
+# no incoming connections
+-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
+-A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT
+-A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT
+-A INPUT -p icmp --icmp-type echo-request -j ACCEPT
+-A INPUT -p icmp --icmp-type echo-request -j ACCEPT
+-A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
+-A OUTPUT -p udp --dport 53 -j ACCEPT
+-A INPUT -p udp --sport 53 -j ACCEPT
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fj/template.profile Sat Jul 27 23:32:36 2019 +0800
+#noblacklist ${HOME}/.cache/chromium
+# with >=llvm-4 mesa drivers need llvm stuff
+noblacklist /usr/lib/llvm*
+#mkdir ${HOME}/.cache/chromium
+#whitelist ${HOME}/.cache/chromium
+include /etc/firejail/disable-common.inc
+include /etc/firejail/disable-devel.inc
+include /etc/firejail/disable-interpreters.inc
+include /etc/firejail/disable-passwdmgr.inc
+include /etc/firejail/disable-programs.inc
+include /etc/firejail/disable-xdg.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fj/template.sh Sat Jul 27 23:32:36 2019 +0800
+WINEPREFIX=~/.wine-template/
+firejail --profile=template.profile -- winecfg-development