summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-02-10 00:17:33 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2024-02-10 00:17:33 +0100
commit8ae3b3514e85e544ffa8283e05ea9efc333f3e34 (patch)
treeed5f8fbf38ef3258789d939e6b859a3e86717d71
parentoops.wrong.make.prev.commit (diff)
downloadn-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.gz
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.bz2
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.lz
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.xz
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.zst
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.zip
-rw-r--r--etc/netdata/netdata.conf37
-rw-r--r--etc/portage/make.conf2
-rw-r--r--etc/portage/package.accept_keywords/conf5
-rw-r--r--root/.bash_aliases5
-rwxr-xr-xroot/posodobi.sh2
5 files changed, 48 insertions, 3 deletions
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=$?