Duplicate Email Finder

After importing all my emails from Gmail to my self-hosted IMAP Server (a post about it will follow) with Thunderbird, I’ve noticed that many emails were duplicate.

I’ve searched a bit and I found out that the IMAP implementation of Gmail has the emails catalogued for every label in the respective directory.

As you can imagine every email that had more than one label was copied twice in my IMAP server.

I’ve tried to delete all duplicate messages using the Remove Duplicate Messages Thunderbird add-on, but it didn’t remove all duplicate emails.

I found two identical emails and compared them using a diff tool and the only thing that has different were some headers.

That’s why I decided to build a CLI tool to remove all duplicate emails from the Maildir directory and I built it in PHP, because I’ve more experience in this language.

The project is hosted in GitLab, as I wanted automated testing and GitLab’s CI/CD seems quite easy.

-> You can find it here <-.

There are some features I want to implement, but it worked fine and I managed to delete more than 1000 emails!

Installing Sass on Ubuntu 14.04

Like every web developer I wanted to install Sass on my old Ubuntu 14.04.

When trying to install Sass I got errors, first because I didn’t have a ruby-dev version installed, and then because the ruby version was older than 2.0

So with a little help of this StackOverflow post

$ sudo apt-add-repository ppa:brightbox/ruby-ng
$ sudo apt-get update
$ sudo apt-get install ruby2.4
$ sudo apt-get install ruby2.4-dev

$ ruby -v                         
$ ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux-gnu]

$ sudo gem install sass
$ sass -v
$ Sass 3.5.5 (Bleeding Edge)

How to make a diy laptop sleeve

The reason that I wanted to make my own laptop sleeve is that the existing laptop sleeves sold in the market are either too expensive or have little protection, especially in the corners.

Although I have a CaseLogic laptop backpack, the protection it provides is minimal. I learned it the hard way when I dropped my bag accidentally and my laptop’s corner was bent.

Continue reading How to make a diy laptop sleeve

My blogging Timeline from 2007

I had many blogs though the past years here is my timeline of blogging.

2007

Started with IGotAnswers.info and Ask-nik.info

I can say that the posts where more than enough, I don’t know why I dropped them.

I perhaps realized that the domain name weren’t SEOptimized and the .info domains aren’t good.

Continue reading My blogging Timeline from 2007

8 + Bonus Keyboard Shortcuts than will ignite your twiDAQ experience

When it comes to daily use of twiDAQ, you need fast navigation between the pages.

Fortunately, the developers have thought of that and implemented some keyboard shortcuts that will make our lives easier. Continue reading 8 + Bonus Keyboard Shortcuts than will ignite your twiDAQ experience