aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-11-04 05:03:18 +0000
committerterminaldweller <thabogre@gmail.com>2022-11-04 05:03:18 +0000
commit24bd72d7b2bfacc3caa45509b25e0ed9990b901a (patch)
tree3226f52f1aa9fdc16e68752a77ecdf8231086dfe
parentcgit update (diff)
downloadscripts-24bd72d7b2bfacc3caa45509b25e0ed9990b901a.tar.gz
scripts-24bd72d7b2bfacc3caa45509b25e0ed9990b901a.zip
update
-rw-r--r--.newsboat/urls1
-rw-r--r--.tmux.conf2
-rw-r--r--.tridactylrc6
-rw-r--r--.vimrc1
-rw-r--r--.zshrc31
-rw-r--r--devi.zsh-theme5
-rw-r--r--irssi/config172
-rw-r--r--kubernetes/debug/debug-deployment.yaml6
-rw-r--r--postit1
-rw-r--r--stylus/manganato_sepia.css8
-rw-r--r--stylus/realpython_wide.css15
-rw-r--r--terminaldweller.com/cgit/cgit.conf9
-rw-r--r--terminaldweller.com/cgit/cgit/Dockerfile7
-rw-r--r--terminaldweller.com/cgit/cgit/cgitrc143
-rw-r--r--terminaldweller.com/cgit/docker-compose.yaml12
-rw-r--r--terminaldweller.com/haproxy/haproxy.cfg17
-rwxr-xr-xtmux/date.sh37
-rwxr-xr-xtmux/vcs_info.sh15
-rw-r--r--znc/znc.conf175
19 files changed, 534 insertions, 129 deletions
diff --git a/.newsboat/urls b/.newsboat/urls
index d005578..47ffc11 100644
--- a/.newsboat/urls
+++ b/.newsboat/urls
@@ -16,6 +16,7 @@ http://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=B
http://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=HiveBlockchain&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~Hive"_("Twitter")
http://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=PrivexInc&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~Privex"_("Twitter")
http://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=binance&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~binance"_("Twitter")
+http://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=igor_chubin&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~igor_chubin"_("Twitter")
# (Youtube)
# Horror
diff --git a/.tmux.conf b/.tmux.conf
index b4929b2..8b5ea70 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -16,7 +16,7 @@ set -g @continuum-save-interval '15'
# set -g @plugin 'tmux-plugins/tmux-sidebar'
# set -g @resurrect-processes `ranger ssh w3mlastsession k9s top cointop newsboat irssi neomutt`
set -g @fzf-url-history-limit '2000'
-set -g @fzf-url-fzf-options '-w 50% -h 50% --multi -0 --no-preview --no-border'
+set -g @fzf-url-fzf-options '-w 70% -h 70% --multi -0 --no-preview --border=sharp'
#unbindings -- these are reserved for vim use
unbind Up
diff --git a/.tridactylrc b/.tridactylrc
index 2e83089..3078f78 100644
--- a/.tridactylrc
+++ b/.tridactylrc
@@ -1,6 +1,6 @@
sanitize tridactyllocal tridactylsync
guiset_quiet hoverlink right
-autocmd DocStart mail.google.com mode ignore
+" autocmd DocStart mail.google.com mode ignore
colourscheme dark
completionfuzziness 1
@@ -8,3 +8,7 @@ completionfuzziness 1
" bind tn tabmove +1
seturl duolingo.com superignore true
seturl localhost:8889 superignore true
+
+blacklistadd mail.google.com/mail
+blacklistadd mail.terminaldweller.com
+blacklistadd mail.terminaldweller.com
diff --git a/.vimrc b/.vimrc
index ff076a6..fa4b041 100644
--- a/.vimrc
+++ b/.vimrc
@@ -214,6 +214,7 @@ Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'plasticboy/vim-markdown'
Plug 'cmcaine/vim-uci'
Plug 'Glench/Vim-Jinja2-Syntax'
+Plug 'goerz/jupytext.vim'
" Plug 'kana/vim-operator-user'
" Plug 'terryma/vim-multiple-cursors'
" Plug 'Konfekt/vim-office'
diff --git a/.zshrc b/.zshrc
index b88f4fe..ea9e6e7 100644
--- a/.zshrc
+++ b/.zshrc
@@ -23,7 +23,7 @@ eval `dircolors ~/.dir_colors`
unalias dr
alias gd="git diff --color-words"
-alias w3m="torsocks /home/devi/w3m/w3m -o auto_image=FALSE -graph"
+alias w3m="proxychains4 -q -f ~/proxies/ice/proxychains.conf /home/devi/w3m/w3m -o auto_image=FALSE -graph"
alias rm="rm -I --one-file-system --preserve-root=all"
alias vv="vim"
alias ls="exa"
@@ -98,11 +98,13 @@ alias mupdf="/home/devi/extra/mupdf/build/release/mupdf-x11 -D red -P black -I"
alias googler="~/extra/googler/googler --colors GKmexy -c us -l en --count 7 --exact "
alias ddgr="ddgr --colorize always -r us-en -n 15"
alias pirate-get="pirate-get -S ~/magnets/"
-alias vps="ssh 87.236.209.206 -l ubuntu -p 1022"
-alias vpn="ssh 192.99.102.52 -l rooot -p 1022"
-alias vpn2="ssh 145.239.165.137 -l rooot"
-alias vpn3="ssh root@185.112.147.110 -p 2022"
-alias vpn6="ssh -p 3022 ubuntu@2a07:e01:3:204::1"
+alias vps="proxychains4 -q -f ~/proxies/ice/proxychains.conf ssh 87.236.209.206 -l ubuntu -p 1022"
+alias vpn="proxychains4 -q -f ~/proxies/ice/proxychains.conf ssh 192.99.102.52 -l rooot -p 1022"
+alias vpn2="proxychains4 -q -f ~/proxies/ice/proxychains.conf ssh 145.239.165.137 -l rooot"
+alias vpn3="proxychains4 -q -f ~/proxies/ice/proxychains.conf ssh root@185.112.147.110 -p 2022"
+alias vpn6="proxychains4 -q -f ~/proxies/ice/proxychains.conf ssh -p 3333 ubuntu@185.130.45.46"
+alias vms="proxychains4 -q -f ~/proxies/ice/proxychains.conf ssh 185.126.202.69 -l ubuntu -p 1022"
+alias cloud_one="proxychains4 -q -f ~/proxies/ice/proxychains.conf ssh 130.185.121.80 -l ubuntu -p 1022"
alias pytags="ctags --fields=+l --languages=python --python-kinds=-iv -R ."
alias v="vim"
alias kshrc="vim ~/scripts/.kshrc"
@@ -130,8 +132,9 @@ alias jupyterlab="jupyter lab --no-browser --port 9989"
alias iredisrc="vim ~/scripts/.iredisrc"
alias fixiredisrc="cp ~/scripts/.iredisrc ~/.iredisrc"
# alias irssi="irssi -n terminaldweller"
-alias irssi="TERM=screen-256color docker run --runtime=runc -it -e TERM -u $(id -u):$(id -g) --log-driver=none -e DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" --network=host -v $HOME/.irssi:/home/user/.irssi:ro -v /etc/localtime:/etc/localtime:ro bloodstalker/irssi:latest"
-alias openbb="TERM=screen-256color docker run --runtime=runc -it --env-file=/home/devi/.openbb/.env -e TERM -e DISPLAY=${DISPLAY} --log-driver=none --network=host -v /tmp/.X11-unix:/tmp/.X11-unix ghcr.io/openbb-finance/openbbterminal-poetry:latest"
+# alias irssi="TERM=screen-256color docker run --runtime=runsc -it -e TERM -u $(id -u):$(id -g) --log-driver=none -e DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" --network=host -v $HOME/.irssi:/home/user/.irssi:ro -v /etc/localtime:/etc/localtime:ro bloodstalker/irssi:latest"
+alias irssi="TERM=screen-256color docker run --runtime=runsc -it -e TERM -u $(id -u):$(id -g) --log-driver=none -e DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" -v $HOME/.irssi:/home/user/.irssi:ro -v /etc/localtime:/etc/localtime:ro bloodstalker/irssi:latest"
+alias openbb="TERM=screen-256color docker run --runtime=runc -it --env-file=/home/devi/.openbb/.env -e TERM -e DISPLAY=${DISPLAY} -e OPENBB_BACKEND=Qt5Agg --log-driver=none --network=host -v /tmp/.X11-unix:/tmp/.X11-unix ghcr.io/openbb-finance/openbbterminal-poetry:latest"
alias joplinkeymap="vim ~/scripts/.config/joplin/keymap.json"
alias fixjoplinkeymap="cp ~/scripts/.config/joplin/keymap.json ~/.config/joplin/keymap.json"
alias postitrc="vim ~/scripts/postit"
@@ -150,7 +153,6 @@ alias cygwin="/mnt/d/home/apps/cygwin/bin/bash.exe -l -i"
alias farmanager="/mnt/c/Program\ Files/Far\ Manager/Far.exe"
alias pwsh="/mnt/c/Program\ Files/PowerShell/7/pwsh.exe"
alias wincmd="/mnt/c/Windows/System32/runas.exe /profile /user:administrator cmd.exe"
-alias vms="ssh 185.126.202.69 -l ubuntu -p 1022"
alias xonshrc="vim ~/scripts/.xonshrc"
alias fixxonshrc="cp ~/scripts/.xonshrc ~/.xonshrc"
alias deviphone="ssh 192.168.1.110 -l u0_a601 -p 8022"
@@ -169,8 +171,8 @@ alias socks5vpn1="autossh -M 0 -N -D 9999 -o ServerAliveInterval=180 -o ServerAl
alias socks5vpn2="autossh -M 0 -N -D 9996 -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -l rooot -p 1022 192.99.102.52"
alias socks5vpn3="autossh -M 0 -N -D 0.0.0.0:9995 -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -l root -p 2022 185.112.147.110"
alias socks5vpn4="autossh -M 0 -N -D 9994 -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -l ubuntu -p 1022 130.185.121.80"
+alias socks5vpn5="autossh -M 0 -N -D 0.0.0.0:9990 -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -l ubuntu -p 3333 185.130.45.46"
alias socks5vpn6="autossh -M 0 -N -D 9993 -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -6 -l ubuntu -p 3022 2a07:e01:3:204::1"
-alias cloud_one="ssh 130.185.121.80 -l ubuntu -p 1022"
alias zharf_server="zssh 192.168.12.5 -l farzad"
alias zharf_server2="zssh 192.168.90.7 -l root"
alias zharf_server3="zssh 192.168.90.8 -l root"
@@ -186,8 +188,8 @@ alias inputrc="vim ~/scripts/.inputrc"
alias fixinputrc="cp ~/scripts/.inputrc ~/.inputrc"
alias gdbinit="vim ~/scripts/.gdbinit"
alias fixgdbinit="cp ~/scripts/.gdbinit ~/.gdbinit"
-alias d="https_proxy=socks5://[::1]:9993 docker"
-alias dc="https_proxy=socks5://[::1]:9993 docker-compose"
+alias d="https_proxy=socks5://127.0.0.1:9995 grc docker"
+alias dc="https_proxy=socks5://127.0.0.1:9995 grc docker-compose"
alias zh_freebsd="zssh dev@192.168.90.15"
alias zh_linux="zssh dev@192.168.90.17"
alias zh_router_root="zssh root@192.168.90.71"
@@ -241,6 +243,8 @@ alias fixzshenv="cp ~/scripts/.zshenv ~/.zshenv"
alias postman="flatpak run com.getpostman.Postman"
alias skype="flatpak run com.skype.Client"
alias chromium_flatpak="flatpak run org.chromium.Chromium"
+alias firefox_flatpak="flatpak run org.mozilla.firefox"
+alias librewolf_flatpak="flatpak run io.gitlab.librewolf-community"
alias tree="tree -aCDpugh -L 10 --gitignore | less -r"
alias lsblk="grc lsblk -Dfp"
alias k="grc kubectl"
@@ -262,6 +266,7 @@ alias swe_proxy="proxychains4 -q -f ~/proxies/swe/proxychains.conf"
alias ir_proxy="proxychains4 -q -f ~/proxies/ir/proxychains.conf"
alias ice_proxy="proxychains4 -q -f ~/proxies/ice/proxychains.conf"
alias glow="glow -s ~/.config/glow/dark.json -p"
+alias nmap="grc nmap"
# change the 4th terminal color to #0000ff
# echo -e '\e]P40000ff'
@@ -378,7 +383,7 @@ export BAT_THEME="Solarized (light)"
export SVDIR=~/service
-export FZF_TMUX_OPTS="-p 70%,70%"
+export FZF_TMUX_OPTS="-p 70%,70% --border=sharp"
export FZF_DEFAULT_OPTS="--color fg:7,bg:0,hl:31,fg+:24,bg+:0,hl+:63,info:34,prompt:27,spinner:24,pointer:24,marker:22"
export YTFZF_HIST=1
diff --git a/devi.zsh-theme b/devi.zsh-theme
index 60031d1..5d4507e 100644
--- a/devi.zsh-theme
+++ b/devi.zsh-theme
@@ -359,6 +359,7 @@ timer_precmd() {
add-zsh-hook precmd timer_precmd
# async jobs
+# https://github.com/vincentbernat/zshrc/blob/d66fd6b6ea5b3c899efb7f36141e3c8eb7ce348b/rc/vcs.zsh
_async_rbq_start() {
async_start_worker rbq_info
async_register_callback rbq_info _async_rbq_info_done
@@ -403,14 +404,14 @@ _async_rbq_start
_async_vcs_start
add-zsh-hook precmd() {
- async_job vcs_info _async_vcs_info $PWD
+ async_job vcs_info _async_vcs_info $PWD > /dev/null 2>&1
}
ass-zsh-hook chpwd() {
vcs_info_msg_0=
}
add-zsh-hook precmd() {
- async_job rbq_info _async_rbq_info $PWD
+ async_job rbq_info _async_rbq_info $PWD > /dev/null 2>&1
}
add-zsh-hook chpwd() {
diff --git a/irssi/config b/irssi/config
index 3f211dc..850cc2b 100644
--- a/irssi/config
+++ b/irssi/config
@@ -20,15 +20,15 @@ servers = (
tls_verify = "no";
autoconnect = "yes";
},
- {
- address = "irc.oftc.net";
- chatnet = "OFTC";
- port = "6697";
- use_tls = "yes";
- tls_cert = "~/.irssi/certs/nick.pem";
- tls_verify = "yes";
- autoconnect = "yes";
- },
+ # {
+ # address = "irc.oftc.net";
+ # chatnet = "OFTC";
+ # port = "6697";
+ # use_tls = "yes";
+ # tls_cert = "~/.irssi/certs/nick.pem";
+ # tls_verify = "yes";
+ # autoconnect = "no";
+ # },
{
address = "192.168.1.109";
port = "6667";
@@ -36,8 +36,33 @@ servers = (
autoconnect = "yes";
},
{
- address = "irc.libera.chat";
- chatnet = "LiberaChat";
+ address = "185.112.147.110";
+ port = "6697";
+ chatnet = "bitlbee_r";
+ autoconnect = "no";
+ use_tls = "yes";
+ },
+ # {
+ # address = "irc.libera.chat";
+ # chatnet = "LiberaChat";
+ # port = "6697";
+ # use_tls = "yes";
+ # tls_cert = "~/.irssi/certs/nick.pem";
+ # tls_verify = "yes";
+ # autoconnect = "no";
+ # },
+ # {
+ # address = "irc.rizon.net";
+ # chatnet = "Rizon";
+ # port = "6697";
+ # use_tls = "yes";
+ # tls_cert = "~/.irssi/certs/nick.pem";
+ # tls_verify = "yes";
+ # autoconnect = "no";
+ # },
+ {
+ address = "ssl.ircnet.io";
+ chatnet = "IRCNet";
port = "6697";
use_tls = "yes";
tls_cert = "~/.irssi/certs/nick.pem";
@@ -45,29 +70,42 @@ servers = (
autoconnect = "yes";
},
{
- address = "irc.rizon.net";
- chatnet = "Rizon";
- port = "6697";
+ address = "185.130.45.46";
+ chatnet = "Libera-ZNC";
+ port = "1025";
+ password = "terminaldweller/Liberachat:"; #pragma: allowlist secret
use_tls = "yes";
tls_cert = "~/.irssi/certs/nick.pem";
- tls_verify = "yes";
+ tls_verify = "no";
autoconnect = "yes";
},
{
- address = "ssl.ircnet.io";
- chatnet = "IRCNet";
- port = "6697";
+ address = "185.130.45.46";
+ chatnet = "OFTC-ZNC";
+ port = "1025";
+ password = "terminaldweller/OFTC:network"; #pragma: allowlist secret
use_tls = "yes";
tls_cert = "~/.irssi/certs/nick.pem";
- tls_verify = "yes";
+ tls_verify = "no";
autoconnect = "yes";
},
{
- address = "185.112.147.110";
+ address = "185.130.45.46";
+ chatnet = "Rizon-ZNC";
+ port = "1025";
+ password = "terminaldweller/Rizon:network"; #pragma: allowlist secret
+ use_tls = "yes";
+ tls_cert = "~/.irssi/certs/nick.pem";
+ tls_verify = "no";
+ autoconnect = "yes";
+ },
+ {
+ address = "185.130.45.46";
chatnet = "Undernet-ZNC";
port = "1025";
- password = "";
+ password = "terminaldweller/undernet:network"; #pragma: allowlist secret
use_tls = "yes";
+ tls_cert = "~/.irssi/certs/nick.pem";
tls_verify = "no";
autoconnect = "yes";
},
@@ -98,6 +136,14 @@ chatnets = {
max_msgs = "1";
max_whois = "1";
};
+ "OFTC-ZNC" = {
+ type = "IRC";
+ nick = "terminaldweller";
+ autosendcmd = "/^msg nickserv set cloak on;mode terminaldweller j;wait 3000";
+ max_kicks = "1";
+ max_msgs = "1";
+ max_whois = "1";
+ };
gitter = { type = "IRC"; nick = "terminaldweller"; };
"app.slack.com" = { type = "IRC"; nick = "terminaldweller"; };
"FRRouting.slack.com" = { type = "IRC"; };
@@ -106,9 +152,17 @@ chatnets = {
type = "IRC";
};
LiberaChat = { type = "IRC"; sasl_mechanism = "EXTERNAL"; };
- Rizon = {
+ "Libera-ZNC" = {
type = "IRC";
- autosendcmd = "/^mode terminaldweller +px;wait 3000";
+ autosendcmd = "/^mode terminaldweller +g;wait 3000";
+ };
+ # Rizon = {
+ # type = "IRC";
+ # autosendcmd = "/^mode terminaldweller +px;wait 3000";
+ # };
+ "Rizon-ZNC" = {
+ type = "IRC";
+ autosendcmd = "/^mode terminaldweller +RCGpx;wait 3000";
};
IRCNet = { type = "IRC"; };
"Undernet-ZNC" = {
@@ -118,45 +172,47 @@ chatnets = {
EFnet = { type = "IRC"; };
DALnet = {
type = "IRC";
- autosendcmd = "/^mode terminaldweller +HCi;msg nickserv@services.dal.net identify password;wait 3000";
+ autosendcmd = "/^mode terminaldweller +HCi;msg nickserv@services.dal.net identify Xashmith#666;wait 3000";
};
};
channels = (
- # { name = "#dpdk"; chatnet = "LiberaChat"; autojoin = "yes"; },
- # { name = "#fdio-vpp"; chatnet = "LiberaChat"; autojoin = "yes"; },
- # { name = "#openssl"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#netbsd"; chatnet = "LiberaChat"; autojoin = "yes"; },
- # { name = "#netplan"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#ubuntu"; chatnet = "LiberaChat"; autojoin = "yes"; },
- # { name = "#qemu"; chatnet = "OFTC"; autojoin = "yes"; },
- { name = "#debian"; chatnet = "OFTC"; autojoin = "yes"; },
- # { name = "#virt"; chatnet = "OFTC"; autojoin = "yes"; },
- { name = "#openwrt"; chatnet = "OFTC"; autojoin = "yes"; },
- { name = "#tor"; chatnet = "OFTC"; autojoin = "yes"; },
- { name = "#llvm"; chatnet = "OFTC"; autojoin = "yes"; },
- # { name = "#openssh"; chatnet = "LiberaChat"; autojoin = "yes"; },
- # { name = "#gdb"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#openbsd"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#go-nuts"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#voidlinux"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#security"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#crypto"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#tmux"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#vim"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#git"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#neomutt"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#busybox"; chatnet = "LiberaChat"; autojoin = "yes"; },
- # { name = "#shadow"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#freebsd"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#linux"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#irssi"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ # { name = "#dpdk"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ # { name = "#fdio-vpp"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ # { name = "#openssl"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#netbsd"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ # { name = "#netplan"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#ubuntu"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ # { name = "#qemu"; chatnet = "OFTC-ZNC"; autojoin = "yes"; },
+ { name = "#debian"; chatnet = "OFTC-ZNC"; autojoin = "yes"; },
+ # { name = "#virt"; chatnet = "OFTC-ZNC"; autojoin = "yes"; },
+ { name = "#openwrt"; chatnet = "OFTC-ZNC"; autojoin = "yes"; },
+ { name = "#tor"; chatnet = "OFTC-ZNC"; autojoin = "yes"; },
+ { name = "#llvm"; chatnet = "OFTC-ZNC"; autojoin = "yes"; },
+ # { name = "#openssh"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ # { name = "#gdb"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#openbsd"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#znc"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#go-nuts"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#voidlinux"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#CataclysmDDA"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#security"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#crypto"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#tmux"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#vim"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#git"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#neomutt"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#busybox"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ # { name = "#shadow"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#freebsd"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#linux"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#irssi"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "#bookz"; chatnet = "Undernet-ZNC"; autojoin = "yes"; },
- { name = "#postgresql"; chatnet = "LiberaChat"; autojoin = "yes"; },
- { name = "#news"; chatnet = "Rizon"; autojoin = "yes"; },
+ { name = "#postgresql"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#news"; chatnet = "Rizon-ZNC"; autojoin = "yes"; },
{ name = "#irc"; chatnet = "IRCNet"; autojoin = "yes"; },
- { name = "#supersonic"; chatnet = "DALNet"; autojoin = "yes"; }
- # { name = "#kvm"; chatnet = "LiberaChat"; autojoin = "yes"; }
+ { name = "#supersonic"; chatnet = "DALNet"; autojoin = "yes"; },
+ # { name = "#kvm"; chatnet = "Libera-ZNC"; autojoin = "yes"; }
);
aliases = {
@@ -462,6 +518,7 @@ ignores = (
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#go-nuts" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#neomutt" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#kvm" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#znc" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#netbsd" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#ubuntu" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#netplan" ); },
@@ -477,7 +534,7 @@ ignores = (
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#git" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#voidlinux" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#openwrt" ); },
- {
+ {
level = "JOINS PARTS QUITS NICKS";
channels = ( "#debian-next" );
},
@@ -488,6 +545,7 @@ ignores = (
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#linux" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#shadow" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#tor" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#CataclysmDDA" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#security" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#busybox" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#bookz" ); },
diff --git a/kubernetes/debug/debug-deployment.yaml b/kubernetes/debug/debug-deployment.yaml
index a11d80d..1d58b40 100644
--- a/kubernetes/debug/debug-deployment.yaml
+++ b/kubernetes/debug/debug-deployment.yaml
@@ -29,6 +29,12 @@ spec:
value: socks5://192.168.1.103:9995
- name: NO_PROXY
value: localhost, 127.0.0.1, 10.0.0.0/24
+ - name: http_proxy
+ value: socks5://192.168.1.103:9995
+ - name: https_proxy
+ value: socks5://192.168.1.103:9995
+ - name: no_proxy
+ value: localhost, 127.0.0.1, 10.0.0.0/24
---
apiVersion: v1
kind: Service
diff --git a/postit b/postit
index 9271bad..cd44bf8 100644
--- a/postit
+++ b/postit
@@ -45,3 +45,4 @@ zssh root@192.168.90.7 'tcpdump -ni enp3s0f0 -U -s0 -w - ' | wireshark -k -i -
echo 1 > /proc/sys/kernel/task_delayacct
irancell 196242684
rust tutorial https://www.youtube.com/watch?v=ygL_xcavzQ4
+https://wms.cs.kuleuven.be/cs/studeren/master-artificial-intelligence/MAI_SIP/masters-thesis/thesis-topic-proposals
diff --git a/stylus/manganato_sepia.css b/stylus/manganato_sepia.css
index cb094ff..b72db94 100644
--- a/stylus/manganato_sepia.css
+++ b/stylus/manganato_sepia.css
@@ -1,5 +1,9 @@
-@-moz-document domain("readmanganato.com") {
- .container-chapter-reader {
+@-moz-document domain("readmanganato.com"), domain("chapmanganato.com") {
+ img {
filter: sepia(1) brightness(0.7) contrast(0.9) saturate(0.9);
}
+
+ img:hover {
+ filter: none;
+ }
}
diff --git a/stylus/realpython_wide.css b/stylus/realpython_wide.css
new file mode 100644
index 0000000..a94d573
--- /dev/null
+++ b/stylus/realpython_wide.css
@@ -0,0 +1,15 @@
+@-moz-document domain("realpython.com") {
+ div.container:nth-child(2) {
+ max-width: 90%;
+ width: 90%;
+ }
+
+ img {
+ filter: sepia(1) brightness(0.7) contrast(0.9) saturate(0.9);
+ }
+
+ img:hover {
+ filter: none;
+ filter: sepia(0);
+ }
+}
diff --git a/terminaldweller.com/cgit/cgit.conf b/terminaldweller.com/cgit/cgit.conf
index ac59b7a..caf8876 100644
--- a/terminaldweller.com/cgit/cgit.conf
+++ b/terminaldweller.com/cgit/cgit.conf
@@ -1,9 +1,8 @@
-server.modules += ( "mod_cgi", "mod_rewrite" )
+server.modules += ( "mod_cgi", "mod_rewrite", "mod_openssl" )
-#$SERVER["socket"] == ":443" {
-$SERVER["socket"] == ":80" {
- #ssl.engine = "enable"
- #ssl.pemfile = "/etc/lighttpd/ssl/git.example.com.pem"
+$SERVER["socket"] == ":443" {
+ ssl.engine = "enable"
+ ssl.pemfile = "/etc/certs/git.pem"
server.name = "git.terminaldweller.com"
server.document-root = "/usr/share/webapps/cgit/"
diff --git a/terminaldweller.com/cgit/cgit/Dockerfile b/terminaldweller.com/cgit/cgit/Dockerfile
index 8646b5c..7ef7134 100644
--- a/terminaldweller.com/cgit/cgit/Dockerfile
+++ b/terminaldweller.com/cgit/cgit/Dockerfile
@@ -1,2 +1,5 @@
-FROM alpine:3.16
-RUN apk add && apk add --no-cache busybox-initscripts cgit git spawn-fcgi fcgiwrap highlight nginx
+FROM woahbase/alpine-cgit:x86_64
+RUN apk add && apk add --no-cache python3 py3-pip
+RUN pip3 install pygments
+RUN pip3 install md2html
+RUN pip3 install markdown
diff --git a/terminaldweller.com/cgit/cgit/cgitrc b/terminaldweller.com/cgit/cgit/cgitrc
index a2c216e..8306a30 100644
--- a/terminaldweller.com/cgit/cgit/cgitrc
+++ b/terminaldweller.com/cgit/cgit/cgitrc
@@ -1,19 +1,140 @@
+#
+## cgit config
+#
+#
+# Enable caching of up to 1000 output entries
+# cache-size=5
+
+## ttl for root page
+cache-root-ttl=5
+
+## ttl for repo summary page
+cache-repo-ttl=5
+
+## ttl for other dynamic pages
+cache-dynamic-ttl=5
+
+## ttl for static pages (addressed by SHA-1)
+cache-static-ttl=-1
+
+# css
css=/cgit/cgit.css
-# logo=/cgit.png
+logo=/cgit/cgit.png
-# git repos go here
-scan-path=/home/git/repositories
+# Enable ASCII art commit history graph on the log pages
+enable-commit-graph=1
-virtual-root=/
+enable-follow-links=1
+enable-subject-links=1
+enable-index-links=1
+
+enable-git-config=1
+enable-html-serving=1
+
+enable-http-clone=1
+enable-git-clone=1
+
+enable-index-owner=0
+enable-gitweb-owner=1
+
+enable-log-filecount=1
+enable-log-linecount=1
+
+enable-remote-branches=1
+enable-tree-linenumbers=1
+
+# summary info
+summary-branches=10
+summary-log=10
+summary-tags=10
+
+# Sort by age/name
+repository-sort=name
+branch-sort=age
+commit-sort=age
-# automatically render READMEs
-about-file=/usr/lib/cgit/filters/about-formatting.sh
-readme:=README.md
+# Enable statistics per week, month and quarter
+max-stats=year
-# robots
+# show local time not utc
+local-time=1
+
+root-title=cGit
+root-desc=Keep ALL the stuff in VERSION CONTROL!!
+root-readme=/var/www/about.html
+# footer=/var/www/footer.html
+
+# if you do not want that webcrawler (like google) index your site
robots=noindex, nofollow
-# include=/etc/gitrepos
+# if cgit messes up links, use a virtual-root. For example has cgit.example.org/ this value:
+virtual-root=/
+
+side-by-side-diffs=0
+
+# needs python-pygments
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+
+# Format markdown, restructuredtext, manpages, text files, and html files through the right converters
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+
+# available snaps
+snapshots=tar.gz zip
+
+# Specify some default clone urls using macro expansion
+clone-url=ssh://git@hostname.local:64822~repositories/$CGIT_REPO_URL git@hostname.local:/home/git/repositories/$CGIT_REPO_URL
+
+##
+## List of common mimetypes
+##
+
+mimetype.gif=image/gif
+mimetype.html=text/html
+mimetype.jpg=image/jpeg
+mimetype.jpeg=image/jpeg
+mimetype.pdf=application/pdf
+mimetype.png=image/png
+mimetype.svg=image/svg+xml
+
+##
+### Search for these files in the root of the default branch of repositories
+### for coming up with the about page:
+###
+readme=:README.md
+readme=:readme.md
+readme=:README.mkd
+readme=:readme.mkd
+readme=:README.rst
+readme=:readme.rst
+readme=:README.html
+readme=:readme.html
+readme=:README.htm
+readme=:readme.htm
+readme=:README.txt
+readme=:readme.txt
+readme=:README
+readme=:readme
+readme=:INSTALL.md
+readme=:install.md
+readme=:INSTALL.mkd
+readme=:install.mkd
+readme=:INSTALL.rst
+readme=:install.rst
+readme=:INSTALL.html
+readme=:install.html
+readme=:INSTALL.htm
+readme=:install.htm
+readme=:INSTALL.txt
+readme=:install.txt
+readme=:INSTALL
+readme=:install
+
+# sections
+section-from-path=1
+section-sort=1
-# syntax highlighting
-source-filter=/usr/lib/cgit/filters/syntax-highlighting-edited.sh
+# repos
+max-repo-count=99999
+remove-suffix=1
+scan-hidden-path=1
+scan-path=/home/git/repositories/
diff --git a/terminaldweller.com/cgit/docker-compose.yaml b/terminaldweller.com/cgit/docker-compose.yaml
index d963383..a578b71 100644
--- a/terminaldweller.com/cgit/docker-compose.yaml
+++ b/terminaldweller.com/cgit/docker-compose.yaml
@@ -1,24 +1,28 @@
version: "3"
services:
cgit:
- image: woahbase/alpine-cgit:x86_64
+ image: cgit
+ build:
+ context: ./cgit/
networks:
- cgitnet
ports:
- - "8041:80"
+ - "127.0.0.1:8041:80"
- "8042:22"
+ - "8043:443"
restart: unless-stopped
environment:
- PGID=1000
- PUID=1000
volumes:
- # - ./cgit/cgitrc:/etc/cgitrc:ro
+ - ./cgit/cgitrc:/etc/cgitrc:ro
- storage:/home/git/repositories
- ./data/ssh:/etc/ssh
# - ./data/web:/var/www
# - /etc/hosts:/etc/hosts:ro
# - /etc/localtime:/etc/localtime:ro
- # - ./cgit.conf:/etc/lighttpd/conf.d/cgit.conf
+ - ./cgit.conf:/etc/lighttpd/cgit.conf:ro
+ - /etc/letsencrypt/archive/git.terminaldweller.com/ssl.pem:/etc/certs/git.pem:ro
bootstrap:
image: bootstrap
build:
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg
index 6b2e93d..b659cb3 100644
--- a/terminaldweller.com/haproxy/haproxy.cfg
+++ b/terminaldweller.com/haproxy/haproxy.cfg
@@ -43,6 +43,7 @@ frontend http
acl devourer-host hdr_sub(host) -i mila.terminaldweller.com
acl discord-host hdr_sub(host) -i discord.terminaldweller.com
acl rssgen-host hdr_sub(host) -i rssgen.terminaldweller.com
+ acl git-host hdr_sub(host) -i git.terminaldweller.com
acl mila-api-acl url_beg /mila
acl crypto-api-acl url_beg /crypto
acl http ssl_fc,not
@@ -56,6 +57,7 @@ frontend http
http-request redirect scheme https code 301 if http api-host !letsencrypt-acl
http-request redirect scheme https code 301 if http devourer-host !letsencrypt-acl
http-request redirect scheme https code 301 if http searx-host !letsencrypt-acl
+ http-request redirect scheme https code 301 if http git-host !letsencrypt-acl
# http-request redirect scheme https code 301 if http rssgen-host !letsencrypt-acl
#Conditions
@@ -69,6 +71,7 @@ frontend http
use_backend api-mila-backend-cert if letsencrypt-acl api-host
use_backend searx-backend-cert if letsencrypt-acl searx-host
use_backend searx-backend-cert if letsencrypt-acl rssgen-host
+ use_backend searx-backend-cert if letsencrypt-acl git-host
# use_backend editor-backend-cert if letsencrypt-acl editor-host
use_backend certbot-backend if letsencrypt-acl !chat-host !blog-host !api-host
use_backend blog-backend if blog-host
@@ -76,6 +79,7 @@ frontend http
use_backend api-backend if api-host
use_backend searx-backend if searx-host
use_backend rssgen-backend if rssgen-host
+ use_backend git-backend if git-host
#use_backend chat-backend if chat-host
default_backend blog-backend
@@ -94,6 +98,7 @@ frontend https
acl api-host-s req.ssl_sni -i api.terminaldweller.com
acl mila-api-host-s req.ssl_sni -i mila.terminaldweller.com
acl searx-host-s req.ssl_sni -i searx.terminaldweller.com
+ acl git-host-s req.ssl_sni -i git.terminaldweller.com
acl cargo-host-s req.ssl_sni -i cargo.terminaldweller.com
acl editor-host-s req.ssl_sni -i editor.terminaldweller.com
acl editorsave-host-s req.ssl_sni -i editorsave.terminaldweller.com
@@ -110,6 +115,7 @@ frontend https
use_backend cargo-backend-s if cargo-host-s
use_backend editor-backend-s if editor-host-s
use_backend editorsave-backend-s if editorsave-host-s
+ use_backend git-backend-s if git-host-s
#frontend jabber5222
# bind *:5222
@@ -325,9 +331,11 @@ backend searx-backend
mode http
server searx-host 130.185.121.80:8080
backend searx-backend-s
+ #balance roundrobin
mode tcp
option tcp-check
server searx-host-s 130.185.121.80:8081 maxconn 10
+ #server searx-host-s 192.99.102.52:8081 maxconn 10
backend cargo-backend-s
mode tcp
@@ -348,3 +356,12 @@ backend rssgen-backend
mode http
option forwardfor
server rssgen-host 130.185.121.80:3000 check
+
+backend git-backend
+ mode http
+ option forwardfor
+ server git-host 130.185.121.80:8042
+backend git-backend-s
+ mode tcp
+ option tcp-check
+ server git-host-s 130.185.121.80:8043 check
diff --git a/tmux/date.sh b/tmux/date.sh
index f72cad0..1bfbc01 100755
--- a/tmux/date.sh
+++ b/tmux/date.sh
@@ -11,24 +11,33 @@ DAY="#[fg=colour255 bg=colour31]"$(echo "$RESULT" | gawk '{print $1}')
DATE="#[fg=colour255 bg=colour31]"$(echo "$RESULT" | gawk '{print $2}')
TIME="#[fg=colour255 bg=colour31]"$(echo "$RESULT" | gawk '{print $3}')
UTC_TIME_RESULT=$(date -u +"%H:%M")
-UTC_TIME="#[fg=colour255 bg=colour25]"$UTC_TIME_RESULT
+UTC_TIME="#[fg=colour255 bg=colour25]"${UTC_TIME_RESULT}
JDATE="#[fg=colour255 bg=colour29]"$(jdate | gawk '{print $2" "$3}')
-# OPENWEATHERMAP_TOKEN=$(cat /home/devi/scripts/tmux/openweathermap.json|jq -r ".token")
-# WEATHER_INFO=$(sleep 120 && torsocks curl "https://api.openweathermap.org/data/2.5/weather?q=Tehran&appid=$OPENWEATHERMAP_TOKEN&units=metric"|jq ".main.temp")
+
+# OPENWEATHERMAP_TOKEN=$(jq -r ".token" < /home/devi/scripts/tmux/openweathermap.json)
+# WEATHER_INFO=$(sleep 120 && proxychains4 -q -f /home/devi/proxies/ice/proxychains.conf curl "https://api.openweathermap.org/data/2.5/weather?q=Tehran&appid=${OPENWEATHERMAP_TOKEN}&units=metric"|jq ".main.temp")
WEATHER_INFO=$(curl 'wttr.in/tehran?T&format=%f')
-echo "$WEATHER_INFO" | grep Unknown\ location;
-if [ ! $? ]; then
- WEATHER="#[fg=colour255 bg=colour32]"err
+if echo "${WEATHER_INFO}" | grep Unknown\ location; then
+ WEATHER="#[fg=colour255 bg=colour32]"no_temp
else
- WEATHER="#[fg=colour255 bg=colour32]"$WEATHER_INFO
+ WEATHER="#[fg=colour255 bg=colour32]"${WEATHER_INFO}
fi
+
CPU_TEMP=$(sensors -j | jq .["\"coretemp-isa-0000\""]."\"Package id 0\"".temp1_input)
-CPU_SECTION="#[fg=colour36 bg=colour16]$SEPARATOR_LEFT_BOLD#[fg=colour16 bg=colour36]$CPU_TEMP C"
+CPU_SECTION="#[fg=colour36 bg=colour24]${SEPARATOR_LEFT_BOLD}#[fg=colour16 bg=colour36]${CPU_TEMP} C"
BATTERY=$(upower -i "$(upower -e | grep 'BAT')" | grep -E "percentage" | awk '{print $2}')
-echo "$CPU_SECTION#[fg=colour32 bg=colour36]\
-$SEPARATOR_LEFT_BOLD$WEATHER#[fg=colour29 bg=colour32]\
-$SEPARATOR_LEFT_BOLD$JDATE #[fg=colour31 bg=colour29]\
-$SEPARATOR_LEFT_BOLD$DAY $SEPARATOR_LEFT_THIN $DATE $SEPARATOR_LEFT_THIN $TIME #[fg=colour214 bg=colour31]\
-$SEPARATOR_LEFT_BOLD#[fg=colour0 bg=colour214]$BATTERY #[fg=colour25 bg=colour214]\
-$SEPARATOR_LEFT_BOLD$UTC_TIME "
+if ! headsetcontrol -b ; then
+ HEADSET_BATTERY="not found"
+else
+ HEADSET_BATTERY=$(headsetcontrol -b | grep Battery | awk '{print $2}')
+fi
+
+echo "#[bg=colour0 fg=colour24]\
+${SEPARATOR_LEFT_BOLD}#[fg=colour0 bg=colour24]${HEADSET_BATTERY}\
+${CPU_SECTION}#[fg=colour32 bg=colour36]\
+${SEPARATOR_LEFT_BOLD}${WEATHER}#[fg=colour29 bg=colour32]\
+${SEPARATOR_LEFT_BOLD}${JDATE} #[fg=colour31 bg=colour29]\
+${SEPARATOR_LEFT_BOLD}${DAY} ${SEPARATOR_LEFT_THIN} ${DATE} ${SEPARATOR_LEFT_THIN} ${TIME} #[fg=colour214 bg=colour31]\
+${SEPARATOR_LEFT_BOLD}#[fg=colour0 bg=colour214]${BATTERY} #[fg=colour25 bg=colour214]\
+${SEPARATOR_LEFT_BOLD}${UTC_TIME} "
diff --git a/tmux/vcs_info.sh b/tmux/vcs_info.sh
index f6405a3..2215f7f 100755
--- a/tmux/vcs_info.sh
+++ b/tmux/vcs_info.sh
@@ -72,14 +72,23 @@ function repo_info {
fi
}
+function get_eth_price {
+ eth_price=$(proxychains4 -q -f ~/proxies/swe/proxychains.conf curl -s -X GET "https://api.terminaldweller.com/crypto/price?name=ETH&unit=USD" | jq ".price")
+ cake_price=$(proxychains4 -q -f ~/proxies/swe/proxychains.conf curl -s -X GET "https://api.terminaldweller.com/crypto/price?name=CAKE&unit=USD" | jq ".price")
+ monero_price=$(proxychains4 -q -f ~/proxies/swe/proxychains.conf curl -s -X GET "https://api.terminaldweller.com/crypto/price?name=XMR&unit=USD" | jq ".price")
+ echo "${eth_price}/${cake_price}/${monero_price}"
+}
+
tmux_session_info=" #S:#I.#P"
branch_info="#[fg=colour16]$(repo_info)#[fg=colour0 bg=colour39]"$(git_branch_info)
untracked_info="#[fg=colour255 bg=colour244]"$(git_untracked_info)
deletions_info="#[fg=colour255 bg=colour1]"$(gitdeletions)
-additions__info="#[fg=colour255 bg=colour22]"$(gitadditions)
+additions_info="#[fg=colour255 bg=colour22]"$(gitadditions)
+eth_price="#[fg=colour16 bg=colour37]"$(get_eth_price)
echo "#[fg=colour255 bg=colour26]$tmux_session_info #[fg=colour26 bg=colour39]$SEPARATOR_RIGHT_BOLD \
$branch_info #[fg=colour39 bg=colour22]$SEPARATOR_RIGHT_BOLD \
-$additions__info #[fg=colour22 bg=colour1]$SEPARATOR_RIGHT_BOLD \
+$additions_info #[fg=colour22 bg=colour1]$SEPARATOR_RIGHT_BOLD \
$deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD \
-$untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"
+$untracked_info #[fg=colour244 bg=colour37]$SEPARATOR_RIGHT_BOLD \
+$eth_price #[fg=colour37 bg=colour16]$SEPARATOR_RIGHT_BOLD"
diff --git a/znc/znc.conf b/znc/znc.conf
index aa0df06..c031322 100644
--- a/znc/znc.conf
+++ b/znc/znc.conf
@@ -8,32 +8,179 @@
// But if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.
// Also check https://wiki.znc.in/Configuration
+AnonIPLimit = 10
+AuthOnlyViaModule = false
+ConfigWriteDelay = 0
+ConnectDelay = 5
+HideVersion = false
+LoadModule = certauth
+MaxBufferSize = 500
+ProtectWebSessions = true
+SSLCertFile = /home/znc/.znc/znc.pem
+SSLDHParamFile = /home/znc/.znc/znc.pem
+SSLKeyFile = /home/znc/.znc/znc.pem
+ServerThrottle = 30
Version = 1.7.5
-<Listener l>
- Port = 1025
+
+<Listener listener0>
+ AllowIRC = true
+ AllowWeb = true
IPv4 = true
IPv6 = false
+ Port = 1025
SSL = true
- AllowIRC = true
- AllowWeb = false
+ URIPrefix = /
</Listener>
<User terminaldweller>
- Pass =
- Admin = true
- Nick = terminaldweller
- AltNick = terminaldweller_
- Ident = terminaldweller
- RealName = johndoe
+ Admin = true
+ AltNick = terminaldweller_
+ AppendTimestamp = false
+ AuthOnlyViaModule = false
+ AutoClearChanBuffer = true
+ AutoClearQueryBuffer = true
+ ChanBufferSize = 50
+ DenyLoadMod = false
+ DenySetBindHost = false
+ Ident = terminaldweller
+ JoinTries = 10
LoadModule = chansaver
LoadModule = controlpanel
+ MaxJoins = 0
+ MaxNetworks = 1
+ MaxQueryBuffers = 50
+ MultiClients = true
+ Nick = terminaldweller
+ NoTrafficTimeout = 180
+ PrependTimestamp = true
+ QueryBufferSize = 50
+ QuitMsg = %znc%
+ RealName = johndoe
+ StatusPrefix = *
+ TimestampFormat = [%H:%M:%S]
+
+ <Network Liberachat>
+ FloodBurst = 9
+ FloodRate = 2.00
+ IRCConnectEnabled = true
+ JoinDelay = 0
+ LoadModule = simple_away
+ LoadModule = cert
+ Server = irc.libera.chat +6697
+ TrustAllCerts = false
+ TrustPKI = true
+
+ <Chan #CataclysmDDA>
+ </Chan>
+
+ <Chan #busybox>
+ </Chan>
+
+ <Chan #crypto>
+ </Chan>
+
+ <Chan #freebsd>
+ </Chan>
+
+ <Chan #git>
+ </Chan>
+
+ <Chan #go-nuts>
+ </Chan>
+
+ <Chan #irssi>
+ </Chan>
+
+ <Chan #linux>
+ </Chan>
+
+ <Chan #neomutt>
+ </Chan>
+
+ <Chan #netbsd>
+ </Chan>
+
+ <Chan #openbsd>
+ </Chan>
+
+ <Chan #postgresql>
+ </Chan>
- <Network Undernet>
+ <Chan #security>
+ </Chan>
+
+ <Chan #tmux>
+ </Chan>
+
+ <Chan #ubuntu>
+ </Chan>
+
+ <Chan #vim>
+ </Chan>
+
+ <Chan #voidlinux>
+ </Chan>
+
+ <Chan #znc>
+ </Chan>
+ </Network>
+
+ <Network OFTC>
+ FloodBurst = 9
+ FloodRate = 2.00
+ IRCConnectEnabled = true
+ JoinDelay = 0
LoadModule = simple_away
- Server = irc.undernet.org 6667
+ LoadModule = cert
+ Server = irc.oftc.net +6697
+ TrustAllCerts = false
+ TrustPKI = true
+
+ <Chan #debian>
+ </Chan>
+
+ <Chan #llvm>
+ </Chan>
+
+ <Chan #openwrt>
+ </Chan>
+
+ <Chan #tor>
+ </Chan>
</Network>
- <Network Libera>
+
+ <Network Rizon>
+ FloodBurst = 9
+ FloodRate = 2.00
+ IRCConnectEnabled = true
+ JoinDelay = 0
+ LoadModule = simple_away
LoadModule = cert
- Server = irc.libera.chat 6697
+ Server = irc.rizon.net +6697
+ TrustAllCerts = false
+ TrustPKI = true
+
+ <Chan #news>
+ </Chan>
</Network>
+
+ <Network undernet>
+ FloodBurst = 9
+ FloodRate = 2.00
+ IRCConnectEnabled = true
+ JoinDelay = 0
+ LoadModule = simple_away
+ Server = irc.undernet.org 6667
+ TrustAllCerts = false
+ TrustPKI = true
+
+ <Chan #bookz>
+ </Chan>
+ </Network>
+
+ <Pass password>
+ Hash =
+ Method =
+ Salt =
+ </Pass>
</User>