summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-12-28 18:11:52 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-12-28 18:11:52 +0100
commitad590c18ad260568e45701557fffb3a3e519dc22 (patch)
tree9cdb47622cbc42c3bb0784a37dc1d6c66f74a9f6
parent5eee1cc0fbc2ca352655092568f87ef9ef514d43 (diff)
downloadbin-ad590c18ad260568e45701557fffb3a3e519dc22.tar.gz
bin-ad590c18ad260568e45701557fffb3a3e519dc22.tar.xz
misc updates
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xrebuild-ycm8
-rwxr-xr-xwireshark-remote4
-rwxr-xr-xxo3
3 files changed, 5 insertions, 10 deletions
diff --git a/rebuild-ycm b/rebuild-ycm
deleted file mode 100755
index 42431d3..0000000
--- a/rebuild-ycm
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-TEMPDIR=$(mktemp -d)
-trap "rm -rf '${TMPDIR}'" EXIT TERM
-
-cd "$TEMPDIR"
-cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON . ~/.vim/bundle/YouCompleteMe/cpp
-make -j12 ycm_core
diff --git a/wireshark-remote b/wireshark-remote
index ea295f5..0d4793d 100755
--- a/wireshark-remote
+++ b/wireshark-remote
@@ -3,4 +3,6 @@
host="$1"
iface="$2"
-wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22)
+#wireshark -k -i <(ssh "$host" tshark -i "$iface" -w - not tcp port 22)
+#wireshark -k -i <(ssh "$host" dumpcap -q -i "$iface" -w /dev/stdout not tcp port 22)
+wireshark -k -i <(ssh "$host" /home/flo/capture.sh "$iface")
diff --git a/xo b/xo
index f1efcbf..797db48 100755
--- a/xo
+++ b/xo
@@ -21,7 +21,8 @@ image="sxiv -Z"
video=mplayer
default=${EDITOR:-vi} # Fallback -- should be a text editor
-handler[application/pdf]=evince
+handler[inode/directory]=dolphin
+handler[application/pdf]=zathura
handler[application/vnd.oasis.opendocument.text]=$doc
handler[application/xml]=firefox
handler[doc]=$doc