Move Spotify's offline files to another hard drive with a directory junction

I recently migrated my Windows installation to a Samsung m.2 drive. Since the capacity for those drives is expensive, I want to keep any unnecessary files off it.

Using TreeSize (free) to check for large directories and files, I noticed that Spotify was storing over 10gb of files in local app data with no option in the app to choose a different location.

That's when I discovered that Windows 10 actually has a command to create symbolic links and directory junctions!

To solve the problem:

  • locate the Spotify storage directory (mine was C:\Users\Jiko\AppData\Local\Spotify\Data) and delete it

  • create a new directory where you want to put Spotify's data (mine is D:\Spotify\Data)

  • open a command prompt  (windows+r)

  • create a Directory Junction

mklink /J "C:\Users\Jiko\AppData\Local\Spotify\Data" "D:\Spotify\Data"

Spotify won't know the difference and your hard drive will be free :)

Pin a non-installed program to the Windows 10 start menu

Note: This also works on non-programs (files, folders, websites, etc.)

  • Open the start menu and type 'run'

  • In the run app, type "shell:programs" and hit OK. This will open up the start menu programs folder (mine was at \Roaming\Microsoft\Windows\Start Menu\Programs

  • Create a shortcut to the exe file
    - right click on the program/file and choose send to desktop (create shortcut)

  • Drag the new shortcut into the programs folder that just opened up

Linux - Manually mount a drive to shared location

Format drive and create desired permissions (GParted)

List drives with uuid
sudo blkid
ls -l /dev/disk/by-uuid
lsblk -f

Create folder wherever you want to access the drive with correct permissions
mkdir /media/data.ext2

Add to fstab (This will automatically mount it as desired on startup)
sudo edit /etc/fstab
UUID=f48dc231-02 /media/data.ext2 ntfs-3g permissions,auto 0 0

sudo mount -a

How to stop spotify from always appearing in the taskbar

Using Windows 8.1 (also probably works in 7 & XP)

1. Find spotify icon in the notifications area


2. Right click on the icon in the notifications area.. select option.



Because having spotify show up in the taskbar all the time is so unnecessary and I hate it.

In other news.. clicking the close "x" does not close spotify as it should. If you want to actually close spotify, you have to click the "exit" option.

Useful commands for setting up CentOS Linux

Find out what version you're running
cat /etc/redhat-release

find out if 64- or 32-bit
uname -m

install with yum
yum install

uninstall with yum
yum remove

remove or delete a file
rm <filename>

installing RHEL EPEL repo

more yum stuff


weird "issues"
(aka n00b mistakes)
warning: epel-release-6-5.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 0608b895
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-5.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-5.noarch

Installing for wrong version! (see above to check your version)

Prevent applications from stealing focus in Windows 8

note: should work in earlier versions of windows too

1. open regedit*
2. navigate to HKEY_CURRENT_USER\Control Panel\Desktop (screenshot below)
3. change the value of ForegroundLockTimeout to 30d40 (by default the value is probably 0)

Restart may be required for the change to take effect.

*pssst.. 30d40 is the hex value for 200000

* to open regedit hit the windows key and search for "regedit"


No BIOS boot after Windows 8 restart to "fix disk"



I've already ruled out any problems from the videocard and other hard drives.

Usually when the BIOS doesn't show it's an obvious motherboard issue.. not a good sign.

But this is literally a week old motherboard.. so that led me to look into other options.


From the events that followed (Windows said it was doing something and restarting.. then no boot after restarting) I've surmised that, somehow, Windows 8 managed to corrupt the BIOS image.

The plan is to reset the CMOS battery.. and hope.


Any suggestions in case this doesn't work?



It worked!


There are two ways to reset the CMOS from the motherboard

1) pull the CMOS battery out for a few seconds

2) find the jumper that resets the cmos and swap configurations for a few seconds.


With either of these methods, make sure to turn everything off and unplug the power supply beforehand.

Create shortcuts to Chrome apps

Since it wasn't immediately obvious, I decided to write this down.

enable the app launcher


If you don't see the app you want, scroll until you see it.

Method 1
Right click and choose "create shortcuts..."



Method 2
You can also create a shortcut manually from an open application (this actually works for any application)

Get the shortcut info

- Right click on the icon in the taskbar

- Right click on the program's name at the top

- Select properties




Create a new shortcut

- Right click on your desktop and choose New > Shortcut


- Copy the Target from the properties window to the location box and hit Next


- Name it whatever you want

Ok good. You can stop here or change the icon.

Here's how:

Change the shortcut's icon

- In the properties window that you have open, click "change icon"

- Copy the path that you see under "look for icons in this file:"

- Right click your new shortcut and choose properties

- Click "change icon" and paste your path in there.

- Press enter or OK and the icon should show up.



Chrome confirm form resubmission when viewing source

So, this is annoying.

This message shows up instead of the source when selecting "view source" in Chrome on a page after posting a form.

I only found two workarounds.
1) save as, then open the saved html file to see the source
2) use developer tools to inspect the DOM

None of those worked for me as desired.

I needed to get a snippet of code generated from posted information.

I suppose I could output the code in a textarea or something, but Firefox doesn't have the same problem. Viewing the source of the page in Firefox shows what I expect.

My list of Alternatives to Google Reader (RIP June 1st)

A lot of these services will import your Reader content for you.

If you want to do it manually, click the link below

Export your Google Reader


I'll update this as I experiment with the services and do more searching.

If you have a recommendation, leave a comment.


Update: 3/14 @ 12pm

So far, Feedly is winning. I also created a Google Currents edition for this blog and my Google+ posts

Currents is cool and all, but it's mobile only.. which doesn't work for me.

@itsnotadam and I were discussing our :( on Twitter and he said he didn't like the magazine view of Feedly.

Well, Feedly let's you change the view.


One part that I absolutely love about feedly is their share bar.


I'll be looking into creating something like this for the blog and other areas on


Update 3/14 @ ~5pm

Found a self-hosted solution for $30. Fever. Looks interesting. Arranges feeds by "hotness".

Shortcut key to reopen closed tabs in Chrome

"Reopens the last tab you've closed. Google Chrome remembers the last 10 tabs you've closed." --chrome keyboard shortcuts

Since I found that shortcut, I notice that I use it quite often.

I saw a funny post (on Google+ I think) that said something like:

"Try browsing with only 6 tabs open at all times"

We all know that never happens.

I've got 7 open right now (not counting multiple browsers.. lol)


Unlike Firefox, Chrome doesn't have a "recently closed tabs" history menu.


When you accidentally close a tab, getting back to it in Chrome can be a hassle.

So use the shortcut Ctrl+Shift+T and pop it back up! It works on multiple levels (if you've closed more than one tab, it will pop them back up in order).

Chrome's history is annoying to navigate in general. At least they moved the history to the parent directory of options instead of where it used to be in Tools > History.

You can use the shortcut Ctrl+H to get to the history faster, but that still doesn't help the fact that the history is listed chronologically. What if the tab was opened 100 history states ago?

The search feature works pretty well, but if you're like me, you'll forget what the page title was. Thereby rendering search useless.


Hope this helps!

If you know a secret shortcut key combo (or a lesser-known one) that you use all the time and want to share it, leave a comment.

Chrome ERROR 103 (net::ERR_CONNECTION_ABORTED): Unknown error

Happened a few times before I got frustrated enough to look it up.

The problem is Kaspersky.

Kill Kaspersky.

Problem solved.


I'd also like to take the time to recommend an alternative: BitDefender

The interface is clean. The software is intuitive. Oh yeah, and I haven't had any malware problems or strange 103 issues.

Update: I've since uninstalled bitdefender because it sometimes bans "unsafe websites" and there's no override. Only way to get past the block is by uninstalling.



The problem seems to only occur on larger sites that use multiple servers.

Depending on the IP you get, sometimes the browser doesn't like something in its HTTP headers.

More likely than not, it's an anti-virus/internet security software issue.

So if you don't have Kaspersky,

first find out what AVP (anti-virus program) you have,

then disable it.

Refresh the 103 error page.


Update: Saw a google groups post 3/12 that says Kaspersky has a patch out for this.

"Patch 17 - for Chrome"

Whatever that means..