Using winget in Windows

Hello everyone! Recently I was forced to switch to Windows for work 😷 so I started searching ways of making myself more comfortable using Microsoft’s operating system after years of using GNU/Linux only.

Installing Winget

You can get Winget from the Microsoft Store, no need to go to any other sources. Search for an app called App Installer

Microsoft Store

Using Winget

Using winget is kinda similar to using apt-get or other GNU/Linux based package managers, if you want to see all the features it offers you can execute this in a CMD:

2024-11-02   schedule 1 min 6 s  
Creating Virtual Environments With Python

Hello everyone! 🤓

Have you ever noticed how when you try to install some pip dependencies using a modern linux distro, it will show you this error message?

Error message when installing packages with pip in Debian 12

That happened to me while using Debian, also happened while using Archlinux, so I searched online and found a solution, or maybe you can call it a workaround. Since I always find myself googling for the solution again and again, I decided to just use my website to save this solution and also share it with you guys, just in case it’s useful for someone else.

2024-06-29   schedule 1 min 12 s  
Nerd Fonts

Hello everyone! 😎

In this little article, I just wanted to talk about nerd fonts, how to install them and the one I like.

Nerd fonts?

Nerd fonts are, as the name implies, fonts that we can add to our system to make it look prettier. The majority of them also include ligatures and tons of icons (they’re useful if you’re using something like DWM or i3 and want to display certain icons in your bar).

2024-06-10   schedule 49 s  
Install Vterm in Chromebook

Hello everyone! This is a short post, I just wanted to talk about how I installed vterm for emacs inside my chromebook, it was quite a simple process.

I’ll assume you already have access to the Linux terminal in ChromeOS, and also you have Emacs installed, if you need help with that please go here.

Now, you’ll need to install some dependencies in order to compile vterm inside emacs, install them with apt:

2024-02-08   schedule 55 s  
My Conky Config

Hello everyone! 🤓

On this post I just wanted to talk about conky, this is a system monitor that you can customize and extend however you like, you have all the power of lua at your fingertips (I’m not a lua programmer tho).

My system information is pretty bare bones and simple, it’s only one file. To install my configuration you can clone it from my GitHub page and move the conky.conf file to ~/.config/conky/.

2024-02-07   schedule 37 s  
Show git branch in bash prompt

Hello everyone!

This is a small guide on how to add the branch name to your bash prompt.

First you’ll need to open up the bash configuration file, usually that’s ~/.bashrc.

Then create the following function inside that file:

function getGitBranch {
  [ -d .git ] && git name-rev --name-only @
}

And then the only thing you need to do is execute that function inside of your bash prompt, this is how I do it:

2023-03-17   schedule 27 s  
Basic Website With Hugo

Hello! 🤓️

I’m writing this as notes for myself, so I can remember how to write and publish this blog using hugo + google firebase.

Clone my blog repo

My website repository is uploaded to Notabug.org as a private repo. I would clone it using the following command:

git clone --recurse-submodules [URL]

That will clone the entire thing to my local computer, including the “Diary” theme which is the one I use for my blog.

2023-03-07   schedule 35 s  
Use Doas With Paru

🤓️ Hello everyone, here’s how to tell PARU to use DOAS instead of SUDO.

Step 1: Install Doas

Make sure doas is installed, depending on your distribution you should find it on the repositories. Here are some examples for popular distros:

  • Ubuntu / Debian
sudo apt install doas
  • Fedora / CentOS
sudo dnf install opendoas
  • Arch / Manjaro
sudo pacman -S opendoas

Step 2: Allow wheel group to use Doas

Now let’s make sure we can actually use doas to execute commands with high privileges, let’s edit /etc/doas.conf, add the following:

2023-03-07   schedule 51 s