Archive for 2015

MSDN Magazine code highlighter

MSDN Magazine has many great articles about all kind of topics you can imagine. The most useful ones talking about the coming versions of C# or .NET for example are a must read.

While the content of the articles is great, the formatting of the code is terrible (non existing actually). The typesetting is inappropriate for code, and the code is simply laid out as simple text, making it extremely hard to read and follow.

People have been asking for formatting on MSDN mag for quite some time without any sign of this happening soon! Here is an example of a page from MSDN Mag:


After trying several chrome extensions that claim to handle syntax highlighting and none of them seemed to work, I have decided to make a small chrome extension that automatically highlights code snippets on MSDN magazine articles.

For this I used https://highlightjs.org/ with jQuery. The extension uses content scripts and have access only to MSDN magazine pages. You can choose among dozens of syntax highlight themes on the fly!

Here is the result without/with the extension installed:




The extension can be downloaded from chrome web store at: [MSDN Magazine code highlighter]

And the source code is obviously available on Github here: https://github.com/martani/MSDN-Magazine-code-highlighter


Twitter Archive Eraser: a year in review

Exactly a year ago today I added some analytics to Twitter Archive Eraser to get some insights on how it is used and what kind of load it is handling.

For those who do not know what Twitter Archive Eraser is, head here to read mode. But in a nutshell: it is the best and easiest way out there to erase your oldest tweets. Period!

So without further ado, here are the numbers for tweets deleted between 1/1/2014 and 1/1/2015:
  • Total tweets deleted: +255,000,000
  • Number of unique users: ~25,000
  • Number of downloads all time (only from official website):
    • Standalone: 52,529
    • Installer: 30,265

  • Top 10 accounts:
    • User
      Total deleted tweets
      @Almoujaz
      498,604
      @CakeLikeBieber
      386,941
      @tommytacklebox
      304,049
      @AdaBerita_
      288,376
      @rimanews
      286,370
      @1nfoku
      285,724
      @BadBoiStewie
      280,776
      @5starbeats4sale
      280,367
      @Shana_Takoyaki         
      279,600
      @nolesfan2011
      257,482
  • Users per number of deleted tweets:
    • Deleted 0 to 10,000: 18,106
    • Deleted 10k to 20k: 767
    • Deleted 20k to 50k: 4865
    • Deleted 50k to 100k: 888
    • Deleted more than 100k: 235
It's amazing to see that more than 23 million tweets belonged to only 235 users!

  • Geographic distribution of users

Some happy users:

Voilà, if you feel like deleting some tweets you check Twitter Archive Eraser.


Swedish Greys - a WordPress theme from Nordic Themepark. Converted by LiteThemes.com.