-
Pomodoro
Pomodoro: Boosting My Productivity Some time ago, I was looking for ways to improve my productivity. That’s when I found James Scholz’s YouTube channel and fell in love with his discipline. I had tried the Pomodoro Technique a few years ago but never succeeded—I never managed to stick with it...
-
Setup hibernate on arch linux with grub
Setting Up Hibernate on Arch Linux with GRUB Hibernate is a power-saving state that allows you to save the contents of your RAM to disk and power off your machine completely. When you power it back on, the system state is restored, allowing you to continue from where you left...
-
Back To The Gym
Back to the Gym At the end of last year (2023), I joined a gym. Three months later, I quit, due to some reasons and the place itself. Now, I’m back, in another gym, with a different workflow, and I want to stay committed. So, I’m making a public commitment:...
-
Term frequency–inverse document frequency in PHP
Term frequency–inverse document frequency in PHP TF-IDF (Term Frequency-Inverse Document Frequency) is a statistical measure used to evaluate the importance of a word in a document relative to a collection of documents (corpus). It’s widely used in information retrieval and text mining. In this article, we will explore how to...
-
Playing arround with text diff in PHP
Playing arround with text diff in PHP Sometimes, while working on PHP projects, you might need to get the difference between two strings. Instead of using complex algorithms or libraries, you can leverage the diff Linux binary to achieve this. In this post, I’ll show you how to use diff...
-
Make bash more usable for VIM users
Make bash more usable for VIM users For Vim users, transitioning between the editor and the terminal can sometimes feel jarring due to the differences in key bindings and functionalities. However, with a few tweaks, you can make Bash more Vim-friendly. This article will guide you through configuring your Bash...
-
How to Enable Compact Mode in Firefox
Enable Compact Mode in Firefox I always loved tiny GUIs and use Firefox as my go-to browser. However, for some reason, Firefox removed the ‘compact’ density option from the ‘Customize Firefox’ menu. If you’re like me and prefer a minimal interface, you can enable this mode again and reclaim some...
-
Auto-Incrementing Non-Primary Key Column in Laravel with PostgreSQL
Solving the Auto-Incrementing Non-Primary Key Column Problem in Laravel with PostgreSQL Recently, while working on a Laravel project using PostgreSQL, I faced a challenge. I needed a column that auto-increments but isn’t the primary key. The column should start at 1 by default and increment sequentially (2, 3, 4, etc.)...
-
Addictions
Addiction I’ve been working 14-hour days but haven’t felt productive for the past few weeks. After careful consideration, I discovered the root of the problem: my serotonin-driven addictions. Smartphone I’ve never been a heavy social media user, but TikTok was an exception. I could scroll for hours without realizing it,...
-
Hello world
Hello world From now on, I’m going to start writing texts here. It’s a way to force myself to learn in public, and if it’s useful to anyone in the future, it’s been worth it. I’ve been using neorg to takes notes during my days. I’ll bring some of the...