diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-24 13:22:52 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-24 13:22:52 +0000 |
commit | 33678beddf20b33c1f107a4282a59931fed4b47d (patch) | |
tree | 29b7a55ba481117f1fc12bec7bd0f22817ffd5ca | |
parent | updates (diff) | |
download | scripts-33678beddf20b33c1f107a4282a59931fed4b47d.tar.gz scripts-33678beddf20b33c1f107a4282a59931fed4b47d.zip |
updates
-rw-r--r-- | .config/cointop/config.toml | 6 | ||||
-rwxr-xr-x | chroot/arch.sh | 12 | ||||
-rwxr-xr-x | chroot/steam_wrapper | 6 | ||||
-rwxr-xr-x | docker/nvidia-docker-toolkit/build_libnvidia_container.sh | 3 | ||||
-rw-r--r-- | irssi/Dockerfile | 5 | ||||
-rw-r--r-- | irssi/proxychains.conf | 68 | ||||
-rw-r--r-- | postit | 1 | ||||
-rw-r--r-- | znc/znc.conf | 4 |
8 files changed, 99 insertions, 6 deletions
diff --git a/.config/cointop/config.toml b/.config/cointop/config.toml index 23c4d0d..271090e 100644 --- a/.config/cointop/config.toml +++ b/.config/cointop/config.toml @@ -3,7 +3,7 @@ default_view = "default" default_chart_range = "1Y" api = "coingecko" colorscheme = "devi" -refresh_rate = 60 +refresh_rate = 600 cache_dir = "/tmp" [shortcuts] @@ -92,7 +92,7 @@ cache_dir = "/tmp" [favorites] columns = ["rank", "name", "symbol", "price", "1h_change", "24h_change", "7d_change", "24h_volume", "market_cap", "available_supply", "total_supply", "last_updated"] - names = ["BNB", "Binance USD", "Chainlink", "Dai", "Energi", "Ethereum", "Filecoin", "Monero", "Mysterium", "PancakeSwap", "Polygon"] + names = ["Aave", "BNB", "Binance USD", "Chainlink", "Dai", "Energi", "Ethereum", "Filecoin", "Monero", "Mysterium", "PancakeSwap", "Polygon"] symbols = [] [portfolio] @@ -106,5 +106,5 @@ cache_dir = "/tmp" pro_api_key = "" [table] - columns = ["rank", "name", "symbol", "price", "1h_change", "24h_change", "7d_change", "24h_volume", "market_cap", "available_supply", "total_supply", "last_updated"] + columns = ["rank", "name", "symbol", "price", "1h_change", "24h_change", "7d_change","30d_change","1y_change", "24h_volume", "market_cap", "available_supply", "total_supply", "last_updated"] keep_row_focus_on_sort = false diff --git a/chroot/arch.sh b/chroot/arch.sh new file mode 100755 index 0000000..43e8879 --- /dev/null +++ b/chroot/arch.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +CHROOT_DIR=/home/devi/chroots/arch +# sudo mount -t proc proc $CHROOT_DIR/proc/ +# sudo mount -t sysfs sys $CHROOT_DIR/sys/ + +# sudo mount -o bind /tmp $CHROOT_DIR/tmp/ +# sudo mount -o bind /dev $CHROOT_DIR/dev/ + +# sudo mount -t devpts none "$CHROOT_DIR/dev/pts" -o ptmxmode=0666,newinstance +# sudo mount -t auto /dev/dri "$CHROOT_DIR/dev/dri" +sudo xchroot $CHROOT_DIR diff --git a/chroot/steam_wrapper b/chroot/steam_wrapper new file mode 100755 index 0000000..2354c3b --- /dev/null +++ b/chroot/steam_wrapper @@ -0,0 +1,6 @@ +#!/bin/sh +# host needs to have xhost enabled,i.e.: +# xhost + +# enable anyone to use pulseaudio over tcp: +# load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.1.0/24 auth-anonymous=1 +env DISPLAY=:0.0 PULSE_SERVER=127.0.0.1 steam diff --git a/docker/nvidia-docker-toolkit/build_libnvidia_container.sh b/docker/nvidia-docker-toolkit/build_libnvidia_container.sh index 100caaf..daa6de0 100755 --- a/docker/nvidia-docker-toolkit/build_libnvidia_container.sh +++ b/docker/nvidia-docker-toolkit/build_libnvidia_container.sh @@ -6,4 +6,5 @@ torsocks make CFLAGS="-I/usr/include/tirpc -fPIC -O2" LDFLAGS=-ltirpc all ln -s libnvidia-container.so.1.10.0 libnvidia-container.so.1 sudo cp libnvidia-container.so.1.10.0 /usr/lib64 sudo ${TOOLKIT} install /home/devi/nvidia-docker-toolkit -# nvidia-container-cli +# all the executables should be in /usr/bin. cant use user's home directory paths. +# will run into permission problems. diff --git a/irssi/Dockerfile b/irssi/Dockerfile index 74be72a..7b4147a 100644 --- a/irssi/Dockerfile +++ b/irssi/Dockerfile @@ -75,13 +75,14 @@ RUN set -eux; \ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ )"; \ apk add --no-network --virtual .irssi-rundeps $runDeps; \ - apk add --no-cache perl-glib perl-datetime perl-dbi perl-dbd-pg perl-lwp-protocol-https; \ + apk add --no-cache perl-glib perl-datetime perl-dbi perl-dbd-pg perl-lwp-protocol-https proxychains-ng; \ apk del --no-network .build-deps; \ \ # basic smoke test irssi --version +COPY ./proxychains.conf /etc/proxychains/ WORKDIR $HOME USER user -CMD ["irssi"] +CMD ["proxychains4", "-q", "irssi"] diff --git a/irssi/proxychains.conf b/irssi/proxychains.conf new file mode 100644 index 0000000..e9f5f9b --- /dev/null +++ b/irssi/proxychains.conf @@ -0,0 +1,68 @@ +# proxychains.conf VER 3.1 +# +# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS. +# + +# The option below identifies how the ProxyList is treated. +# only one option should be uncommented at time, +# otherwise the last appearing option will be accepted +# +dynamic_chain +# +# Dynamic - Each connection will be done via chained proxies +# all proxies chained in the order as they appear in the list +# at least one proxy must be online to play in chain +# (dead proxies are skipped) +# otherwise EINTR is returned to the app +# +#strict_chain +# +# Strict - Each connection will be done via chained proxies +# all proxies chained in the order as they appear in the list +# all proxies must be online to play in chain +# otherwise EINTR is returned to the app +# +#random_chain +# +# Random - Each connection will be done via random proxy +# (or proxy chain, see chain_len) from the list. +# this option is good to test your IDS :) + +# Make sense only if random_chain +#chain_len = 2 + +# Quiet mode (no output from library) +#quiet_mode + +# Proxy DNS requests - no leak for DNS data +proxy_dns + +# Some timeouts in milliseconds +tcp_read_time_out 15000 +tcp_connect_time_out 8000 +localnet 10.0.0.0/255.0.0.0 +localnet 172.16.0.0/255.240.0.0 +localnet 192.168.0.0/255.255.0.0 +localnet 127.0.0.0/255.0.0.0 + +# ProxyList format +# type host port [user pass] +# (values separated by 'tab' or 'blank') +# +# +# Examples: +# +# socks5 192.168.67.78 1080 lamer secret +# http 192.168.89.3 8080 justu hidden +# socks4 192.168.1.49 1080 +# http 192.168.39.93 8080 +# +# +# proxy types: http, socks4, socks5 +# ( auth types supported: "basic"-http "user/pass"-socks ) +# +[ProxyList] +# add proxy here ... +# meanwile +# defaults set to "tor" +socks5 192.168.1.103 9995 @@ -42,3 +42,4 @@ account add skypeweb thabogre@gmail.com XXXXXXXX git reset --hard HEAD~2 tcpdump -ennqti enp0s0f0 \( arp or icmp \) zssh root@192.168.90.7 'tcpdump -ni enp3s0f0 -U -s0 -w - ' | wireshark -k -i - +echo 1 > /proc/sys/kernel/task_delayacct diff --git a/znc/znc.conf b/znc/znc.conf index 76abf3a..aa0df06 100644 --- a/znc/znc.conf +++ b/znc/znc.conf @@ -32,4 +32,8 @@ Version = 1.7.5 LoadModule = simple_away Server = irc.undernet.org 6667 </Network> + <Network Libera> + LoadModule = cert + Server = irc.libera.chat 6697 + </Network> </User> |