Calibre eBook Viewer - Settings and Stylesheets

I have fought with Calibre-Server book reader for a long time. The ability to use any web-browser to read my e-books and have it sync my position and annotations is a unicorn I’ve been chasing for a few years. I always end up looking for alternatives because the web reader seems to be so inconsistent. Since I always seem to come back to it, I’ve decided to keep a running list of various settings and stylesheets I’ve found effective. ...

June 30, 2023 · Chuck

One man's trash is another man's treasure

I go out walking every morning. My usual route takes me around my apartment complex and the apartment complex next door. Last Wednesday’s walk was no different. I was up stupid early - before 6:00 AM and out the door shortly thereafter. When rounding the corner next door I saw a pile of hardware garbage near the dumpster on the other side of the garages. There was a tower PC case, opened, that looked pretty gutted (although the hard drive was still in it - sigh). There were a couple what looked to be older stereo components another computer that looked to be in pretty good condition and a nice (if not pretty well-used) desk lamp. ...

June 12, 2023 · Chuck

Uncomplicated Firewall / Docker Workaround

To get UFW to work well with Docker, you have to add some rules to the bottom of /etc/ufw/after.rules # BEGIN UFW AND DOCKER *filter :ufw-user-forward - [0:0] :ufw-docker-logging-deny - [0:0] :DOCKER-USER - [0:0] -A DOCKER-USER -j ufw-user-forward -A DOCKER-USER -j RETURN -s 10.0.0.0/8 -A DOCKER-USER -j RETURN -s 172.16.0.0/12 -A DOCKER-USER -j RETURN -s 192.168.0.0/16 -A DOCKER-USER -p udp -m udp --sport 53 --dport 1024:65535 -j RETURN -A DOCKER-USER -j ufw-docker-logging-deny -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -d 192.168.0.0/16 -A DOCKER-USER -j ufw-docker-logging-deny -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -d 10.0.0.0/8 -A DOCKER-USER -j ufw-docker-logging-deny -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -d 172.16.0.0/12 -A DOCKER-USER -j ufw-docker-logging-deny -p udp -m udp --dport 0:32767 -d 192.168.0.0/16 -A DOCKER-USER -j ufw-docker-logging-deny -p udp -m udp --dport 0:32767 -d 10.0.0.0/8 -A DOCKER-USER -j ufw-docker-logging-deny -p udp -m udp --dport 0:32767 -d 172.16.0.0/12 -A DOCKER-USER -j RETURN -A ufw-docker-logging-deny -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW DOCKER BLOCK] " -A ufw-docker-logging-deny -j DROP COMMIT Adding Rules Then you can add rules. Always add rules with comments. Examples below: ...

August 10, 2022 · Chuck

Doctor Docker (or "How I Learned to Stop Worrying and Tolerate the Container")

Backstory: I’ve been either paying for or using 3rd part apps for Read-It-Later (Pocket), Hosted Bookmarks (Raindrop.io) and an RSS Feedreader (Inoreader) for about a year. In the interest of 1) teaching myself Docker and 2) decoupling from hosted solutions I have finally replaced all three of the above apps with docker containers. I am using Portainer to manage my docker nodes (I have two) and containers. I recommend learning at least the basics on how to build and modify containers via the command line before using a GUI tool to manage them, but Portainer came highly recommended and abstracts a lot of the drudgery into simple point and clicks. ...

November 24, 2021 · Chuck