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!
You probably don’t know that in the past (2007) I’ve created a Shopping system called SimpleCiShop. It’s based on CodeIgniter framework and you can find more in the GitHub project.
Continue reading Blast from the past – SimpleCiShop refactoring
Having bought a new Smartphone, means that now I have one spare, which is quite powerful with an 8 core 1.7 GHz Cortex-A7 CPU and 2 GB of RAM and can handle some projects I would like to start with.
Continue reading Installing LolliCraft (CM) 5.1 on Xiaomi Redmi Note 3G 6592
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)
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
It’s not a long time ago that started to play DOTA 2 – by the way DOTA means defense of the ancients – I think it was about summer 2014.
I’ve watched numerous videos about how to play and which mistakes to avoid as noob.
Continue reading 9 tips to become a better DOTA 2 player
I had many blogs though the past years here is my timeline of blogging.
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
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