Skip to content

Instantly share code, notes, and snippets.

View joaopalmeiro's full-sized avatar
📊

João Palmeiro joaopalmeiro

📊
View GitHub Profile
@NickM-27
NickM-27 / system-prompt.md
Last active April 26, 2026 10:11
Home Assistant - Voice Assist - Robot Prompt
@andreagrandi
andreagrandi / indie_blogs.md
Last active May 2, 2026 19:48
My curated list of indie blogs

My curated list of indie blogs I follow.

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.

@ines
ines / diff_strings.py
Created August 1, 2019 12:19
Print colored visual diff in Python
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":
@remarkablemark
remarkablemark / Dockerfile
Last active March 25, 2026 14:35
Install node and npm with nvm using Docker.
# 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 \