Saturday, June 04, 2016

How to change your Ubuntu password

The LinkedIn incident just reminded me to change my password. It’s been years. I do have a account (left to gather dust) there so to be on the safe side it’s a good idea to change all my passwords.

Anybody reading this should probably do the same if you haven’t already. It’s the unfortunate reality of the modern world.

I’m on Ubuntu GNOME right now, so I’ll be reproducing the relevant steps here (easily found here).

  1. In Activities, search for Users.
  2. In Users, click on ….. to change your password. You may need to click Unlock first.
  3. Fill in your current password, and new password (twice) then click on Change to make the change.

GNOME password.png
Key in your current password, new password, and new password again to verify.

Super simple. You don’t have to go through Terminal to make the required changes.

Wednesday, April 20, 2016

Fix error 0xc000000d for Windows 8/8.1 in 3 simple steps

One day you boot up your Windows 8/8.1 PC and you see this:

So you get a error 0xc000000d. Time for a clean install? Maybe. Maybe not…

Here's a way to fix it.

Pop in your Windows 8/8.1 Setup Disc

You do have a Windows Setup Disc, don't you? If not then it’s time to get yourself a copy.

Even if your PC came with a OEM Windows and you can make recovery media, it's still a good idea to get your hands on a copy of the CD from Microsoft. Less bloat, more useful.

Fire up the Command Prompt

It's somewhere in the advanced troubleshooting options. Find it and launch it.

You could try Startup Repair first if you like, but it didn't work in my case. Your mileage may vary.

Fix Windows boot with bootrec

You'll need to run the following commands to fix the problem.

:\> bootrec /fixmbr
:\> bootrec /fixboot
:\> bootrec /rebuildbcd

If /rebuildbcd finds your Windows installation but fails to add the entry for some reason try checking your UEFI. Make sure it's setup to boot in UEFI mode and not legacy mode then try again from the beginning.

Once it's successful, reboot and you should be able to boot into Windows.

Sunday, March 20, 2016

Return to Skyrim

Hmm... never saw this in the game...
I finally got my hands on The Elder Scrolls V: Skyrim Legendary Edition off Humble Bundle. How slow is that?

Years ago I've played a misappropriated copy of Skyrim and utterly enjoyed it (sorry about that Bethesda). But I've never liked forking out a chunk of cash only to need forking out even more later for DLCs. So, now I've hopefully redeemed myself by actually paying for the game.

The main storyline as I remembered it was somewhat disappointing. The dragons were getting more and more annoying the higher my level went so I decided to finish them off. That meant defeating Alduin, of course. Little did I know that also meant the Greybeards would also disappear on me. There goes my source of info on dragon shout locations…

And there I thought I could finally take my sweet time finding those shouts and loading it over the puny folks. Oh well, I wasn't bothered to reload an older saved game nor start fresh with a new character. Now, the itch is starting again so I guess I'll give it a go.

The random quests were also pretty repetitive but I attribute that to the copy I had not getting updates. I guess I'll know for sure now if those quests have more variety, won't I?

It's unfortunate that there's no support for Linux. That would be awesome. Oh well, one can dream, can't they?

This time I'll take my time to collect those shouts. That's the whole point of Skyrim, ain't it?

Friday, February 12, 2016

How to clear Quick Access history in Windows 10

File Explorer.png
Windows 10 File Explorer

If you dislike seeing the Recent files heading in Quick Access filled with recently opened files and folders or just want to clear recent history for whatever reason, then here’s how to clear it.

In File Explorer, open the View ribbon. Then, click on Options. This’ll bring up the Folder options window (see below).

Folder options.png
The Folder Options window

In the General tab under Privacy, simply click the Clear button and you’re done. Simple as that.

Saturday, January 30, 2016

rsync is awesome

Think of rsync as cp on steroids. It’s much smarter than regular cp in that it skips files that have already been copied into the same folder previously.

Here’s a really simple use case:

~$ rsync -aP --delete src dst

Simply replace src with target folder and dst with folder where you want to copy the contents of src to. The first time, it works like regular copy. Subsequent runs, it works like magic!

--delete can be a dangerous depending on what you want to do. There’s a nice post over at Digital Ocean to get you started. You can also refer to the man pages for all the options available to tweak rsync’s behaviour.

Stepping on the brakes

In case you were transferring files across a network, it might be a good idea to limit the bandwidth used by rsync. The experience may be rather unpleasant otherwise. Rsync can really suck up all available bandwidth, rendering your network useless to others on the network. Unless you have a super fast network and your storage device can’t saturate it, of course.

So, just use --bwlimit=x to limit the bandwidth used by rsync (in KB/s). For example,

~$ rsync -aP --bwlimit=5000 src dst

In the above command I’m limiting rsync to roughly 5MB/s transfer bandwidth. Depending on your network speed, you’ll be able to limit rsync so that other services can still run reasonably on the network while your transfer is happening.