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.

Did you see Google web designer or whatever

(04:50:23 PM) Matt A: did you see google web designer or whatever

(04:50:43 PM) Joe: uhhh i don't think so

(04:50:46 PM) Matt A:

(04:51:06 PM) Joe: yeah i google'd just now haha

(04:51:10 PM) Joe: "mac and pc" meh

(04:51:19 PM) Matt A: wat

(04:51:20 PM) Joe: the interface looks like photoshop

(04:51:31 PM) Matt A: yeah like blatant ps ripoff

(04:51:44 PM) Matt A: maybe ill learn it

(04:51:44 PM) Joe: whatever at least it won't be a safari like GIMP

(04:51:51 PM) Joe: it's like hunting lions in there

(04:52:04 PM) Matt A: ive never even used gimp

(04:52:04 PM) Joe: thought i clicked the zoom tool but it was an anaconda!

(04:52:09 PM) Matt A: lol

(04:52:19 PM) Joe: the fucking color sampler shortcut is O

(04:52:23 PM) Joe: why. why is it fucking O?

(04:52:33 PM) Matt A: iwonder what i is

(04:52:43 PM) Joe: scissor

(04:52:46 PM) Joe: :|

(04:52:48 PM) Matt A: ah. of course.

(04:52:51 PM) Matt A: scissor.

(04:52:53 PM) Matt A: yeah.

(04:53:00 PM) Joe: wtf even is that

(04:53:09 PM) Joe: that's what i think 100% of the time i use gimp

(04:53:10 PM) Matt A: for scissoring i presume

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".