aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.dir_colors3
-rw-r--r--[-rwxr-xr-x].rainbow_config.json0
-rw-r--r--.vimrc6
-rw-r--r--.zshrc2
-rwxr-xr-xgdb-build.sh15
-rwxr-xr-xgit/wipe_irssi_passwords18
-rw-r--r--postit4
-rw-r--r--terminaldweller.com/haproxy/haproxy.cfg2
8 files changed, 31 insertions, 19 deletions
diff --git a/.dir_colors b/.dir_colors
index 40318c6..32f6bb3 100644
--- a/.dir_colors
+++ b/.dir_colors
@@ -211,3 +211,6 @@ EXEC 01;32
# yaml
.yaml 00;38;5;134
.yml 00;38;5;134
+# docker
+*Dockerfile 00;38;5;24
+*docker-compose.yaml 00;38;5;24
diff --git a/.rainbow_config.json b/.rainbow_config.json
index e0b53ba..e0b53ba 100755..100644
--- a/.rainbow_config.json
+++ b/.rainbow_config.json
diff --git a/.vimrc b/.vimrc
index a15aef1..dacd951 100644
--- a/.vimrc
+++ b/.vimrc
@@ -817,7 +817,7 @@ hi def InterestingWord5 ctermfg=16 ctermbg=211
hi def InterestingWord6 ctermfg=16 ctermbg=195
hi def InterestingWord7 ctermfg=16 ctermbg=99
hi def InterestingWord8 ctermfg=16 ctermbg=35
-hi def InterestingWord9 ctermfg=16 ctermbg=57
+hi def InterestingWord9 ctermfg=16 ctermbg=209
hi def InterestingWord0 ctermfg=16 ctermbg=39
"Steve Losh's highlight function
@@ -1418,8 +1418,8 @@ augroup ALEC
augroup END
augroup ALECPP
autocmd!
- autocmd FileType cpp let b:ale_linters = {'cpp': ['clang-tidy']}
- autocmd FileType cpp let b:ale_fixers = {'cpp': ['clang-format']}
+ " autocmd FileType cpp let b:ale_linters = {'cpp': ['clang-tidy']}
+ " autocmd FileType cpp let b:ale_fixers = {'cpp': ['clang-format']}
augroup END
augroup ALEHTML
autocmd!
diff --git a/.zshrc b/.zshrc
index 710aa42..5c6bdcd 100644
--- a/.zshrc
+++ b/.zshrc
@@ -170,6 +170,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="docker"
+alias dc="docker-compose"
#autosuggest
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5f5fff,bg=#000000,bold"
diff --git a/gdb-build.sh b/gdb-build.sh
new file mode 100755
index 0000000..02c6d35
--- /dev/null
+++ b/gdb-build.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env sh
+
+/home/devi/gdb/gdb-9.2/configure \
+ --enable-tui \
+ --with-curses \
+ --with-debuginfod \
+ --with-expat \
+ --with-lzma \
+ --with-mpfr \
+ --with-python=python3 \
+ --with-guile \
+ --with-isl \
+ --with-mpc \
+ --with-zlib \
+ --enable-lto
diff --git a/git/wipe_irssi_passwords b/git/wipe_irssi_passwords
index 69da189..606473c 100755
--- a/git/wipe_irssi_passwords
+++ b/git/wipe_irssi_passwords
@@ -1,16 +1,2 @@
-#!/usr/bin/env python3
-# _*_ coding=utf-8 _*_
-
-import re
-
-
-def main():
- with open("/home/devi/.irssi/config", "r") as config_file:
- lines = config_file.readlines()
- for line in lines:
- print(re.sub("password\\s*=\\s*\"(.*)\"",
- "password=\"\"", line), end="")
-
-
-if __name__ == "__main__":
- main()
+#!/usr/bin/env sh
+sed -e 's/.*password\s*=\s*.*//'
diff --git a/postit b/postit
index 9ebc92a..6177768 100644
--- a/postit
+++ b/postit
@@ -27,3 +27,7 @@ vagrant package --base deb10-luks
make MENUCONFIG_COLOR=blackbg menuconfig
sudo /home/devi/devi/openssh/openssh-8.8p1/sshd -D -f /home/devi/devi/openssh/openssh-8.8p1/sshd_config -d -p 2222 -4
set schedule-multiple 1
+/etc/freeradius/3.0/mods-config/files
+add 0 ****@chat.terminaldweller.com moon
+account add jabber ****@chat.terminaldweller.com ****** chat.terminaldweller.com
+sudo mount -t cifs -o user=pi3,vers=2.0,domain=MSHOME //192.168.1.200/disk1 /home/pi/kstore
diff --git a/terminaldweller.com/haproxy/haproxy.cfg b/terminaldweller.com/haproxy/haproxy.cfg
index 6bec717..7a11df9 100644
--- a/terminaldweller.com/haproxy/haproxy.cfg
+++ b/terminaldweller.com/haproxy/haproxy.cfg
@@ -23,6 +23,8 @@ frontend http
acl mail-host hdr_sub(host) -i mail.terminaldweller.com
acl api-host hdr_sub(host) -i api.terminaldweller.com
acl chat-host hdr_sub(host) -i chat.terminaldweller.com
+ acl mila-api-acl url_beg /mila
+ acl crypto-api-acl url_beg /crypto
#Conditions
#use_backend chat-cert-backend if letsencrypt-acl chat-host
use_backend blog-backend-cert if letsencrypt-acl blog-host