soft.network - jgrey4296/jgrey4296.github.io GitHub Wiki

Network and Web Tools

Browsers

Firefox

Get to configs with about:config “reader.parse-on-load.force-enabled” for reader view force “print.always_print_silent” for saving as pdf without a dialog

Profiles

see firefox->help->more troubleshooting information

Selenium

https://www.selenium.dev/documentation/ https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions

Context Menu Override

from https://support.mozilla.org/en-US/questions/1444201

Add this to profiles/chrome/userChrome.css:

#context-navigation,
#context-navigation > menuitem,
#context-sep-navigation {
  display: flex;
}
#context-stop[disabled="true"] {
  display: none;
}
#context-reload:has(+ #context-stop:not([disabled])) {
  display: none;
}

Bookmark Tag First field

Set: browser.bookmarks.editDialog.firstEditField to: tagsField for a better bookmarking default

Netscape bookmark file format

https://msdn.microsoft.com/en-us/library/aa753582(v=vs.85).aspx

Keyboard shortcuts

https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly

user css

https://www.userchrome.org/

Tor

https://justhackerthings.com/post/using-tor-from-the-command-line/ torsocks

apt install tor torbrowser-launcher

No keyboard

https://bugs.launchpad.net/ubuntu/+source/torbrowser-launcher/+bug/2056578 https://www.reddit.com/r/Ubuntu/comments/1d2a7ae/after_my_laptop_upgrade_to_2404_keyboard_doesnt/

echo "owner @{HOME}/.cache/ibus/dbus-* rw," > /etc/apparmor.d/local/torbrowser.Browser.firefox
systemctl restart apparmor.service

Tools

Bandwhich

https://github.com/imsnif/bandwhich

curl

https://tecnoysoft.com/en/how-to-obtain-the-real-url-behind-a-shortened-url-using-curl/

DuckDuckGo

ddgr –np -x –site lego.com pdf filetype:pdf

selenium

https://developer.mozilla.org/en-US/Firefox/Headless_mode https://www.selenium.dev/documentation/

sniffer

https://github.com/chenjiandongx/sniffer

wget

https://www.networkinghowtos.com/howto/change-the-user-agent-in-wget/ https://www.networkinghowtos.com/howto/common-user-agent-list/

wget –user-agent=”Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)” wget –user-agent=”Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0”

tmux

https://thevaluable.dev/tmux-config-mouseless/ https://github.com/tmux/tmux/wiki/Getting-Started https://www.howtogeek.com/671422/how-to-use-tmux-on-linux-and-why-its-better-than-screen/ https://tmux.github.io/ https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/

samba

https://ubuntu.com/tutorials/install-and-configure-samba#3-setting-up-samba

systemctl restart smdb.service
sudo smbstatus
smbclient --list=john-um700 --no-pass
# interactive repl
smbclient \\\\john-um700\\shows1

ip

ip address

net

net share

journalctl logs

journalctl -u NetworkManager -S today --no-pager

Site Generators

Github Pages / Jekyll

https://docs.github.com/en/pages https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll https://jekyllrb.com/docs/ http://jmcglone.com/guides/github-pages/ https://jekyllrb.com/docs/posts/ https://simpleit.rocks/ruby/jekyll/jekyll-basic-concepts/

pelican

https://docs.getpelican.com/en/latest/

Mail

mbsync and mu4e

https://isync.sourceforge.io/mbsync.html https://wiredspace.de/blog/mbsync/ https://www.gnu.org/software/mailutils/manual/index.html. https://brian-thompson.medium.com/setting-up-isync-mbsync-on-linux-e9fe10c692c0 https://www.ict4g.net/adolfo/notes/emacs/reading-imap-mail-with-emacs.html https://wiki.archlinux.org/title/Isync https://www.djcbsoftware.nl/code/mu/mu4e/Contexts-example.html

mu init --maildir ~/.mail --my-address {address}
mu index

rmail

GNU Mail

https://mailutils.org/ https://mailutils.org/manual/mailutils.html

mail --config-verbose
mail --config-help
mail --show-config-options
mail --config-lint

Mail uses a system mail dir (/var/mail) and puts read messages into the uses mbox (~/mbox or the env-var $MBOX)

# Control the 'from' address
mail -aFrom:example@local me
⚠️ **GitHub.com Fallback** ⚠️