This is a curated list of indie blogs I follow. The majority of them are tech related, but not all of them are 100% technical. I've built this list from scratch, often discovering these blogs from links/articles posted on Mastodon.
If you want to suggest me a new blog to follow, you can leave a comment below (spammers will be blocked and reported).
IF I decide to follow the suggested blog, I will take care of adding it to this list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import difflib | |
| import wasabi | |
| def diff_strings(a, b): | |
| output = [] | |
| matcher = difflib.SequenceMatcher(None, a, b) | |
| for opcode, a0, a1, b0, b1 in matcher.get_opcodes(): | |
| if opcode == "equal": | |
| output.append(a[a0:a1]) | |
| elif opcode == "insert": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # set the base image to Debian | |
| # https://hub.docker.com/_/debian/ | |
| FROM debian:latest | |
| # replace shell with bash so we can source files | |
| RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
| # update the repository sources list | |
| # and install dependencies | |
| RUN apt-get update \ |