Okay, so. Over the years I've come across several corrupt drives. And in my experience, if it is at all possible to make them usable again, this method will do it for you:

  1. Open cmd as an administrator.
  2. Rundiskpart.
  3. Type in select disk.
  4. Then enter select disk <yourdisk>.
  5. Type in clean.
  6. Then enter select disk <yourdisk> again.
  7. Finally run the command create partition primary.
  8. Open Windows Explorer, right click on your drive, and format it.

That's it, you should be able to use your drive normally again!

A collection of ported Unix Utilities for Windows

Hi! This repo contains several utilities which are massively useful, for sysadmins, programmers and students.

Go ahead and explore! All utilities are kept up-to-date.

Links: Rahul's Windows Executable Repository; README

Hey, Rahul! Do you know how to make an app?

This is a statement that I've heard countless times over the past few years, ever since I've gained popularity in school as a geek/programmer.

The next statement is usually "I have a brilliant idea for a startup, I just need you to implement it."

From juniors, to seniors to even teachers, everyone appears to have amazing ideas which have never been though of before and hold the capibility to earn millions of dollars. But that's not how this works. There's a reason why most stratups fail, and it's because they don't even have a good idea, let alone plan.

I've never had my own startup, but even I know that the first thing to do is to find a real-life problem, then solve it using technology. You cannot just come up with some shattering new idea on the spot, that rarely happens, if ever.

It's even more annoying when they're after me for months to help them out with an idea that I know is destined to fail. I don't like to kill your enthusiasm, but the next time that you see me, please think before calling me out, does your idea actually have the capability to make a difference?

I really liked the default email app that used to come with Android. The bare-bones interface used to get the job done without any hassle.

Unfortunately, Google decided to kill it with Lollipop and integrated all other email services with Gmail. This was an unwelcome decision - I like to keep my inboxes separate... I tried some other apps on the play store, but most didn't work well, and the ones which did were filled with ads or required payment for basic features.

So I borrowed my friend's phone which still ran KitKat, and extracted the apk for the stock email app. This is the last working version of the app ever released. It doesn't have the material design icon, but that doesn't really matter...

You can download it here.

These aren't official, just general internet slang:

Level 0

The stuff you browse everyday: YouTube, DuckDuckGo, Facebook, etc.

Level 1 - Surface Web

This level is still accessible through normal means, but contains "darker" websites, such as Reddit.

Level 2 - Bergie Web

This level is the last one normally accessible: all levels that follow this one have to be accessed with a proxy, Tor or by modifying your hardware. In this level you can find some “underground” but still indexed websites, such as 4chan.

Level 3 - Deep Web

The first part of this level has to be accessed with a proxy. It contains Hacking, Adult Content, etc. This is the beginning of the Deep Web. The second part of this level is only accessible through Tor, and contains similar stuff.

Level 4 - Charter Web

This level is also divided in two parts. The first can be accessed through Tor. Things such as drug and human trafficking, banned movies and books and black markets exist there.

The second part can be accessed through a hardware modification: a “Closed Shell System”. This is serious. This part of the Charter Web contains Illegal Content, experimental hardware information ("Gadolinium Gallium Garnet Quantum Electronic Processors"), but also darker information, such as the "Law of 13", World War 2 experiments, and even the location of Atlantis.

Level 5 - Mariana's Web

A place where AIs come together and comment on cat videos. You need access to quantum computers to see this stuff...

Safe Mode can be really useful on your phone, when an app starts to misbehave, your phone starts crashing or your phone is infected by malware.

But what if you really need that superb backup tool you love? Well, don't fret, because I have the perfect solution for you...

UPDATE: This technique has been tested on the following devices:

  • Moto G (Turbo Edition) (Android 6.0.1)
  • Samsung Galaxy Note 5 (Android 5.1.1)
  • HTC Desire 816 (Android 5.0.1)

NOTE: This technique relies on something really simple that was probably overlooked by the developers and may be fixed in the future. I will be posting updates soon...

Step 1

Open the app in normal mode. normal app

Step 2

Exit the app, but make sure you don't swipe it away from the 'Recent Apps' menu. recent apps

Step 3

Reboot into Safe Mode by long-pressing the 'Power Off' option. The method to enter Safe Mode may vary on some devices. Safe mode

Step 4

You won't be able to run the app in Safe Mode enter image description here

Step 5

Open the 'Recent Apps' menu in Safe Mode Safe Mode - Recent Apps

Step 6

Tap on the app, and you will be able to run it. enter image description here


(or... How I got MinGW to work with Notepad++)

A few days ago, I decided to finally start learning C++. Until now I've only used a rather restricted version of C for robotics. However, I faced a problem: I never do all my work on a single PC. Sometimes I work in school, sometimes at home on my desktop, and sometimes at my grandparents' house on my laptop.
I usually use a portable version of Notepad++ for coding, but then again, most of my code is either web development or batch scripting - stuff that doesn't need a compiler.

Getting g++ to work with proper Notepad++ installations is easy, but this method doesn't work with portable versions since you cannot rely on environment variables. So I spent some time thinking about this issue, and came up with the following solution to integrate a portable version of Notepad++, my favorite editor, with MinGW:

  • Download Notepad++ Portable
  • Add the NppExec plugin from the Plugin Manager.
  • Download MinGW for Windows.
  • Extract the contents of the archive you downloaded.
  • Copy both to a portable drive.
  • Download this small utility I made: r-launch. This basically allows you to run MinGW commands from the Notepad++ directory.
  • Save r-launch.exe to the Notepad++Portable\App\Notepad++ folder of your portable installation.
  • Create a text file called r-launch.txt in the same directory and store the path of the MinGW installation in it. My MinGW installation was in G:\Coding\MinGW and my Notepad++ executable was in G:\Software\Notepad++Portable\App\Notepad++, so my text file read:
  • Open the NppExec windows in Notepad++ and type your MinGW commands like you normally would, only with r-launch.exe in front of them.
  • You're Done!

Here's the code I use in the NppExec window:

Saves and compiles in the same directory with the same name


Run in NppExec Console:
Runs the compiled version of the program.


Run in cmd:
Runs the compiled version of the program.


Compile and Run in NppExec Console:


Compile and Run in cmd:


These commands use g++, but you can use any of the utilities that comes with MinGW.


The source code of r-launch (licensed under the MIT License):

@echo off
Title r-launch: Rahul's MinGW Launcher
if [%1]==[] goto :help
goto :launch

echo r-launch: Rahul's MinGW Launcher for Notepad++
echo http://rahul2001.com/
echo ----------------------------------------------
echo This file lets you add the MinGW utilities to
echo Notepad++.
echo Instructions:
echo 1. Save this executable to the same folder as
echo    the Notepad++.
echo 2. Save the path of the MinGW folder in a text
echo    file named 'r-launch.txt' in the same 
echo    folder as this executable.
echo 3. Run your commands with 'r-launch' in front
echo    of them from the NppExec plugin for
echo    Notepad++.
if %0 == "%~0" pause
goto :eof

set /p path=

if not exist r-launch.txt goto error1
if not exist notepad++.exe goto error2
if not exist %path% goto error3
if not exist %path%\set_distro_paths.bat goto error4

call %path%\set_distro_paths.bat
goto :eof

echo ERROR: 'r-launch.txt' doesn't exist in the same directory as this executable.
goto :eof
echo ERROR: 'notepad++.exe' doesn't exist in the same directory as this executable.
goto :eof
echo ERROR: The directory specified in r-launch.txt doesn't exist.
goto :eof
echo ERROR: 'set_distro_paths.bat' doesn't exist at in the directory specified in r-launch.txt.
goto :eof

Note: this post was inspired by this. This article deals mostly with Windows.

  1. I am a computer hobbyist who wants to experience what computers were like two decades ago.
  2. I want to play retro games and get the real experience.
  3. I have some really old hardware which I would like to get working again just for the nostalgic feeling.
  4. I want my kids to see what operating systems were like before they were born.
  5. My Grandmother can't use anything newer than Windows 98.
  6. Because Metro is just sh*t.
  7. Because my PC won't run anything newer than ME.
  8. Because I'm in love with the 3D maze screensaver.
  9. Because LindowsOS is the best.
  10. Because I want to set up a telnet server in DOS.
  11. I wanna try linux 1.0.
  12. etc, etc...

Many of our users say the accuracy of our spam filter is one of the key reasons they love Gmail

The above is a quote from a blog post that Ela Czajka, a software engineer at Google blogged about a few years ago. And I'm forced to agree... Or at least would have, two years ago.

Over the past several months, I have observed the Google spam filters become either worse, or unable to keep up.

Now I am not someone who just says stuff without reason. In fact, I used to be a really big Google fanboy (and still am, to some extent).

Here's my reasoning: Over the past year and a half, I have seen legitimate mail end up in the spam folder and spam end up in my inbox.

Spam, to me, is simply mail I did not ask and which is of no use to me. If I clicked the 'Send me regular updates' option during the sign up process, it means that I want the mail and don't want it to go to the spam folder. Similarly, when services send me updates about me account, I don't want it to go to the spam folder (as you can see in the screenshot below, some emails regarding my domains ended up in the spam folder - this should NOT happen). However, if companies start sending me mail regarding products that I didn't ask for, it SHOULD end up in the spam folder.

Screenshots (I haven't set any custom filters of any sort):

The following is a capture of my spam folder. Notice how a large number of the e-mails are actually legit but still in the spam folder. Spam filter fail [hmm... Jeremy & Simon seems to be some sort of service I signed up for a long time ago... at least the provide an 'opt out' option]

Spam that was in my inbox but shouldn't have been: useless marketing

What about other Google services? As far as I can tell, Google doesn't have spam filters for other services. Chrome Webstore: Chrome Webstore spam Youtube : Youtube spam


As it is, I have moved away from GMail onto my website email id for most important email. I really think that Google should improve it's (once awesome) spam filters in order to prevent losing more users like me.