Weekly Shaarli
Week 14 (April 5, 2021)
Using network usage monitoring tools in linux: IPTraf, iftop, nethog
Whereas the first two show usage per port/ip, nethog does so per running user process.
In this article, we will explain a few tools that will allow you to check network usage per process in your Linux system. These tools include IPTraf, Iftop and Nethog. With the help of these tools, you can identify which process or port number is draining much of the network bandwidth.
Process image, video, audio, or text data using deep learning models from the Model Asset Exchange in Node-RED flows.
Raw file editing software, mimicking lightroom or darktable for editing capabilities with fewer library features.
What are the best guides for learning zsh for someone that prefers seeing concreete examples that work? I have a hard time reading/understanding the man pages. I am trying to write very simple scripts but I don't understand how to do basic things like creating and using variables:
#!/bin/bash
d= date -v +1d '+%m_%d_%ydayPlan.rtf' #tomorrow's date with underscores + 'dayPlan.rtf'
touch /Users/mangoQuesadilla/Documents/dayplans/${d} #supposed to create a file, but it doesn't work.
nice commandline client for transmission
"Sia is the leading decentralized cloud storage platform. No signups, no servers, no trusted third parties. Sia leverages blockchain technology to create a data storage marketplace that is more robust and more affordable than traditional cloud storage providers."
You 'rent' space on users' unused storage and it gets saved with 3x redundancy in decentralized, encrypted blocks. Sounds interesting and is pretty cheap (~$4 per TB) so could be something to look into more
tmux setup for session sharing, window sharing but also session sharing with independent window usage, quite neat
Allows developing raw (and other) formatted photos, mimicks lightroom and carries similar editing capabilities.
Good library management.
python testing resources:
- getting started with python testing: https://realpython.com/python-testing/#testing-your-code
- testing cli apps: https://stackoverflow.com/questions/13493288/python-cli-program-unit-testing
- techniques for cli testing: https://realpython.com/python-cli-testing/#unit-testing-with-pytest-and-mocks
- writing doctests: https://www.digitalocean.com/community/tutorials/how-to-write-doctests-in-python
- doctest documentation: https://docs.python.org/3/library/doctest.html
Create reverse proxy pointing to your pc. Somewhat of a servei / ngrok replacement, still functioning and free as far as I can see.
Using an s3 backend (like wasabi, spaces, minio or others) as the block storage for a jellyfin (vps or homelab) installation with rclone. A bit fiddly, but can probably be adapted to iac -style docker stacks and so on.
Using caddy to run nextcloud as a host and reverse proxy with rewriting and so on
Building arm and arm64 versions of docker images with docker hub autobuilder, by using qemu emulation for the different arches
LineageOS with any google play services replaced by the open-source microG framework
I just find out that this rom https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-lineageos-17-1-huawei-p8-lite-2017-t4064121 could be...
step by step guides for getting it to run on an admittedly older phone
A complete and concise bib(la)tex parser for rust, allows you to access things as Bibliography collections and comes with a few formatting niceties
A youtube-dl fork with an astounding number of new features. Most interesting to me are sponsorblock integration, thumbnail embedding, multithreading, and comment downloading
Uses GitHub markdown API (actually queries it for rendering) and displays your readme files.
Can be used just to display github readmes and preview your own project ones, but also to transform markdown files to html-formatted ones (without e.g. pandoc), to create local copies of github wikis (example at link), etc.