Self-hosting LanguageTool

Summary LanguageTool is a free online proofreading service for English, Spanish, and 20 other languages. Instantly check your text for grammar and style mistakes. It’s a free alternative to similar sites/services like Grammarly. While I’m not sure that Grammarly is a Privacy Nightmare, I don’t like the idea of sending everything I write to a third party service for inspection. The free version of LanguageTool has a much better reputation, although that may be because it’s less well-known. It’s also nice that it’s an open-source project that publishes the code. ...

August 31, 2022 · Chuck

Beets Config

my config file for beets.io

August 14, 2022 · 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

Linux Terminal Emulators: KiTTY over PuTTY

Summary Do you work on Linux machines? Do you only have a Windows machine from which to connect? Then you’re probably already using PuTTY. Well, step aside PuTTY, there’s a new terminal client in town. KiTTY is a fork of the original PuTTY software, with loads of new features, including a portable version that saves all of your sessions and settings into an INI file in the same folder. Installation Download KiTTY Portable ??? PROFIT! Just kidding. There are no other steps. The download is an exe that’s ready to go. Just double-click on it and enter your connection parameters (should be familiar if you’ve ever used PuTTY) ...

July 28, 2022 · Chuck

Fun with wget

wget multiple files wget -r -l1 -A.mp3 http://aaa.com/directory In the above example, -r and -l1 options together enable 1-level deep recursive retrieval, and -A option specifies lists of file name suffixes to accept during recursive download (.mp3 in this case). ways to wget entire webpage This one works so well, I’ve created an alias for it: wgetMirror='/usr/bin/wget -o wget.log -mkEpnp –wait=9 –user-agent='\''Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'\'' –no-check-certificate' Other options: wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --domains example.com --no-parent <url> Modify User Agent $ wget -U "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" <url> wget from webdav with authentication wget --http-user=user-id --http-password=password <URL> Reference Download Multiple Files with wget Archiving website with wget Download entire webpage with wget Change the User Agent in wget

February 7, 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

VS Code for Markdown Notes

My long, winding path to Markdown notes nirvana For years I’ve been looking for a cross-platform markdown editor. There are several good ones out there, but several are not free or they’ve got built-in workflows that I would need to either adapt or fight against. For the last several years my notes have consisted of a single directory of markdown files. I sync these files to various machines with Nextcloud. What I wanted was a way to manage them and perhaps link amongst them, almost like a wiki, which I used previously, but again found myself fighting with different implementations of Markdown and note portability. ...

October 18, 2021 · Chuck

Get off my (digital) lawn

The year was 1994. I was working apartment maintenance and had a healthy interest in computers. I also had a IBM XT knockoff in my apartment connected to a 56K modem. One of the benefits of apartment maintenance is the lost and found that occurs when people move out quickly. Things of value usually get stored in case the owner comes back for them. But certain items become the property of the maintenance staff. ...

December 18, 2020 · Chuck

Ohio Linuxfest 2020 - Nov 06-07 2020 (Virtual)

Friday 2020-11-06 Day One YouTube Stream 11:30 – Warner and Beth Lynn Welcome 12:00 – Baremetal RISC-V Renode – Zak Kohler 12:45 – One Sprint to Drastically Improve Web Accessibility – Robin Clower 13:30 – Delta Ansible: Keeping up with Changes and Deprecations – Andrew Cziryak 14:15 – SSH Tunnels and More – Der Hans https://overthewire.org/wargames/bandit/ https://overthewire.org/wargames/bandit/ 15:00 – FSF Campaigns – Zoë Kooyman, Program Manager; Greg Farough, Campaigns Manager [[OLF2020 - FSF.pdf|Slide Deck]] [[OLF2020 - FSF.pdf|Slide Deck]] 16:00 – UN Sustainable Goals – Dorothy Gordon 16:30 – Exploring trade-offs in S3 file systems – Andrew Gaul 17:15 – We Don’t Compete on Security – Andrew J Krug and Nathan Case 18:00 – Nixie Pixel and CS Geek on the Geek Beacon Community Saturday 2020-11-07 Day Two Youtube Stream ...

November 7, 2020 · Chuck

Ohio Linuxfest 2019 - Nov 02 2019, Columbus, Ohio

My Schedule 09:00 How Will You Steer Your Open Source Career? Keynote Rikii Endsley 11:00 Delta Ansible: Keeping up With Changes and Deprecations Andrew Cziryak The guy next to me is SNORING! The guy next to me is SNORING! 13:00 Modern Puppet Session Steven Pritchard I walked out of the puppet talk. It was way over my head and things just weren’t making any sense I walked out of the puppet talk. It was way over my head and things just weren’t making any sense 14:00 An introduction to the Windows to Subsystem for Linux Rehgan Avon This girl has limited exposure to Linux, but seems enthusiastic enough to do an intro to WSL She’s encouraging the audience to participate, so she doesn’t get things wrong and has backup to answer questions This girl has limited exposure to Linux, but seems enthusiastic enough to do an intro to WSL She’s encouraging the audience to participate, so she doesn’t get things wrong and has backup to answer questions 15:00 Getting started with Infrastructure as Code Session Tim Quinlan 16:00 Holistic System Automation with Ansible Tim Quinlan 17:00 Lightning Talks AdvocacyTop 10 IT Commandments youtubePico8Redhat VDO (fs de-duplication)jqpatent trolls vs gnome youtubeJavaScript vulnerability tester eval-villianlets-encrypt cert transparencyMad Dog rant on Patent Troll youtubeburnout avoidancemore jq / gron / json/yaml schema Advocacy Top 10 IT Commandments youtube Pico8 Redhat VDO (fs de-duplication) jq patent trolls vs gnome youtube JavaScript vulnerability tester eval-villian lets-encrypt cert transparency Mad Dog rant on Patent Troll youtube burnout avoidance more jq / gron / json/yaml schema 18:00 Keynote Jon “maddog” Hall 50 years of *x, Why is it important, and where do we go from here? Other observations There are fewer vendors this year. Fewer vendors = less swag 😢 Got a free T-Shirt from Linode and signed up for another $50 credit with my hotmail address. Lunch was good (chicken, salmon and Brussels sprouts) but I can’t stop burping salmon registered to win an Oculus from Facebook with my planethawleywood address (Update: didn’t win 😢) This place is crawling with textbook nerds. Pocket protectors, neck beards, and a surprising amount of excess weight. Also, a depressing amount of MacBooks. The after party was nice, but held in a smaller room than it was in 2017. Build-your-own sliders and onion rings. I ate a couple sliders (sans-bun) before heading out early. I did not participate in the raffle, so there was no reason to hang out. All-in-all, it was another good time. I think the lack of sleep I got the night before affected me somewhat, and I also found myself sitting around between talks a couple of times (the speaking rooms were really warm and that combined with a topic I wasn’t really interested in made me sleepier) I did come home with 4 nice shirts! OLF 2019 Youtube Playlist

November 3, 2019 · Chuck