aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-10-31 01:44:00 +0000
committerterminaldweller <thabogre@gmail.com>2021-10-31 01:44:00 +0000
commit965a52ac2b20d0177719c86dc2a1d18903e9a017 (patch)
tree0ffdac57d934b761ec9230b5368cdf289d3fdd62
parentopewrt,haproxy,nginx,ejabberd,.... (diff)
downloadscripts-965a52ac2b20d0177719c86dc2a1d18903e9a017.tar.gz
scripts-965a52ac2b20d0177719c86dc2a1d18903e9a017.zip
updates
-rw-r--r--.dir_colors15
-rw-r--r--.kshrc1
-rw-r--r--.newsboat/config18
-rw-r--r--.newsboat/urls79
-rw-r--r--.vimrc143
-rw-r--r--.zshrc21
-rw-r--r--baseline/.vimrc19
l---------bin/kaminokumo2
-rw-r--r--devi.zsh-theme8
-rw-r--r--irssi/config29
-rw-r--r--kubernetes/mongodb/mongod.conf15
-rw-r--r--kubernetes/mongodb/mongodb-configmap.yaml7
-rw-r--r--kubernetes/mongodb/mongodb-data-volume.yaml12
-rw-r--r--kubernetes/mongodb/mongodb-deployment.yaml66
-rw-r--r--kubernetes/mongodb/mongodb-secret.yaml8
-rw-r--r--kubernetes/rpi/configmap.yaml (renamed from rpi/configmap.yaml)0
-rw-r--r--kubernetes/rpi/ntp/ntp.conf (renamed from rpi/ntp/ntp.conf)0
-rw-r--r--kubernetes/rpi/pihole-deployment.yaml (renamed from rpi/pihole-deployment.yaml)6
-rw-r--r--kubernetes/rpi/secret.yaml7
-rw-r--r--kubernetes/rpi/squid-proxy-deployment.yaml (renamed from rpi/squid-proxy-deployment.yaml)0
-rw-r--r--kubernetes/rpi/squid/squid.conf (renamed from rpi/squid/squid.conf)0
-rw-r--r--kubernetes/rpi/unbound-deployment.yaml (renamed from rpi/unbound-deployment.yaml)0
-rw-r--r--recfiles/anime.rec28
-rw-r--r--recfiles/manga.rec58
-rwxr-xr-xtmux/vcs_info.sh9
25 files changed, 454 insertions, 97 deletions
diff --git a/.dir_colors b/.dir_colors
index 3179cce..cb76b62 100644
--- a/.dir_colors
+++ b/.dir_colors
@@ -191,10 +191,23 @@ EXEC 01;32
.spx 00;36
.xspf 00;36
# misc
-.o 00;38;5;95
.a 00;38;5;95
+.o 00;38;5;95
+.lo 00;38;5;95
.gch 00;38;5;95
.swp 00;38;5;95
.swo 00;38;5;95
# secrets
.gpg 00;38;5;105
+# c
+.c 00;38;5;25
+.cc 00;38;5;25
+.cpp 00;38;5;25
+# h
+.h 00;38;5;32
+.hpp 00;38;5;32
+# json
+.json 00;38;5;202
+# yaml
+.yaml 00;38;5;134
+.yml 00;38;5;134
diff --git a/.kshrc b/.kshrc
index 5d57d13..165dfe9 100644
--- a/.kshrc
+++ b/.kshrc
@@ -89,3 +89,4 @@ function fd {
export SHELL="ksh"
export PATH=$PATH:/home/devi/scripts/bin
+export PATH=$PATH:/home/devi/google-java-format
diff --git a/.newsboat/config b/.newsboat/config
index d9ba148..c0a18b1 100644
--- a/.newsboat/config
+++ b/.newsboat/config
@@ -16,19 +16,21 @@ color article white black
# highlights
#highlight article "^(Feed|Title|Link|Date|Author):.*$" color31 color0
#highlight article "https?://[^ ]+" color9 color0 protect
-highlight article "^Feed:.*" color174 color237
-highlight article "^Title:.*" color223 color237 bold
-highlight article "^Author:.*" color114 color237
-highlight article "^Link:.*" color116 color237
-highlight article "^Date:.*" color223 color237
-highlight article "\\[[0-9][0-9]*\\]" color66 color237 bold
-highlight article "\\[image [0-9][0-9]*\\]" color109 color237 bold
-highlight article "\\[embedded flash: [0-9][0-9]*\\]" color66 color237 bold
+highlight article "^Feed:.*" color174 black
+highlight article "^Title:.*" color223 black bold
+highlight article "^Author:.*" color114 black
+highlight article "^Link:.*" color116 black
+highlight article "^Date:.*" color223 black
+highlight article "\\[[0-9][0-9]*\\]" color66 black bold
+highlight article "\\[image [0-9][0-9]*\\]" color109 black bold
+highlight article "\\[embedded flash: [0-9][0-9]*\\]" color66 black bold
bind-key j next
bind-key k prev
bind-key j down article
bind-key k up article
+bind-key ^F pagedown
+bind-key ^B pageup
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" color75 default
highlight article "(^Link:.*|^Date:.*)" color75 default
diff --git a/.newsboat/urls b/.newsboat/urls
index 8b758b0..47bd3fa 100644
--- a/.newsboat/urls
+++ b/.newsboat/urls
@@ -1,56 +1,73 @@
-http://horriblesubs.info/rss.php?res=sd
-http://dark-world.ru/rss/albums/
-http://dark-world.ru/rss/compilations/
https://www.reddit.com/r/CryptoCurrency.rss
http://feeds.feedburner.com/abseilio
-https://hackaday.com/blog/feed/
https://www.cyberciti.biz/atom/atom.xml
# (Youtube)
+# Horror
+https://www.youtube.com/feeds/videos.xml?channel_id=UC4QEH0BC7ZQMYIEmr1yAHfQ "~RomNex"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVLZiwP7Hz7GDDaETFmUs7Q "~Magnetar"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHIKRYVrVYwKb2QpoLG5W3w "~Lighthouse_Horror"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UC8AaO8zkIoxbUp1_p0rl13g "~Oculus_Impera"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCnK36WwcJDTEhyS7w3SQntg "~Creepy_Ghost_Stories"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCcZ_-5180OBED8NBkZgkRmQ "~Dr._Creepen"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCcmEL8JoDBE25gvCFkrqhcw "~TheVolgun"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UC_e39rWdkQqo5-LbiLiU10g "~The_Dark_Somnium"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UC79H1bXWDNodOD8_VtZd_DA "~Chilling_Tales_for_Dark_Nights"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UClVIqFHcD0Dvh6BB-bYq1rg "~TheDarkCosmos"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=MrCreepyPasta "~Mr_Creepypasta"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=NaturesTemper "~NaturesTemper"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=ManggMangg "~The_Exploring_Series"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=Luetin09 "~Luetin09"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=CreepsMcPasta "~CreepsMcPasta"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=WeArEraW11 "~ScaryJUJU"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCuoMasRkMhlj1VNVAOJdw5w "~Local58TV"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UC9YXCCz-A28lxhMA-ArfBaA "~Gemini_Home_Entertainment"_("youtube")
+# Tech
https://www.youtube.com/feeds/videos.xml?channel_id=UC-91UA-Xy2Cvb98deRXuggA "~Joshua Fluke"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC0Whg8Zz7TT1VSpWeCjghKg "~-sokoninaru-そこに鳴る"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UC17mJJnvzAa_e9qQqLIfIeQ "~Semicolon&amp;Sons"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Luke_Smith"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC3M7l8ved_rYQ45AVzS0RGA "~The_Jimmy_Dore_Show"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC4QEH0BC7ZQMYIEmr1yAHfQ "~RomNex"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UC4w1YQAJMWOz4qtxinq55LQ "~Level1Techs"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC4xKdmAXFh4ACyhpiQ_3qBw "~TechLead"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC5e__RG9K3cHrPotPABnrwg "~BoostCon"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC6ZMVdbuHN5S2Zcf3c2fAqQ "~Civillain"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC6gD8kk_Z_5bX2PcRk2fwDg "~Pagefire"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC79H1bXWDNodOD8_VtZd_DA "~Chilling_Tales_for_Dark_Nights"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA "~Mental_Outlaw"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5e__RG9K3cHrPotPABnrwg "~BoostCon"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UC8ENHE5xdFSwx71u3fDH5Xw "~ThePrimeagen"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC8W_AGkuup8MnCfU7PPOkAg "~WTFSexyHeadphones"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UC9-y-6csu5WGm29I7JiwpnA "~Computerphile"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCD0y51PJfvkZNe3y3FR5riw "~Chyrosran22"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCorzANoC3fX9VVefJHM5wtA "~Nick_Janetakis"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCoxcjq-8xIDTYp3uz647V5A "~Numberphile"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCyUBW72KU30dfAYWLVNZO8Q "~Stefan_Mischook"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCyp1gCHZJU_fGWFf2rtMkCg "~Numberphile2"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCvEdeev3sZoxi5hMksZI4KA "~gotbletu"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCJ6q9Ie29ajGqKApbLqfBOg "~Black_Hat"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCJMemx7yz_1QwXjHG_rXRhg "~MrCreepyPasta"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCMlGfpWw-RUdWX_JbLCukXg "~CppCon"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCOWcZ6Wicl-1N34H0zZe38w "~Level1Linux"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCQ-W1KE9EYfdxhL6S4twUNw "~The_Cherno"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCfhSB16X9MXhzSFe_H7XbHg "~Bryan_Jenks"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCQN2DsjnYH60SFBIA6IkNwg "~STÖEK"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCS97tchJDq17Qms3cux8wcA "~Chrisatmachine"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "~DistroTube"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCgTNupxATBfWmfehv21ym-g "~Null_Byte"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "~Brodie_Robertson"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw "~Linus_Tech_Tips"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCa6eh7gCkpPo5XXUDfygQQA "~Ippsec"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdngmbVKX1Tgre699-XLlUA "~Tech_World_With_Nana"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCfp-lNJy4QkIGnaEE6NtDSg "~Terminalforlife"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UCylGUf9BvQooEFjgdNudoQg "~The_Linux_Cast"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=g297125009 "~Gavin_Freeborn"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=Hak5Darren "~Hak_5"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=GISIGeometry "~Hussein_Nasser"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=geerlingguy "~Jeff_Geerling"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=JtheLinuxguy "~Learn_Linux_TV"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=NetworkChuck "~NetworkChuck"_("youtube")
+# Misc
+https://www.youtube.com/feeds/videos.xml?channel_id=UC0Whg8Zz7TT1VSpWeCjghKg "~-sokoninaru-そこに鳴る"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UC3M7l8ved_rYQ45AVzS0RGA "~The_Jimmy_Dore_Show"_("youtube")
+https://www.youtube.com/feeds/videos.xml?channel_id=UC6gD8kk_Z_5bX2PcRk2fwDg "~Pagefire"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCQPmOWNza6PMesQaWWBEhJA "~Anabolic_Aliens"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCS5tt2z_DFvG7-39J3aE-bQ "~Life_of_Boris"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCS97tchJDq17Qms3cux8wcA "~Chrisatmachine"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCVHOgH4XEyYx-ZEaya1XqCQ "~Cryo_Chamber"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "~DistroTube"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCWUxLYGeeIKxxioUqL54Q8g "~GP-_Penitentiary_Life_Wes_Watson"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw "~Linus_Tech_Tips"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCYyWrpcVU2PZlLohFaYOZUw "~The_Exploring_Series"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UC_NSOckDnuypJK_FpCO6ogA "~SGtMarkIV"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UC_e39rWdkQqo5-LbiLiU10g "~The_Dark_Somnium"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCcZ_-5180OBED8NBkZgkRmQ "~Dr._Creepen"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCchBatdUMZoMfJ3rIzgV84g "~Viva_La_Dirt League"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCcmEL8JoDBE25gvCFkrqhcw "~TheVolgun"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCfhSB16X9MXhzSFe_H7XbHg "~Bryan_Jenks"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCgTNupxATBfWmfehv21ym-g "~Null_Byte"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "~Brodie_Robertson"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCnK36WwcJDTEhyS7w3SQntg "~Creepy_Ghost_Stories"_("youtube")
https://www.youtube.com/feeds/videos.xml?channel_id=UCoJTOwZxbvq8Al8Qat2zgTA "~Kim_Iversen"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCorzANoC3fX9VVefJHM5wtA "~Nick_Janetakis"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCoxcjq-8xIDTYp3uz647V5A "~Numberphile"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCrmnnE3yzpAyAuX_hRqyLdg "~Software_Engineering_Institute_|_Carnegie_Mellon_University"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCyUBW72KU30dfAYWLVNZO8Q "~Stefan_Mischook"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCyp1gCHZJU_fGWFf2rtMkCg "~Numberphile2"_("youtube")
-https://www.youtube.com/feeds/videos.xml?channel_id=UCvEdeev3sZoxi5hMksZI4KA "~gotbletu"_("youtube")
+https://www.youtube.com/feeds/videos.xml?user=lexfridman "~Lex_Fridman"_("youtube")
+
diff --git a/.vimrc b/.vimrc
index fa14dd5..6cc8d2c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -3,6 +3,8 @@ let maplocalleader = ","
set encoding=UTF-8
set nocompatible
set completeopt-=preview
+set completeopt+=menuone
+set completeopt+=noselect
set showmatch
set list
set title
@@ -81,7 +83,7 @@ let g:is_posix = 1
set rtp+=/usr/bin/fzf
" set rtp+=/home/bloodstalker/extra/llvm-clang-4/build/bin/clangd
" set rtp+=/usr/local/bin/pyls
-let g:polyglot_disabled = ['go.plugin', 'markdown.plugin', 'terraform.plugin', 'haproxy.plugin']
+let g:polyglot_disabled = ['go.plugin', 'markdown.plugin', 'terraform.plugin', 'haproxy.plugin', 'python.plugin', 'python-compiler.plugin', 'python-indent.plugin', 'c.plugin', 'cpp.plugin']
" call plug#begin('~/.vim/plugged')
call plug#begin('~/.vim/bundle')
@@ -90,7 +92,6 @@ Plug 'vim-airline/vim-airline-themes'
Plug 'mbbill/undotree', {'on': 'UndotreeToggle'}
Plug 'mhinz/vim-startify'
Plug 'ctrlpvim/ctrlp.vim'
-Plug 'kh3phr3n/python-syntax'
Plug 'VundleVim/Vundle.vim'
Plug 'scrooloose/nerdtree'
Plug 'sickill/vim-pasta'
@@ -106,7 +107,8 @@ Plug 'plasticboy/vim-markdown'
Plug 'neomutt/neomutt.vim'
Plug 'sngn/vim-i3blocks-syntax'
Plug 'rhysd/vim-wasm'
-Plug 'nathanaelkane/vim-indent-guides'
+" makes scrolling slow and doesnt work with vista popups
+" Plug 'nathanaelkane/vim-indent-guides'
Plug 'tomlion/vim-solidity'
Plug 'dense-analysis/ale'
Plug 'ekalinin/Dockerfile.vim'
@@ -150,7 +152,6 @@ Plug 'junegunn/fzf.vim'
Plug 'chiel92/vim-autoformat'
Plug 'vim-scripts/ZoomWin'
Plug 'wakatime/vim-wakatime'
-Plug 'terryma/vim-expand-region'
Plug 'tpope/vim-surround'
Plug 'vim-scripts/DoxyGen-Syntax'
Plug 'vim-scripts/DoxygenToolkit.vim'
@@ -195,6 +196,16 @@ Plug 'dansomething/vim-hackernews'
Plug 'andrewstuart/vim-kubernetes'
Plug 'Joorem/vim-haproxy'
Plug 'jaxbot/semantic-highlight.vim', {'on': 'SemanticHighlightToggle'}
+Plug 'liuchengxu/vista.vim'
+Plug 'uiiaoo/java-syntax.vim'
+Plug 'tpope/vim-dispatch'
+Plug 'kh3phr3n/python-syntax'
+Plug 'zaid/vim-rec'
+" Plug 'kana/vim-operator-user'
+" Plug 'haya14busa/vim-operator-flashy'
+" Plug 'terryma/vim-expand-region'
+" Plug 'romainl/vim-devdocs'
+" Plug 'rhysd/devdocs.vim'
" Plug 'psliwka/vim-smoothie'
" Plug 'lifepillar/pgsql.vim', {'for': ['sql','pqsl', 'pgsql']}
" Plug 'tmux-plugins/vim-tmux'
@@ -216,7 +227,6 @@ Plug 'jaxbot/semantic-highlight.vim', {'on': 'SemanticHighlightToggle'}
" Plug 'tpope/vim-speeddating'
" Plug 'powerman/vim-plugin-AnsiEsc'
" Plug 'xolox/vim-misc'
-" Plug 'liuchengxu/vista.vim'
" Plug 'metakirby5/codi.vim'
" Plug 'vim-scripts/tagexplorer.vim'
" Plug 'MattesGroeger/vim-bookmarks'
@@ -229,6 +239,7 @@ Plug 'jaxbot/semantic-highlight.vim', {'on': 'SemanticHighlightToggle'}
" Plug 'maxbrunsfeld/vim-yankstack'
" Plug 'gcmt/wildfire.vim'
" Plug 'luochen1990/rainbow'
+" Plug 'voldikss/vim-floaterm'
call plug#end()
filetype plugin indent on
@@ -268,6 +279,7 @@ let g:cpp_class_decl_highlight = 1
let g:cpp_experimental_template_highlight = 1
let g:cpp_concepts_highlight = 1
let g:cpp_posix_standard = 1
+hi link cAnsiFunction Exception
hi Normal ctermbg=None
@@ -341,31 +353,47 @@ imap <PageUp> <Nop>
imap <PageDown> <Nop>
"end of n00b stuff
-au BufRead,BufNewFile .i3blocks.conf set filetype=i3blocks
-au BufRead,BufNewFile *.zsh-theme set filetype=zsh
-au BufEnter,FileType cpp set syntax=cpp.doxygen
-au BufEnter,FileType c set syntax=cpp.doxygen
-"sets filetype for muttrc to neomuttrc not muttrc since i'm too lazy
-"to be bothered to change the name of my rc that i pass to neomutt
-au BufNewFile,BufRead .muttrc set filetype=neomuttrc
-au BufNewFile,BufRead,BufEnter *.toml set filetype=toml
+au BufEnter .i3blocks.conf setlocal filetype=i3blocks
+au BufEnter *.zsh-theme setlocal filetype=zsh
+au BufEnter .muttrc setlocal filetype=neomuttrc
+au BufEnter *.toml setlocal filetype=toml
+au BufEnter *.s setlocal filetype=gas
-au BufNewFile,BufEnter,BufRead *.s set ft=gas
-au BufEnter,FileType *.wast set syntax=wast
-au BufEnter,FileType *.wat set syntax=wast
-au BufEnter,FileType *.uml set syntax=plantuml
+au FileType cpp setlocal syntax=cpp.doxygen
+au FileType c setlocal syntax=cpp.doxygen
+au FileType *.wast setlocal syntax=wast
+au FileType *.wat setlocal syntax=wast
+au FileType *.uml setlocal syntax=plantuml
"python configs
"PEP-8
-au BufNewFile,BufEnter *.py set tabstop=4
-au BufNewFile,BufEnter *.py set softtabstop=4
-au BufNewFile,BufEnter *.py set shiftwidth=4
+au FileType *.py setlocal tabstop=4
+au FileType *.py setlocal softtabstop=4
+au FileType *.py setlocal shiftwidth=4
" au BufNewFile,BufEnter *.py set textwidth=79
-au BufNewFile,BufEnter *.py set expandtab
-au BufNewFile,BufEnter *.py set autoindent
-au BufNewFile,BufEnter *.py set fileformat=unix
+au FileType *.py setlocal expandtab
+au FileType *.py setlocal autoindent
+au FileType *.py setlocal fileformat=unix
+"python syntax highlighting
+"let g:python_slow_sync = 0
let python_highlight_all = 1
+hi link pythonBuiltin Define
+hi link pythonInclude PreCondit
+hi link pythonClassParameters Constant
+hi link pythonFunctionParameters Constant
+hi link pythonExtraOperator Keyword
+hi link pythonDoctest Tag
+hi link pythonRawString Tag
+hi link pythonTripleQuotes SpecialComment
+
+nmap <leader>sp :call <SID>SynStack()<CR>
+function! <SID>SynStack()
+ if !exists("*synstack")
+ return
+ endif
+ echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
+endfunc
"mapping fast keycodes
"the key codes are for my build of st
@@ -437,7 +465,7 @@ nnoremap <F12> :UndotreeToggle<CR>
nnoremap <F10> :vsp<cr>
nnoremap <S-F10> :sp<cr>
nnoremap <F5> :ContextToggle<CR>
-map <F8> :TagbarToggle<CR>
+map <F8> :Vista!!<CR>
augroup LatexAU
autocmd!
autocmd filetype tex map <F8> :VimtexTocToggle<CR>
@@ -482,6 +510,8 @@ cnoremap <C-e> <End>
" nnoremap gk k
" nnoremap j gj
" nnoremap gj j
+nmap <leader>m :make<CR>
+nmap <leader>sh :so $VIMRUNTIME/syntax/hitest.vim<CR>
nmap [q :col<CR>
nmap ]q :cnew<CR>
@@ -758,7 +788,9 @@ let g:tagbar_type_tf = {
\ }
"doxygentoolkit
-autocmd BufNewFile,BufRead,BufEnter *.sol let g:DoxygenToolkit_briefTag_pre="@dev "
+autocmd FileType *.sol let g:DoxygenToolkit_briefTag_pre="@dev "
+" let g:doxygen_enhanced_color = 1
+let g:syntax_extra_java="doxygen"
"open-pdf conf
let g:pdf_convert_on_edit = 1
@@ -1061,12 +1093,12 @@ let g:netrw_sort_direction = 'normal'
"vimcompletesme
let g:vcm_default_maps = 0
-autocmd FileType c,cpp let b:vcm_tab_complete = "omni"
-autocmd FileType lua let b:vcm_tab_complete = "omni"
-autocmd FileType go let b:vcm_tab_complete = "omni"
-autocmd FileType rust let b:vcm_tab_complete = "omni"
-autocmd FileType python let b:vcm_tab_complete = "omni"
-autocmd FileType javasript let b:vcm_tab_complete = "omni"
+autocmd FileType c,cpp let b:vcm_tab_complete = 'omni'
+autocmd FileType lua let b:vcm_tab_complete = 'omni'
+autocmd FileType go let b:vcm_tab_complete = 'omni'
+autocmd FileType rust let b:vcm_tab_complete = 'omni'
+autocmd FileType python let b:vcm_tab_complete = 'omni'
+autocmd FileType javasript let b:vcm_tab_complete = 'omni'
"sets the dictionary for autocompletion with <C-n> and <C-p> for the
"filetypes
@@ -1142,15 +1174,18 @@ nnoremap <leader>jr :YcmCompleter GoToReferences<CR>
nnoremap <leader>ji :YcmCompleter GoToInclude<CR>
nnoremap <leader>jj :YcmCompleter GoTo<CR>
nnoremap <leader>jt :YcmCompleter GoToType<CR>
+nmap <leader>jw <Plug>(YCMFindSymbolInWorkspace)
+nmap <leader>jd <Plug>(YCMFindSymbolInDocument)
nnoremap <leader>gt :YcmCompleter GetType<CR>
nnoremap <leader>gd :YcmCompleter GetDoc<CR>
nnoremap <leader>gc :YcmCompleter GoToDocumentOutline<CR>
nnoremap <leader>rr :YcmCompleter RefactorRename<space>
nmap <leader>D <plug>(YCMHover)
-nmap <leader>yfw <Plug>(YCMFindSymbolInWorkspace)
-nmap <leader>yfd <Plug>(YCMFindSymbolInDocument)
+" nmap <leader>yfw <Plug>(YCMFindSymbolInWorkspace)
+" nmap <leader>yfd <Plug>(YCMFindSymbolInDocument)
let g:ycm_collect_identifiers_from_tags_files = 1
let g:ycm_seed_identifiers_with_syntax = 1
+let g:ycm_auto_hover = "CursorHold"
augroup YCMDocCFam
autocmd!
@@ -1342,21 +1377,26 @@ let g:ale_disable_lsp = 1
let g:ale_change_sign_column_color = 1
let g:ale_fix_on_save = 1
let g:ale_sign_column_always = 1
+let g:ale_echo_msg_error_str = 'E'
+let g:ale_echo_msg_warning_str = 'W'
+let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
+highlight AleWarning ctermbg=25
+highlight AleWarningSign ctermbg=25
augroup ALEJS
autocmd!
autocmd FileType javascript let b:ale_linters = {'javascript': ['eslint']}
autocmd FileType javascript let b:ale_fixers = {'javascript': ['prettier']}
augroup END
+let g:ale_python_black_options = "--line-length 79"
augroup ALEPY
autocmd!
autocmd FileType python let b:ale_linters = {'python': ['flake8']}
- autocmd FileType python let b:ale_fixers = {'python': ['autopep8']}
+ autocmd FileType python let b:ale_fixers = {'python': ['black']}
augroup END
augroup ALERUBY
autocmd!
autocmd FileType ruby let b:ale_linters = {'ruby': ['rubocop']}
autocmd FileType ruby let b:ale_fixers = {'ruby': ['rubocop']}
- " autocmd FileType ruby let b:ale_fixers = {'ruby': ['rufo']}
augroup END
augroup ALEMARKDOWN
autocmd!
@@ -1365,10 +1405,23 @@ augroup END
augroup ALEC
autocmd!
autocmd FileType c let b:ale_linters = {'c': ['clang-tidy']}
+ autocmd FileType c let b:ale_fixers = {'c': ['clang-format']}
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']}
+augroup END
+augroup ALEHTML
+ autocmd!
+ autocmd FileType html let b:ale_linters = {'html': ['htmlhint']}
+ autocmd FileType html let b:ale_fixers = {'html': ['prettier']}
+augroup END
+" let g:ale_java_google_java_format_options="-i"
+augroup ALEJAVA
+ autocmd!
+ autocmd FileType java let b:ale_linters = {'java': ['checkstyle']}
+ autocmd FileType java let b:ale_fixers = {'java': ['google_java_format']}
augroup END
"latex
@@ -1381,7 +1434,7 @@ let g:indent_guides_guide_size = 1
let g:indent_guides_start_level = 2
let g:indent_guides_tab_guides = 0
let g:indent_guides_enable_on_vim_startup = 1
-let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'man', 'vimwiki', 'go']
+let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'man', 'vimwiki', 'go', 'markdown', 'vista', 'floaterm', 'popup']
let g:indent_guides_default_mapping = 0
"ctrlspace
@@ -1394,7 +1447,7 @@ hi CtrlSpaceSearch ctermfg=25 ctermbg=NONE
hi CtrlSpaceStatusLine ctermfg=99 ctermbg=NONE cterm=bold
"vim-go
-let g:go_auto_sameids = 1
+let g:go_auto_sameids = 0
let g:go_highlight_functions = 1
let g:go_highlight_function_calls = 1
let g:go_highlight_types = 1
@@ -1493,7 +1546,23 @@ let g:CheatSheetReaderCmd='vert new'
let g:CheatPager='less --RAW-CONTROL-CHARS --ignore-case --status-column --LONG-PROMPT --HILITE-UNREAD --tabs=2'
let g:CheatSheetPagerStyle="native"
+" vista
+let g:vista_icon_indent = ["╰─▸ ", "├─▸ "]
+let g:vista#renderer#enable_icon = 1
+let g:vista_sidebar_width = 50
+let g:vista_echo_cursor_strategy = "both"
+let g:vista_executive_for = {
+ \ 'vimwiki': 'markdown',
+ \ 'pandoc': 'markdown',
+ \ 'markdown': 'toc',
+ \ }
+let g:vista_stay_on_open = 0
+" let g:vista_no_mappings = 1
+
+let g:recutils_no_maps = 1
+
"this should be here at the end so nothing else could override it
hi SpecialKey ctermbg=16
hi Pmenu ctermbg=233
hi SignColumn ctermbg=16
+hi Exception ctermbg=None ctermfg=61
diff --git a/.zshrc b/.zshrc
index 477365d..fc49c54 100644
--- a/.zshrc
+++ b/.zshrc
@@ -5,9 +5,9 @@ export ZSH=/home/devi/.oh-my-zsh
ZSH_THEME="devi"
-COMPLETION_WAITING_DOTS="true"
+COMPLETION_WAITING_DOTS="false"
-plugins=(git zsh-syntax-highlighting autojump virtualenv virtualenvwrapper cargo npm docker rustup zsh-autosuggestions zsh-kubectl-prompt kubectl docker-compose vagrant golang zsh-prompt-benchmark)
+plugins=(git evalcache zsh-syntax-highlighting autojump virtualenv virtualenvwrapper cargo npm docker rustup zsh-autosuggestions zsh-kubectl-prompt kubectl docker-compose vagrant golang zsh-prompt-benchmark)
export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/devi/.local/bin:/home/devi/bin"
@@ -18,7 +18,9 @@ autoload -U compinit && compinit -u
# create LS_COLORS
eval `dircolors ~/.dir_colors`
+# _evalcache dircolors ~/.dir_colors
+alias vv="vim"
alias ls="ls --color=auto"
alias la="ls -A"
# alias ll="exa -abghHliSmxF --color-scale --git -@"
@@ -206,7 +208,7 @@ math() {
}
fd() {
- ls -l $(find -iname "*$1*")
+ ls -l | find -iname "*$1*"
}
pss() {
@@ -240,7 +242,7 @@ alias def="sdcv --color"
export GOENV_ROOT="$HOME/.goenv"
export PATH="$GOENV_ROOT/bin:$PATH"
-export LESS='--RAW-CONTROL-CHARS --ignore-case --status-column --LONG-PROMPT --HILITE-UNREAD --tabs=2'
+export LESS='--RAW-CONTROL-CHARS --ignore-case --hilite-search --status-column --LONG-PROMPT --HILITE-UNREAD --tabs=2 '
export LESSOPEN='|~/scripts/lesscolor.sh %s'
export PYGMENTIZE_STYLE="paraiso-dark"
# libtrash settings
@@ -290,6 +292,11 @@ export PATH=$PATH:/home/devi/opam
export PATH=$PATH:/home/devi/devi/ghorg
export PATH=$PATH:/home/devi/kubectl
export PATH=$PATH:/home/devi/solidity
+export PATH=$PATH:/home/devi/devi/emsdk.git/main
+export PATH=$PATH:/home/devi/devi/emsdk.git/main/node/14.15.5_64bit/bin
+export PATH=$PATH:/home/devi/devi/emsdk.git/main/upstream/emscripten
+export PATH=$PATH:/home/devi/google-java-format
+export PATH=$PATH:/home/devi/gradle/gradle-7.2/bin
export EDITOR=vim
export BROWSER=w3m
@@ -359,7 +366,8 @@ export KEYTIMEOUT=1
export VIRTUAL_ENV_DISABLE_PROMPT=yes
# fnm
-eval "$(fnm env)"
+# eval "$(fnm env)"
+_evalcache fnm env
# OPAM configuration
. /home/devi/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
@@ -564,3 +572,6 @@ ranger() {
fi
command rm -f -- "$tempfile" 2>/dev/null
}
+
+# eval "$(rbenv init -)"
+_evalcache rbenv init -
diff --git a/baseline/.vimrc b/baseline/.vimrc
index 29f5659..fada8b3 100644
--- a/baseline/.vimrc
+++ b/baseline/.vimrc
@@ -2,6 +2,8 @@ set encoding=UTF-8
let mapleader = " "
set nocompatible
set completeopt-=preview
+set completeopt+=menuone
+set completeopt+=noselect
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@@ -20,6 +22,7 @@ Plugin 'mbbill/undotree'
Plugin 'tpope/vim-commentary'
Plugin 'wellle/context.vim'
Plugin 'roxma/vim-tmux-clipboard'
+Plugin 'lifepillar/vim-mucomplete'
call vundle#end()
filetype plugin indent on
@@ -31,7 +34,7 @@ let g:jellybeans_overrides = {
\ 'Todo': { 'guifg': '000000', 'guibg': '00cc00',
\ 'ctermfg': 'Black', 'ctermbg': 'Blue',
\ 'attr': 'bold' },
-\ 'Comment': { 'guifg': '339966' },
+\ 'Comment': { 'guibg': '339966', 'guifg': '000000' },
\ 'background': { "guibg": "000000", "ctermbg":"none"},
\ 'StorageClass': {"guifg": '9966ff' },
\ 'Exception': {"guifg": "99cc00"},
@@ -101,12 +104,15 @@ set pastetoggle=<F11>
nnoremap <leader>cd :cd %:p:h<cr>
nmap ]c :cn<CR>
nmap [c :cp<CR>
+nnoremap <leader>nn :bn<CR>
+nnoremap <leader>pp :bp<CR>
cnoremap <C-a> <Home>
cnoremap <C-e> <End>
-nnoremap k gk
-nnoremap gk k
-nnoremap j gj
-nnoremap gj j
+" nnoremap k gk
+" nnoremap gk k
+" nnoremap j gj
+" nnoremap gj j
+nmap <leader>m :make<CR>
function! GetBufferList()
redir =>buflist
@@ -309,6 +315,9 @@ if has('cscope')
command -nargs=0 Cscope cs add $VIMSRC/src/cscope.out $VIMSRC/src
endif
+let g:mucomplete#enable_auto_at_startup = 1
+let g:mucomplete#completion_delay = 1
+
if has("gui")
set guifont=DejaVu_Sans_Mono_for_Powerline:h10
set guioptions-=m
diff --git a/bin/kaminokumo b/bin/kaminokumo
index f116475..03309e7 120000
--- a/bin/kaminokumo
+++ b/bin/kaminokumo
@@ -1 +1 @@
-/home/devi/kaminokumo/kaminokumo \ No newline at end of file
+/home/devi/devi/kaminokumo.git/master/kaminokumo \ No newline at end of file
diff --git a/devi.zsh-theme b/devi.zsh-theme
index 9926600..f64505e 100644
--- a/devi.zsh-theme
+++ b/devi.zsh-theme
@@ -58,6 +58,7 @@ if [[ $TERM = *256color* || $TERM = *rxvt* ]]; then
veryorange="%F{202}"
yablue="%F{32}"
yagreen="%F{34}"
+ babyblue="%F{39}"
else
turquoise="$fg[cyan]"
orange="$fg[yellow]"
@@ -161,6 +162,11 @@ node_version() {
echo " <$version>"
}
+ruby_version() {
+ local version=$(rbenv version | gawk '{print $1}')
+ echo " <$version>"
+}
+
sudo_query() {
sudo -nv > /dev/null 2>&1
if [[ $? == 0 ]]; then
@@ -257,7 +263,7 @@ rebuildquery() {
}
-PS1=$'%{$new2%}$(sudo_query)%{$reset_color%}%{$swampgreen%}%n%{$reset_color%} on %{$purblue%}%M%{$reset_color%} in %{$yagreen%}$(pwd_shortened)%{$reset_color%} at %{$muckgreen%}$(time_function)%{$reset_color%}$vcs_info_msg_0_%{$limblue%}%{$gnew%}$(gitadditions)%{$gnew2%}$(gitdeletions)%{$reset_color%}%{$deeppink%}$(virtualenv_info)%{$reset_color%}%{$teal%}$(node_version)%{$reset_color%}%{$gover%}$(goversion)%{$reset_color%}%{$rust%}$(rustversion)%{$reset_color%}%{$sneakyc%}$(sneaky)%{$reset_color%}%{$new%}$(rebuildquery)%{$reset_color%} %{$someblue%}<$ZSH_KUBECTL_PROMPT>%{$reset_color%}%{$batred%}$(dir_writeable)%{$reset_color%}'
+PS1=$'%{$new2%}$(sudo_query)%{$reset_color%}%{$swampgreen%}%n%{$reset_color%} on %{$purblue%}%M%{$reset_color%} in %{$yagreen%}$(pwd_shortened)%{$reset_color%} at %{$muckgreen%}$(time_function)%{$reset_color%}$vcs_info_msg_0_%{$limblue%}%{$gnew%}$(gitadditions)%{$gnew2%}$(gitdeletions)%{$reset_color%}%{$deeppink%}$(virtualenv_info)%{$reset_color%}%{$teal%}$(node_version)%{$reset_color%}%{$gover%}$(goversion)%{$reset_color%}%{$rust%}$(rustversion)%{$reset_color%}%{$babyblue%}$(ruby_version)%{$reset_color%}%{$sneakyc%}$(sneaky)%{$reset_color%}%{$new%}$(rebuildquery)%{$reset_color%} %{$someblue%}<$ZSH_KUBECTL_PROMPT>%{$reset_color%}%{$batred%}$(dir_writeable)%{$reset_color%}'
PS2=$''
PS3=$'\n%{$limblue%}--➜%{$reset_color%}'
get_prompt_len() {
diff --git a/irssi/config b/irssi/config
index 4a8f259..a0d4369 100644
--- a/irssi/config
+++ b/irssi/config
@@ -4,6 +4,7 @@ servers = (
address = "irc.gitter.im";
chatnet = "gitter";
port = "6697";
+ password = "9e184da16a69ba773e71914c48060965c1e9f290";
use_tls = "yes";
tls_verify = "yes";
autoconnect = "yes";
@@ -12,6 +13,7 @@ servers = (
address = "192.99.102.52";
chatnet = "FRRouting.slack.com";
port = "6667";
+ password = "xoxc-162493688432-2090314984309-2093779171413-ca37c32503d3e6f878a29b26434da3e337ca27f23e9245babb9f64aba72c0391|d=gBhFnyIGQ4C8WJaElyR1Xm9va0QP81%2FfSgdg8qXdwG9%2F8UwLC6lDZX0Fok0s4dPPwesLmtX9a%2BhgmopNNqWBx4nPQBEA4jZhX7cWkJYS1xUy2bMXLeMrZ7O3Q7ZeXxw1G%2Bw4WwflypWLftsnb6kP6kW5gZ5DbnyjKK40PONs2cmgr1opX%2FTsxKkK;";
use_tls = "no";
tls_verify = "no";
autoconnect = "yes";
@@ -22,14 +24,21 @@ servers = (
autoconnect = "yes";
},
{ address = "irc.oftc.net"; chatnet = "oftc"; autoconnect = "yes"; },
- { address = "localhost"; port = "6667"; chatnet = "bitlbee"; autoconnect = "yes"; }
+ {
+ address = "localhost";
+ port = "6667";
+ chatnet = "bitlbee";
+ autoconnect = "yes";
+ }
);
chatnets = {
libera = { type = "IRC"; nick = "terminaldweller"; };
OFTC = { type = "IRC"; 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"; };
+ bitlbee = { type = "IRC"; };
};
channels = (
@@ -37,6 +46,8 @@ channels = (
{ name = "#qemu"; chatnet = "libera"; autojoin = "yes"; },
{ name = "#fdio-vpp"; chatnet = "libera"; autojoin = "yes"; },
{ name = "#openssl"; chatnet = "libera"; autojoin = "yes"; },
+ { name = "#qemu"; chatnet = "OFTC"; autojoin = "yes"; },
+ { name = "#virt"; chatnet = "OFTC"; autojoin = "yes"; },
{ name = "#kvm"; chatnet = "libera"; autojoin = "yes"; }
);
@@ -255,11 +266,13 @@ statusbar = {
user = { };
window = { };
window_empty = { };
+ mh_sbsplitmode = { };
lag = { priority = "-1"; };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
otr = { };
usercount = { };
+ rotator = { };
};
};
@@ -320,6 +333,7 @@ statusbar = {
barend = { alignment = "right"; };
};
};
+ dccstat = { items = { dccstat = { }; }; disabled = "yes"; };
awl_0 = {
items = {
barstart = { priority = "100"; };
@@ -375,6 +389,12 @@ settings = {
timezones = "GMT:GMT EST:EST CET:CET Tehran:Asia/Tehran Tokyo:Asia/Tokyo Montreal:America/Montreal Pacific:America/Los_Angeles Paris:Europe/Paris";
# hilite_url
url_color = "38;5;6";
+ # rotator
+ rotator_chars = ". o 0 O";
+ rotator_speed = "1000";
+ rotator_bounce = "yes";
+ dccstat_hide_sbar_when_inactive = "yes";
+ dccstat_cycle_through_transfers = "yes";
};
};
keyboard = (
@@ -391,8 +411,11 @@ 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 = ( "#qemu" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#vagrant" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#openssl" ); },
- { level = "JOINS PARTS QUITS NICKS"; channels = ( "#crypto" ); }
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#crypto" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#virt" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#debian" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#debian-next" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#qemu" ); }
);
diff --git a/kubernetes/mongodb/mongod.conf b/kubernetes/mongodb/mongod.conf
new file mode 100644
index 0000000..85d2bd9
--- /dev/null
+++ b/kubernetes/mongodb/mongod.conf
@@ -0,0 +1,15 @@
+# vim: ft=yaml
+systemLog:
+ destination: file
+ path: "/var/log/mongodb/mongod.log"
+ logAppend: true
+storage:
+ journal:
+ enabled: true
+processManagement:
+ fork: true
+net:
+ bindIp: 0.0.0.0
+ port: 27017
+setParameter:
+ enableLocalhostAuthBypass: false
diff --git a/kubernetes/mongodb/mongodb-configmap.yaml b/kubernetes/mongodb/mongodb-configmap.yaml
new file mode 100644
index 0000000..19a484e
--- /dev/null
+++ b/kubernetes/mongodb/mongodb-configmap.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: mongodb-configmap
+data:
+ mongodb_db__anime_name: anime
+ mongodb_db_manga_name: manga
diff --git a/kubernetes/mongodb/mongodb-data-volume.yaml b/kubernetes/mongodb/mongodb-data-volume.yaml
new file mode 100644
index 0000000..6b7d44b
--- /dev/null
+++ b/kubernetes/mongodb/mongodb-data-volume.yaml
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ name: mongo-data
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/kubernetes/mongodb/mongodb-deployment.yaml b/kubernetes/mongodb/mongodb-deployment.yaml
new file mode 100644
index 0000000..778fd60
--- /dev/null
+++ b/kubernetes/mongodb/mongodb-deployment.yaml
@@ -0,0 +1,66 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: mongodb
+ labels:
+ app: mongodb
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: mongodb
+ template:
+ metadata:
+ labels:
+ app: mongodb
+ spec:
+ containers:
+ - name: mongodb
+ image: mongo:4.4.10
+ ports:
+ - containerPort: 27017
+ - containerPort: 27018
+ - containerPort: 27019
+ env:
+ - name: MONGO_INITDB_ROOT_USERNAME
+ valueFrom:
+ secretKeyRef:
+ name: mongodb-secrets
+ key: mongodb-root-username
+ - name: MONGO_INITDB_ROOT_PASSWORD
+ valueFrom:
+ secretKeyRef:
+ name: mongodb-secrets
+ key: mongodb-root-password
+ volumeMounts:
+ - mountPath: /data/db
+ name: mongo-data
+ volumes:
+ - name: mongo-data
+ persistentVolumeClaim:
+ claimName: mongo-data
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: mongodb-service
+spec:
+ selector:
+ app: mongodb
+ type: LoadBalancer
+ ports:
+ - protocol: TCP
+ name: "6617"
+ port: 27117
+ targetPort: 27017
+ nodePort: 30017
+ - protocol: TCP
+ name: "6618"
+ port: 27118
+ targetPort: 27018
+ nodePort: 30018
+ - protocol: TCP
+ name: "6619"
+ port: 27119
+ targetPort: 27019
+ nodePort: 30019
diff --git a/kubernetes/mongodb/mongodb-secret.yaml b/kubernetes/mongodb/mongodb-secret.yaml
new file mode 100644
index 0000000..3a5fa46
--- /dev/null
+++ b/kubernetes/mongodb/mongodb-secret.yaml
@@ -0,0 +1,8 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: mongodb-secrets
+type: Opaque
+data:
+ mongodb-root-username: bW9uZ29hZG1pbgo=
+ mongodb-root-password: bW9uZ29hZG1pbgo=
diff --git a/rpi/configmap.yaml b/kubernetes/rpi/configmap.yaml
index 551ee23..551ee23 100644
--- a/rpi/configmap.yaml
+++ b/kubernetes/rpi/configmap.yaml
diff --git a/rpi/ntp/ntp.conf b/kubernetes/rpi/ntp/ntp.conf
index b81b065..b81b065 100644
--- a/rpi/ntp/ntp.conf
+++ b/kubernetes/rpi/ntp/ntp.conf
diff --git a/rpi/pihole-deployment.yaml b/kubernetes/rpi/pihole-deployment.yaml
index 49e44fe..cee5d53 100644
--- a/rpi/pihole-deployment.yaml
+++ b/kubernetes/rpi/pihole-deployment.yaml
@@ -2,12 +2,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: pihole
- lables:
+ labels:
app: pihole
spec:
replicas: 1
- selctor:
- matchlabels:
+ selcetor:
+ matchLabels:
app: pihole
template:
metadata:
diff --git a/kubernetes/rpi/secret.yaml b/kubernetes/rpi/secret.yaml
new file mode 100644
index 0000000..0ac4b60
--- /dev/null
+++ b/kubernetes/rpi/secret.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: k3s-rpi-secrets
+type: Opaque
+data:
+ pihole-webpassword: WGFzaG1pdGgjNjY2Cg==
diff --git a/rpi/squid-proxy-deployment.yaml b/kubernetes/rpi/squid-proxy-deployment.yaml
index 70ec65e..70ec65e 100644
--- a/rpi/squid-proxy-deployment.yaml
+++ b/kubernetes/rpi/squid-proxy-deployment.yaml
diff --git a/rpi/squid/squid.conf b/kubernetes/rpi/squid/squid.conf
index 5099bbc..5099bbc 100644
--- a/rpi/squid/squid.conf
+++ b/kubernetes/rpi/squid/squid.conf
diff --git a/rpi/unbound-deployment.yaml b/kubernetes/rpi/unbound-deployment.yaml
index 26f8997..26f8997 100644
--- a/rpi/unbound-deployment.yaml
+++ b/kubernetes/rpi/unbound-deployment.yaml
diff --git a/recfiles/anime.rec b/recfiles/anime.rec
new file mode 100644
index 0000000..191c408
--- /dev/null
+++ b/recfiles/anime.rec
@@ -0,0 +1,28 @@
+%rec: anime
+%mandatory: Name URL
+%type: Location enum loaned home unknown
+%doc:
+
+Name: platinum end
+URL: https://kissanime.lol/Anime/platinum-end.wo0od/
+
+Name: mushoku tensei
+URL: https://kissanime.lol/Anime/mushoku-tensei-jobless-reincarnation-cour-2.wo07d/
+
+Name: assassin
+URL: https://kissanime.lol/Anime/the-worlds-finest-assassin-gets-reincarnated-in-another-world-as-an-aristocrat.woi8c/
+
+Name: banished from heroes party
+URL: https://kissanime.lol/Anime/banished-from-the-heros-party-i-decided-to-live-a-quiet-life-in-the-countryside.wwfdb/
+
+Name: deep insanity
+URL: https://kissanime.lol/Anime/deep-insanity-the-lost-child.wooa6/
+
+Name: vampire cosmonaut
+URL: https://kissanime.lol/Anime/irina-the-vampire-cosmonaut.wowwo/
+
+Name: mieruko-chain
+URL: https://kissanime.lol/Anime/mieruko-chan.wowwu/
+
+Name: 86
+URL: https://kissanime.lol/Anime/86-eighty-six-season-2.woowu/
diff --git a/recfiles/manga.rec b/recfiles/manga.rec
new file mode 100644
index 0000000..3cff79f
--- /dev/null
+++ b/recfiles/manga.rec
@@ -0,0 +1,58 @@
+%rec: manga
+%mandatory: Name URL
+%type: Location enum loaned home unknown
+%doc:
+
+Name: daidark
+URL: https://manganelo.com/manga/sg919827
+
+Name: dokumushi
+URL: https://manganelo.com/manga/doku_mushi
+
+Name: onna
+URL: https://manganelo.com/manga/ookii_onnanoko_wa_daisuki_desu_ka
+
+Name: satanofani
+URL: https://manganelo.com/manga/satanofani
+
+Name: ningyou
+URL: https://manganelo.com/manga/ningyou_no_kuni
+
+Name: deadtube
+URL: https://manganelo.com/manga/dead_tube
+
+Name: jagaan
+URL: https://manganelo.com/manga/eupo237211575286777
+
+Name: kaifuku_jutsushi
+URL: https://manganelo.com/manga/kaifuku_jutsushi_no_yarinaoshi
+
+Name: berserk
+URL: https://manganelo.com/manga/ilsi12001567132882
+
+Name: chainsawman
+URL: https://manganelo.com/manga/ix917953
+
+Name: hantsu
+URL: https://manganelo.com/manga/hantsu_x_trash
+
+Name: kengan
+URL: https://manganelo.com/manga/cd918233
+
+Name: fiarytail100
+URL: https://manganelo.com/manga/uv917720
+
+Name: kumo
+URL: https://manganelo.com/manga/kumo_desu_ga_nani_ka
+
+Name: mpdpsycho
+URL: https://manganelo.com/manga/mpd_psycho
+
+Name: gigantis
+URL: https://manganato.com/manga-mv989778
+
+Name: suzuki_peeping
+URL: https://manganato.com/manga-le989039
+
+Name: ingoshima
+URL: https://manganelo.com/manga/sz919450
diff --git a/tmux/vcs_info.sh b/tmux/vcs_info.sh
index ffe174a..f964104 100755
--- a/tmux/vcs_info.sh
+++ b/tmux/vcs_info.sh
@@ -61,7 +61,8 @@ function repo_info {
git rev-parse --git-dir > /dev/null 2>&1
if [[ $? == 0 ]]; then
insertions=$(git --no-pager diff --numstat | awk '{sum1+=$1}END{print sum1}')
- echo  
+ # echo  
+ echo 
else
:
fi
@@ -74,4 +75,8 @@ deletions_info="#[fg=colour255 bg=colour1]"$(gitdeletions)
additions__info="#[fg=colour255 bg=colour22]"$(gitadditions)
# echo "#[fg=colour255 bg=colour29]$shortened_path #[fg=colour29 bg=colour26]$SEPARATOR_RIGHT_BOLD#[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 $deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD $untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"
-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 $deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD $untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"
+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 \
+$deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD \
+$untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"