Install huggingface cli on Windows 11First you need to install python, by going to the official python page and download the installer for windows. When you have python ready, open your terminal app or the command line as administrator.Search for terminal or cmd in the search menu, righ...May 12, 2025·2 min read
The easiest way to add SVG icons in ReactSVG images can be used a couple different ways in react, this is my favorite option. I create a file for the svg, and make it into a JSX component. export default function FacebookSvg() { return (<div> <svg ... /> </div> ) } Simp...Oct 8, 2024·2 min read
Create QR codes in React.jsQR codes are an essential part of the first MVP for my side project. My customers can create QR codes to link back to their profiles, embedding the image in their SoMe posts or videos. The project is made in next.js so I went for the react-qr-code li...Oct 7, 2024·1 min read
Add a trigger in postgres to make a slugA post in Affill.io, the SaaS I’m making, can have a customizable slug as its URL. But only if the post is made from a subscribed account, if its a free account the slug will be the posts id. If I just make a new row for the free accounts post I woul...Oct 5, 2024·3 min read
Typesense and docker compose with SSL certificatesI needed fast and robust search for the website I'm working on Affill.io So I decided to go for the opensource tool Typesense, and I wanted to self host it. I went for a small CX11 vps from Hetzner, and after following their guide on using docker com...Apr 15, 2024·2 min read
Change wheel motor on the Gardena Sileno+ 1600My robot lawnmower started running in a circle, and the left wheel made a metallic noise when turning. So I figured I had to change the motor. I couldnt find any information about how to disassemble or repair this lawnmower, so I figured I could just...Oct 14, 2023·2 min read
Fix Shadcn UI styles and components not workingI was adding Shadcn UI to my existing app, and used the automatic setup with npx shadcn-ui@latest init This installs the dependencies for me, and creates the setup files automatically. When I installed the Button component and the Sheet component I c...Sep 2, 2023·1 min read