From 8ae3b3514e85e544ffa8283e05ea9efc333f3e34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sat, 10 Feb 2024 00:17:33 +0100 Subject: b --- etc/netdata/netdata.conf | 37 ++++++++++++++++++++++++++++++++ etc/portage/make.conf | 2 +- etc/portage/package.accept_keywords/conf | 5 +++++ root/.bash_aliases | 5 ++++- root/posodobi.sh | 2 +- 5 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 etc/netdata/netdata.conf diff --git a/etc/netdata/netdata.conf b/etc/netdata/netdata.conf new file mode 100644 index 0000000..1ed35b3 --- /dev/null +++ b/etc/netdata/netdata.conf @@ -0,0 +1,37 @@ +# netdata configuration +# +# You can get the latest version of this file, using: +# +# netdatacli dumpconfig > /etc/netdata/netdata.conf +# +# You can also download it using: +# +# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf +# or +# curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf +# +# You can uncomment and change any of the options below. +# The value shown in the commented settings, is the default value. +# + +[global] + run as user = netdata + + # default storage size - increase for longer data retention + page cache size = 32 + dbengine multihost disk space = 256 +[web] + # allow connections from = * + # allow connections by dns = * + # allow dashboard by dns = * + # allow badges by dns = * + # allow streaming by dns = * + # allow netdata.conf = * + # allow netdata.conf by dns = * + allow management from = no + allow management by dns = no + bind to = *=dashboard|registry|badges|management|streaming|netdata.conf +[registry] + enabled = yes + registry to announce = http://b.sijanec.eu:19999 + enable cookies SameSite and Secure = no diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 23eec98..66588cd 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -82,7 +82,7 @@ NGINX_MODULES_STREAM="$NGINX_MODULES_STREAM map realip return ssl_preread limit_ CALLIGRA_FEATURES="stage words sheets" PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1 # uradno gcc 11 ni podprt -ACCEPT_LICENSE="-* @BINARY-REDISTRIBUTABLE Kermit MPEG-4 android GIMPS Coherent-Graphics" +ACCEPT_LICENSE="-* @BINARY-REDISTRIBUTABLE Kermit MPEG-4 android GIMPS Coherent-Graphics BOSL-1.1 SSPL-1" # default je @FREE # L10N="sl" diff --git a/etc/portage/package.accept_keywords/conf b/etc/portage/package.accept_keywords/conf index e7ec863..884a004 100644 --- a/etc/portage/package.accept_keywords/conf +++ b/etc/portage/package.accept_keywords/conf @@ -73,3 +73,8 @@ www-apps/radarr ~* www-apps/sonarr ~* sci-mathematics/sage ~* app-text/cpdf ~* +dev-python/bencode_py ~* +dev-python/amodem ~* +net-analyzer/netdata ~* +dev-python/hidapi ~* +net-wireless/sigdigger ~* diff --git a/root/.bash_aliases b/root/.bash_aliases index bbe296d..a7a5a78 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -25,7 +25,9 @@ function c () { do grep ^- <<<$arg > /dev/null && fn=$arg done - gcc -g -Wall -Wextra -pedantic -Wformat -Wformat-security -o`rev <<<$arg | cut -d. -f2- | rev` $@ -lm + pedantic=-Wpedantic + [ x$NO_PEDANTIC = x ] && pedantic= + gcc -g -Wall -Wextra $pedantic -Wformat -Wformat-security -o`rev <<<$arg | cut -d. -f2- | rev` $@ -lm } alias pmbootstrap="pmbootstrap --as-root" HISTCONTORL=ignoreboth @@ -83,3 +85,4 @@ function j () { javac `sed 's/\.$/.java/' <<<$1` && java `sed -e s/.java// -e 's/\.$//' <<<$1` } alias gl="git log --graph" +export MPLBACKEND=gtk4agg diff --git a/root/posodobi.sh b/root/posodobi.sh index fd52007..a48a7d4 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -1,7 +1,7 @@ #!/bin/bash if grep "cron" <<<"$@" > /dev/null then - [ `ps aux | grep posod[o]bi | wc -l` -gt 1 ] && { echo posodobi.sh že teče. takole:; ps aux | grep posod[o]bi; exit 0; } + # [ `ps aux | grep posod[o]bi | wc -l` -gt 1 ] && { echo posodobi.sh že teče. takole:; ps aux | grep posod[o]bi; exit 0; } i=`sed s,^./,,g <<<$0` t=`mktemp -p "" $i.XXX.html` status=$? -- cgit v1.2.3