From 302b0adf3980fefb28f05f235804adec41ffc6bc Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Sun, 19 Aug 2018 19:33:43 +0200 Subject: [PATCH] top! --- iftoprc | 61 ++++++++++++++++++++++++++++++++++++++++++++ scripts/ycmd-install | 43 ------------------------------- 2 files changed, 61 insertions(+), 43 deletions(-) create mode 100644 iftoprc delete mode 100755 scripts/ycmd-install diff --git a/iftoprc b/iftoprc new file mode 100644 index 0000000..7867980 --- /dev/null +++ b/iftoprc @@ -0,0 +1,61 @@ +# interface: if +# Sets the network interface to if. + +dns-resolution: yes +# Controls reverse lookup of IP addresses. + +port-resolution: no +# Controls conversion of port numbers to service names. + +# filter-code: bpf +# Sets the filter code to bpf. + +show-bars: yes +# Controls display of bar graphs. + +promiscuous: no +# Puts the interface into promiscuous mode. + +port-display: on +# Controls display of port numbers. + +link-local: yes +# Determines displaying of link-local IPv6 addresses. + +hide-source: no +# Hides source host names. + +hide-destination: no +# Hides destination host names. + +use-bytes: yes +# Use bytes for bandwidth display, rather than bits. + +sort: 10s +# Sets which column is used to sort the display. + +line-display: two-line +# Controls the appearance of each item in the display. + +show-totals: yes +# Shows cumulative total for each item. + +log-scale: yes +# Use a logarithmic scale for bar graphs. + +# max-bandwidth: bw +# Fixes the maximum for the bar graph scale to bw, e.g. "10M". +# Note that the value has to always be in bits, regardless if the +# option to display in bytes has been chosen. + +# net-filter: net/mask +# Defines an IP network boundary for determining packet direc‐ +# tion. + +# net-filter6: net6/mask6 +# Defines an IPv6 network boundary for determining packet direc‐ +# tion. + +# screen-filter: regexp +# Sets a regular expression to filter screen output. + diff --git a/scripts/ycmd-install b/scripts/ycmd-install deleted file mode 100755 index 889adec..0000000 --- a/scripts/ycmd-install +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash - -# -# Compiles and install the YouCompleteMe server component -# - -# TODO NOT FINISHED NOR TESTED - -msg2() { - echo "$@" -} - -# TODO cd quelque part -dir="$(pwd)" - -archive=$(mktemp) -wget "https://aur.archlinux.org/cgit/aur.git/snapshot/vim-youcompleteme-git.tar.gz" -O "$archive" -snapshot=$(mktemp -d) -tar xzf "$archive" -C "$snapshot" -rm "$archive" - - -srcdir="$dir/src" -pkgdir="$dir/pkg" -mkdir -p "$srcdir" -mkdir -p "$pkgdir" - -source "$snapshot/vim-youcompleteme-git/PKGBUILD" -rm -rf "$snapshot" - -sudo pacman -S ${depends[@]} --asdeps -sudo pacman -S ${makedepends[@]} --asdeps - -cd "$srcdir" -for s in ${source[@]} -do - git clone "$(echo "$s" | sed 's/^git+//')" -done - -prepare -build -package -