Skip to content

Instantly share code, notes, and snippets.

@smalinux
Last active April 1, 2023 12:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smalinux/1fec75973e213e046cb9c5f4d1665afc to your computer and use it in GitHub Desktop.
Save smalinux/1fec75973e213e046cb9c5f4d1665afc to your computer and use it in GitHub Desktop.
/home/smalinux/.newsboat/urls
compile_commands*
#!/bin/sh
[ "$#" -eq 0 ] && exit 1
if [ -n $(command -v curl) ]; then
url=$(curl -sIL -o /dev/null -w '%{url_effective}' "$1")
else
url="$1"
fi
url=$(echo "${url}" | perl -p -e 's/(\?|\&)?utm_[a-z]+=[^\&]+//g;' -e 's/(#|\&)?utm_[a-z]+=[^\&]+//g;')
title="$2"
description="$3"
grep -q "${url}\t${title}\t${description}" ~/newsboat/bookmarks.txt || echo "${url}\t${title}\t${description}" >> ~/newsboat/bookmarks.txt
auto-reload yes
color info default default reverse
color listnormal_unread yellow default
color listfocus blue default reverse bold
color listfocus_unread blue default reverse bold
text-width 80
bind-key O open-all-unread-in-browser
# -- navigation ----------------------------------------------------------------
goto-next-feed no
bind-key j down feedlist
bind-key k up feedlist
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key j down article
bind-key k up article
# -- bookmarks -----------------------------------------------------------------
bookmark-cmd ~/newsboat/bookmark.sh
bookmark-interactive no
bookmark-autopilot yes
# -- format
highlight article "^Feed:.*" magenta default
highlight article "^Title:.*" yellow default bold
highlight article "^Author:.*" green default
highlight article "^Date:.*" color223 default
highlight article "^Link:.*" blue default
highlight article "^Flags:.*" color9 default
highlight article "\\[[0-9][0-9]*\\]" color66 default bold
highlight article "\\[image [0-9][0-9]*\\]" color109 default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" color66 default bold
#highlight feedlist "[╒╘╞]═.*═[╛╕╡]" yellow default bold
highlight feedlist "[║│]" yellow default bold
highlight feedlist "╠═.*" yellow default bold
highlight feedlist "\\(Youtube\\) .*" red
highlight feedlist "\\(Conference\\) .*" blue
highlight feedlist "\\(Reddit\\) .*" green
highlight feedlist "\\(Podcast\\) .*" magenta
highlight feedlist "\\(Blog\\) .*" cyan
#highlight feedlist "\\(Reddit\\) .*" color166
feedlist-format "%?T?║%4i %n %8u (%T) %t &╠═════════════════════════════════════════════════════%t?"
# {{{ clone gist
# git clone https://gist.github.com/smalinux/1fec75973e213e046cb9c5f4d1665afc ~/newsboat
# }}}
#
# {{{ Thanks for this chrome addon: Get RSS Feed URL
# https://chrome.google.com/webstore/detail/get-rss-feed-url/kfghpdldaipanmkhfpdcjglncmilendn/related?hl=en
# }}}
#
all:
echo "hi"
push:
echo "compile_commands*" > .gitignore
git add .
git commit -m "generated files on `date +'%Y-%m-%d'`";
git push --force
YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCUZftC28ol0XLMuiJ6AFPMg vim YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCO-EAGJKWzlvb0RjtKtE70A YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UC9OkjanaY9q4tMfOKUyaJiA YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCOlq9nrbWzOd7tcQHG130TQ Podcast
https://www.youtube.com/feeds/videos.xml?channel_id=UCwjLh640nGXSGa9iHRS31ag Podcast
https://www.youtube.com/feeds/videos.xml?channel_id=UCi9DV7ai7a8-XgRt5iH9d7Q Podcast
https://www.youtube.com/feeds/videos.xml?channel_id=UCyWHNjwSLMNGfaYKoCQd8kg fun YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCb-PxVoHI67hRlawNLkcxqg fun YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCyq9XJfsodo_d3OAHGxbmQA food fun YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCSHvZB07rVP-qustKp0UzfA movies fun YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCsBZlaSJyXiYKsAWLP-thkQ YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCwd5VFu4KoJNjkWJZMFJGHQ YouTube "C youtuber"
https://www.youtube.com/feeds/videos.xml?channel_id=UC8RGpAuuMhy2bZP-P_PjF0w Vlogs YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCYvrajt4reHPZPmidcgQ06A YouTube Minoxidil "~~Minoxidil"
https://www.youtube.com/feeds/videos.xml?channel_id=UCb_NSdbibthrqpFxbR8q6YQ YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UC_mibbW6ZsDtg9N4ckUNvew YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA YouTube LukeSmithLike
https://www.youtube.com/feeds/videos.xml?channel_id=UCKWaEZ-_VweaEx1j62do_vQ YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCEGxeopnf36A-G8KPiZ2YFg YouTube
https://www.youtube.com/feeds/videos.xml?channel_id=UCTdw38Cw6jcm0atBPA39a0Q Conference
https://www.youtube.com/feeds/videos.xml?channel_id=UCmYAQDZIQGm_kPvemBc_qwg Conference
https://www.youtube.com/feeds/videos.xml?channel_id=UCIxsmRWj3-795FMlrsikd3A Conference
https://www.youtube.com/feeds/videos.xml?channel_id=UCBSpnLjWB7cOsSRz_q2Mr_A Conference
https://www.youtube.com/feeds/videos.xml?channel_id=UCfX55Sx5hEFjoC3cNs6mCUQ Conference
https://www.youtube.com/feeds/videos.xml?channel_id=UCciKHCG06rnq31toLTfAiyw Conference
codereview-stackexchange
https://codereview.stackexchange.com/feeds/tag?tagnames=c&sort=newest codereview
StackOverflow-C-tag
https://stackoverflow.com/feeds/tag?tagnames=c&sort=votes c
https://stackoverflow.com/feeds/tag?tagnames=c%20-c%2b%2b&sort=newest c
StackOverflow-users
https://stackoverflow.com/feeds/user/315052 StackOverflow
https://stackoverflow.com/feeds/user/1257035 StackOverflow
https://stackoverflow.com/feeds/user/28494 StackOverflow
StackOverflow-tags
https://stackoverflow.com/feeds/tag?tagnames=unit-testing+c&sort=votes [unit-testing][c]
Blog
https://gustedt.wordpress.com/feed/ blog ModernC
https://sohaibmhamed.blogspot.com/feeds/posts/default blog
https://blog.wingman-sw.com/rsslatest.xml blog
https://blog.wingman-sw.com/feed blog
http://kroah.com/log/index.rss blog "~Greg K-H"
https://www.brendangregg.com/blog/rss.xml blog
https://amreldib.com/blog/rss.xml blog
https://nakryiko.com/atom.xml blog BPF
https://dev.to/ethercflow
https://michael.stapelberg.ch/
https://erikgahner.dk/
low-level
https://www.youtube.com/feeds/videos.xml?channel_id=UCQdZltW7bh1ta-_nCH7LWYw YouTube
https://lwn.net/headlines/newrss LWN
Vim
https://www.youtube.com/feeds/videos.xml?channel_id=UC8ENHE5xdFSwx71u3fDH5Xw YouTube
C-standard
https://en.cppreference.com/mwiki/index.php?title=Special:RecentChanges&feed=atom cppreference
Algorithms
https://www.youtube.com/feeds/videos.xml?channel_id=UCVHLc9yPGHWMPjpgnSpUItA "!"
https://www.youtube.com/feeds/videos.xml?channel_id=UCG1FQO4IiJwLrKHq3WgPrVQ "!"
https://www.youtube.com/feeds/videos.xml?user=ArtofProblemSolving "!"
GitHub commits
Misc
https://www.youtube.com/feeds/videos.xml?channel_id=UCiEzlPeTjGHXZlqFV7KxZEQ sysadmin "!"
https://www.youtube.com/feeds/videos.xml?user=BadEditPro sysadmin "!"
https://www.youtube.com/feeds/videos.xml?channel_id=UCVeW9qkBjo3zosnqUbG7CFw YouTube "!Malware analysis"
https://www.dj-bauer.de/feeds/all.atom.xml dj
https://ronjeffries.com/categories/all-articles/index.html
https://dataswamp.org/~solene/index.html
https://computer.rip/
https://calebhearth.com/
https://dotat.at/
https://www.claudiokuenzler.com/ALL
https://mikemcquaid.com/
https://gexp.no/blog/
https://kevquirk.com/privacy-vs-i-have-nothing-to-hide/
https://cturt.github.io/articles.html
https://kierantie.com/journal
Search engines
https://datorss.com/
https://yup.is/
Magazines:
new york magazine: https://nymag.com/
Jessie Frazelle bpf
Orgs:
==============
https://opensource.fb.com/linux/
https://facebookmicrosites.github.io/bpf/
https://www.redhat.com/en/blog
Blogs:
===============================================================================
https://drewdevault.com/
https://commandcenter.blogspot.com/
http://www.isthe.com/chongo/tech/comp/c/index.html
http://www.adamtornhill.com/
https://netoptimizer.blogspot.com/
https://www.labbott.name/
https://johnnyrodgers.is/
http://matt.might.net/articles/
https://www.tumfatig.net/
https://sive.rs/about
https://www.1024cores.net/home
https://theevilskeleton.gitlab.io/
https://www.bytelab.codes/
https://avc.com/archive/
https://erikmcclure.com/blog/
https://www.datagubbe.se/
https://tanelpoder.com/
https://kau.sh/blog/
https://blog.meadsteve.dev/about/
https://kinduff.com/blog/
https://misc.l3m.in/txt/
https://www.amolas.dev/blog/
https://niconiconi.neocities.org/
https://autotranslucence.wordpress.com/all-essays/
https://jessimekirk.com/blog/hn_users_links/
https://alsweigart.com/
https://hashnode.com/
https://dev.to/
https://joinmastodon.org/servers
https://maksimkita.com/
https://tiotags.gitlab.io/blog/
https://hackaday.com/blog/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment