Introduction
Introduction Statistics Contact Development Disclaimer Help
All of the updates. - dotfiles - These are my dotfiles. There are many like it,…
Log
Files
Refs
README
---
commit 32b675556c1cd22bdce05d35ef570573bb39cbca
parent 5451f7ce10bf6f86f9348e6c0d994330e075aa2e
Author: Jay Scott <[email protected]>
Date: Tue, 22 Aug 2023 17:46:32 +0100
All of the updates.
Diffstat:
M .gitignore | 4 +++-
M ashrc | 4 ++--
A bin/offline.sh | 18 ++++++++++++++++++
D bin/old/offline.sh | 13 -------------
M castgetrc | 4 ++++
M lynx/bookmarks.html | 1 +
M newsboat/urls | 141 ++++++++++++++++-------------…
M slrn/config | 2 +-
M slrn/slrnpull.conf | 14 +++++++++++++-
M vimrc | 26 ++++++++++++++++----------
10 files changed, 130 insertions(+), 97 deletions(-)
---
diff --git a/.gitignore b/.gitignore
@@ -16,9 +16,10 @@ ncmpcpp/error.log
*.swp
bin/lf
bin/senpai
-bin/ytfzf
bin/terraform
bin/neonmodem
+bin/gitleaks
+bin/golangci-lint
# vim
vim/bundle
@@ -30,6 +31,7 @@ slrn/log
slrn/news
slrn/requests
slrn/authinfo
+slrn/jnews*
# mutt contacts
mutt/aliases
diff --git a/ashrc b/ashrc
@@ -14,10 +14,10 @@ alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
GPG_TTY=$(tty)
export GPG_TTY
export EDITOR="vim"
-export PATH=$PATH:$HOME/bin
export BROWSER="qutebrowser"
export GOPATH="$XDG_DATA_HOME"/go
export GOPROXY=direct
+export PATH=$PATH:$GOPATH/bin:$HOME/bin:$HOME/.local/bin
export PS1="[\[$(tput sgr0)\]\[\033[38;5;7m\]\W\[$(tput sgr0)\]] \\$ \[$(tput …
export BEMENU_OPTS="-p '> ' --tb '#013220' --tf '#ffffff' --hf '#444444'"
@@ -32,7 +32,7 @@ export LYNX_LSS=$HOME/.config/lynx/theme.lss
# slrn
export NNTPSERVER='snews://news.eternal-september.org:563'
-alias slrn='slrn -i ~/.config/slrn/config'
+alias slrn='slrn -i ~/.config/slrn/config -f ~/.config/slrn/jnewsrc'
alias slrnpull='slrnpull -d ~/.config/slrn/'
# safety first kids!
diff --git a/bin/offline.sh b/bin/offline.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# podcasts
+printf "\n> Podcasts\n\n"
+castget -p
+
+# rss feeds (http/gemini) download
+printf "\n> RSS Feeds\n\n"
+newsboat -x reload
+newsboat -x print-unread
+
+# usenets
+printf "\n> Usenet\n\n"
+slrnpull -d ~/.config/slrn/
+
+# mail
+printf "\n> Mail\n\n"
+mbsync -q -a -c ~/.config/isync/mbsyncrc
diff --git a/bin/old/offline.sh b/bin/old/offline.sh
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# youtube videos
-yt_dl.sh
-
-# podcasts
-castget -p
-
-# rss feeds (http/gemini) download
-update_feeds.sh
-
-# mail
-fdm -f ~/.config/fdm/config fetch
diff --git a/castgetrc b/castgetrc
@@ -42,3 +42,7 @@ spool=/home/jay/media/podcasts/going-linux
[living-adventurously]
url=https://feeds.transistor.fm/living-adventurously
spool=/home/jay/media/podcasts/living-adventurously
+
+[selfhosted]
+url=https://feeds.fireside.fm/selfhosted/rss
+spool=/home/jay/media/podcasts/selfhosted
diff --git a/lynx/bookmarks.html b/lynx/bookmarks.html
@@ -12,6 +12,7 @@
<ol>
<h2>Gopher</h2>
<LI><a href="gopher://jay.scot/">jay.scot</a>
+<LI><a href="gopher://gopher.tildeverse.org">gopher.tildeverse.org</a>
<LI><a href="gopher://freeshell.org/">freeshell</a>
<LI><a href="gopher://bitreich.org/">bitreich.org</a>
<LI><a href="gopher://gopherpedia.com/">gopherpedia</a>
diff --git a/newsboat/urls b/newsboat/urls
@@ -10,86 +10,89 @@
"query:│ ├─ Videos:tags # \"youtube\""
# LINUX
-https://tilde.news/newest.rss "!" "~Tilde News" linux
-https://lwn.net/headlines/rss "!" "~LWN" linux
+https://tilde.news/newest.rss ! "~Tilde News" linux
+https://lwn.net/headlines/rss ! "~LWN" linux
+https://rss.slashdot.org/Slashdot/slashdotMain ! "~Slashdot" linux
# MEDIA
-https://showrss.info/other/all.rss "!" "~TV Torrents" media
-http://feed.rutracker.cc/atom/f/1992.atom "!" "~Linux Torrents" media
+https://showrss.info/other/all.rss ! "~TV Torrents" media
# GAMING
-https://www.gamingonlinux.com/article_rss.php "!" "~Gaming On Linux" gaming
+https://www.gamingonlinux.com/article_rss.php ! "~Gaming On Linux" gaming
# APPS
-https://blog.qutebrowser.org/feeds/all.atom.xml "!" "~Qutebrowser" apps
-https://newsboat.org/news.atom "!" "~Newsboat" apps
-https://git.sr.ht/~taiite/senpai/log/master/rss.xml "!" "~Senpai" apps
-https://github.com/mlj/castget/commits.atom "!" "~Castget" apps
+https://blog.qutebrowser.org/feeds/all.atom.xml ! "~Qutebrowser" apps
+https://newsboat.org/news.atom ! "~Newsboat" apps
+https://git.sr.ht/~taiite/senpai/log/master/rss.xml ! "~Senpai" apps
+https://github.com/mlj/castget/commits.atom ! "~Castget" apps
+https://status.hetzner.com/en.atom ! "~Hetzner" apps
+https://gitlab.alpinelinux.org/alpine/aports/-/issues.atom ! "~aports issues" …
# PEOPLE
-https://codemadness.org/atom.xml "!" "~CodeMadness" people
-https://drewdevault.com/blog/index.xml "!" "~Drew DeVault" people
-http://joeyh.name/blog/index.rss "!" "~Joey H" people
-https://unixsheikh.com/feed.rss "!" "~Unix Sheikh" people
-https://www.uninformativ.de/blog/feeds/en.atom "!" "~Uninformativ" people
-https://aliquote.org/index.xml "!" "~Ali Quote" people
+https://codemadness.org/atom.xml ! "~CodeMadness" people
+https://drewdevault.com/blog/index.xml ! "~Drew DeVault" people
+http://joeyh.name/blog/index.rss ! "~Joey H" people
+https://unixsheikh.com/feed.rss ! "~Unix Sheikh" people
+https://www.uninformativ.de/blog/feeds/en.atom ! "~Uninformativ" people
+https://aliquote.org/index.xml ! "~Ali Quote" people
# GEMINI
-"exec:gemget tilde.team/~tomasino/atom.xml --output -" "!" "[email protected]…
-"exec:gemget capsule.usebox.net/gemlog/atom.xml --output -" "!" "~Juans Gemlog…
-"exec:gemget foobucket.xyz/gemlog/atom.xml --output -" "!" "~Foobucket Gemlog"…
-"exec:gemget midnight.pub/feed.xml --output -" "!" "~Midnight Pub" gemini
-"exec:gemget gemini://warmedal.se/~antenna/atom.xml --output -" "!" "~Antenna"…
+"exec:gemget tilde.team/~tomasino/atom.xml --output -" ! "[email protected]…
+"exec:gemget capsule.usebox.net/gemlog/atom.xml --output -" ! "~Juans Gemlog" …
+"exec:gemget foobucket.xyz/gemlog/atom.xml --output -" ! "~Foobucket Gemlog" g…
+"exec:gemget midnight.pub/feed.xml --output -" ! "~Midnight Pub" gemini
+"exec:gemget gemini://warmedal.se/~antenna/atom.xml --output -" ! "~Antenna" g…
# ODYSEE
-https://odysee.com/$/rss/@AlphaNerd:8 "!" "~Mental Outlaws" youtube
-https://odysee.com/$/rss/@DistroTube:2 "!" "~DistroTube" youtube
-https://odysee.com/$/rss/@BrodieRobertson:5 "!" "~Brodie Robertson" youtube
-https://odysee.com/$/rss/@OfficialZaney:8 "!" "~Zaney" youtube
-https://odysee.com/$/rss/@thelinuxcast:4 "!" "~Linux Cast" youtube
-https://odysee.com/$/rss/@SystemCrafters:e "!" "~System Crafters" youtube
-https://odysee.com/$/rss/@tuxfoo:e "!" "~Tuxfoo" youtube
-https://odysee.com/$/rss/@hexdsl:7 "!" "~HexDSL" youtube
+https://odysee.com/$/rss/@AlphaNerd:8 ! "~Mental Outlaws" youtube
+https://odysee.com/$/rss/@DistroTube:2 ! "~DistroTube" youtube
+https://odysee.com/$/rss/@BrodieRobertson:5 ! "~Brodie Robertson" youtube
+https://odysee.com/$/rss/@OfficialZaney:8 ! "~Zaney" youtube
+https://odysee.com/$/rss/@thelinuxcast:4 ! "~Linux Cast" youtube
+https://odysee.com/$/rss/@SystemCrafters:e ! "~System Crafters" youtube
+https://odysee.com/$/rss/@tuxfoo:e ! "~Tuxfoo" youtube
+https://odysee.com/$/rss/@hexdsl:7 ! "~HexDSL" youtube
# YOUTUBE
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKygRpISlqs5TufcT3JtRng "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCXJL3ST-O0J3nqzQyPJtpNg "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCB2GbNXOsy3VBksSD58NvhQ "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCWm__g4cPmX-umorqM8VfWw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCeKshd39k29Ipg9sWVaU3-Q "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCs2Kaw3Soa63cJq3H0VA7og "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCf-5nkCm0Mldj5xwq8wca_g "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw "…
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw "…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKygRpISlqs5TufcT3JtRng !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCXJL3ST-O0J3nqzQyPJtpNg !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCB2GbNXOsy3VBksSD58NvhQ !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCWm__g4cPmX-umorqM8VfWw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCeKshd39k29Ipg9sWVaU3-Q !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCs2Kaw3Soa63cJq3H0VA7og !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCf-5nkCm0Mldj5xwq8wca_g !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UCDQ9L4eFHxSh0BM6z-SkZMw !…
+https://www.youtube.com/feeds/videos.xml?channel_id=UC3Vuq4Q1bKFtAiKYlwRv3oA !…
diff --git a/slrn/config b/slrn/config
@@ -1,7 +1,7 @@
% user
set username "jay"
set hostname "jay.invalid"
-set realname "jay.scot"
+set realname "jay"
set generate_message_id 0
% apps
diff --git a/slrn/slrnpull.conf b/slrn/slrnpull.conf
@@ -19,7 +19,6 @@ alt.gopher
alt.linux
alt.ph.uk
alt.usenet.newbies
-alt.test 1000 14 0
comp.infosystems.gopher
comp.mail.mutt
comp.os.linux.announce
@@ -35,4 +34,17 @@ rec.radio.shortwave
soc.culture.scottish
uk.local.scot-highlands
uk.radio.amateur
+uk.telecom
comp.infosystems.gemini
+alt.comp.software.tools
+alt.conspiracy
+alt.cyberpunk
+alt.folklore.computers
+alt.hacker
+alt.hacking
+alt.os.linux.slackware
+alt.os.linux
+alt.privacy
+alt.radio.talk
+news.admin.peering
+alt.cypherpunks
diff --git a/vimrc b/vimrc
@@ -50,16 +50,6 @@ Plug 'junegunn/fzf.vim'
Plug 'airblade/vim-gitgutter'
let g:gitgutter_enabled=1
-Plug 'rhysd/vim-grammarous'
- let g:grammarous#hooks = {}
- map <leader>d :GrammarousCheck<CR>
- function! g:grammarous#hooks.on_check(errs) abort
- nmap <buffer><C-n> <Plug>(grammarous-move-to-next-error)
- nmap <buffer><C-p> <Plug>(grammarous-move-to-previous-error)
- endfunction
-
-Plug 'https://tildegit.org/sloum/gemini-vim-syntax'
-
Plug 'dense-analysis/ale'
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
@@ -74,6 +64,22 @@ Plug 'dense-analysis/ale'
let g:ale_linters_explicit = 1
let g:ale_sign_column_always = 1
+
+Plug 'fatih/vim-go'
+ autocmd FileType go nmap <leader>b <Plug>(go-build)
+ autocmd FileType go nmap <leader>r <Plug>(go-run)
+ autocmd FileType go nmap <leader>t <Plug>(go-test)
+ autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwi…
+ map <C-n> :cnext<CR>
+ map <C-m> :cprevious<CR>
+ nnoremap <leader>a :cclose<CR>
+
+ let g:go_list_type = "quickfix"
+ let g:go_highlight_types = 1
+ let g:go_highlight_function_calls = 1
+ let g:go_metalinter_autosave = 1
+ let g:go_fmt_autosave = 1
+
call plug#end()
filetype plugin indent on
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.