Things I don't want to look for twice..

Monthly Archives: July 2011

Facebook 2-way authentication

Considering that sometimes I’m a security freak, I’ve enabled 2-way authentication on Facebook. True is that I disabled the same thing on Google, but that’s not important. Anyway, this morning, I tried to access my Facebook account using a newly installed Windows XP netbook, and Facebook asked a code they sent to my cell phone. My cell phone, right next to me, very turned on, very high network meter. SMS didn’t came. Ok..I clicked resend, but still nothing. After the third resend, I waited for few minutes and nothing – then again, still no SMS from Facebook HOURS away from that moment (4 hours and counting). So, the next step available was to contact them through a contact form on their website, where they we’re telling me to describe my problem – and where I also suggested they should use Google’s 2-way authentication SMS servers, because their message comes almost instantly. After few seconds, some automated reply was sent to me, telling me I should “Attach a copy of your government-issued photo ID“. SAY WHAT??

Seriously, I only send that to my bank, to the police, ..things like that. Why should I send this to Facebook? Who exactly are they? So I replied to them that, since they’re not a government-related company, I will NEVER EVER send a copy of my “government-issued photo ID” and suggested again that they really should use Google’s SMS servers for this one.

I’ll just paste the funniest part of their requirements:

When you respond:
1. Briefly describe the issue you’re experiencing.
2. Attach a copy of your government-issued photo ID. We need to confirm that you own this account. Note that we will permanently delete our record of this attachment from our servers once we use it to confirm your identity.
The ID you attach:
– Must be government-issued (ex: passport, driver’s license)
– Must be in color
– Must clearly show your full name, date of birth, and photo

No shit?! 


Starcraft Broodwar on Windows 7 64 bit (and 32 bit)

There’s a problem with playing Starcraft Broodwar on Windows 7 no matter what the update is, …the latest is 1.16.1 I guess..So, after installing the update, it automatically runs the game, but the colors are messed up. To get around this, you have to add a registry key to your Windows. The files can also be found on blizzard’s webpage here. You can also manually create the .reg files using notepad.

For the 32 bit version of Windows 7 the content should be:

Windows Registry Editor Version 5.00


For the 64 bit version of Windows 7 the content should be:

Windows Registry Editor Version 5.00

This is it. Starcraft Broodwar 1.16.1 up and running smoothly…

Linux disks by LABEL and UUID

To list disks by uuid you can issue:

ls -al /dev/disk/by-uuid/

..the answer should be something like:

5d82b8f4-5dfd-4164-8a78-e56cb1d7ea1c -> ../../sdb1

6cc7cb86-f1bc-4c16-833c-c6efa55257d6 -> ../../sda1 find out specific uuid of a specific disk you shoud run:

blkid /dev/sda1

..and you can auto mount in /etc/fstab by specifying the UUID instead of device, for example:

UUID=5d82b8f4-5dfd-4164-8a78-e56cb1d7ea1c /tmp          ext4    errors=remount-ro 0       1

Another way to categorize disks is by label. Of course, you can also auto mount disks in /etc/fstab by labels. To set a label for a disk just type:

e2label /dev/sda1 mylabel


tune2fs -Lmylabel /dev/sda1

..and you can auto mount disks in /etc/fstab like this:

LABEL=/         /      ext3    defaults        1 1