I was setting up JWT authentication/authorization in .NET Core the other day and wanted to write a little about the process. I’m using .NET Core 3.1 in this example.
My previous .bashrc file was a mess, with way too much stuff inside one file, making it hard to manage. I decided to split it up and make it modular. To do this I keep my main .bashrc file really simple. The only thing it does is loop through the ~/.bashrc.d/ folder and running everything […]
I was looking for some easy way to manage my dotfiles. Dotfiles are just configuration files most systems use today. They are stored in your home directory $HOME, and are prefixed with a . to make them hidden. An example of dotfiles: .gitconfig, .vimrc, .npmrc, .yarnrc I stumbled upon a great post on Hacker News […]
I wrote a small .NET Core open source console app to listen to Docker container events and pipe them out to various destinations. The main reason I created this was because I hadn’t found something that did this and allowed various destinations. Also I wanted to develop something in .NET Core. Slack is only included […]
I’ve been using Docker for a while now. The idea of running everything the same anywhere is like a dream come true and not having to worry about updating a package dependency on the server and breaking everything. For example the same server running multiple Python applications which require different versions. Ever since I moved […]
I tried GitLab CI for the first time today. I absolutely love GitLab, it’s a wonderful product and gets better and better each week. That’s the reason I wanted to try out GitLab CI. GitLab CI is a Continuous Integration platform, providing a compact solution for deploying your code via pipelines.
This weekend I decided to try setting up a simple Web API with .NET Core and Docker running it on Linux. The process was really straightforward. I got it up and running almost immediately. So I decided to share the process.
When you screw up something in Git (bad merge/rebase, hard reset, etc.), you sometimes would like to go back before you screwed up, but you don’t know how. It’s very easy with the git reflog command!
I’ve decided to move my server from DigitalOcean to Scaleway. The reason for this is mainly because of the pricing. Even though DigitalOcean is not expensive, Scaleway is much cheaper and I’m getting more in return.
I have finally set this domain up on a secure connection (HTTPS). I used Let’s Encrypt service where you can get free SSL/TLS certificates. I followed this guide and it literally took 5 minutes along with setting up the cron job for auto renewal of certificates. I also set up my other domain fossari.is so […]