Developers mostly like to take control of your machine and how things work on it. This time I decided to take control where NodeJS would restore my global packages and manages package cache. In this case I am referring to Windows 10 particularly as that is my core development platform. By default NodeJS gets installed in C:\Program Files\nodejs folder (assuming you are installing nodejs - Windows x64 version). After installation lets say I wish to install http-server package so I can run static HTTP server from any folder. As soon as I do npm install http-server -g, this start adding package and it's dependency packages into C:\Users\username\AppData\Roaming\npm and C:\Users\username\AppData\Roaming\npm-cache folder. So I wish to shift these two folders to different and custom location e.g: D:\nodejs. Let's do it! Step: Edit NPMRC file at follow location: C: » Read more

 Jsinh        

I recently upgraded to Windows 8.1 from my Windows 8 version I have been using since it was released. The upgrade from store worked pretty well. I was worried about the software, files and profile settings during this transition, but all worked well at the end. All my installed software works fine, no files seems missing and profiles settings are the same. So I am happy to upgrade from Win 8 to Win 8.1. I am using Samsung SSD 840 PRO (MZ-7PD256BW) on my desktop and you know SSD are costly and will have less disk space then your normal HD offers. This means I am very skeptical about each file I have in my system drive. After upgrade I found huge increase in disk space usage. I tried to find out who was eating my disk space and I found two new folder in system drive. $Windows. » Read more

 Jsinh        

Ever heard of Cheat Sheet or God Mode? We usually used to do this stuffs while playing games where we do something or enter some secret code and we get all the powers and lots of life to be unbeatable in the game. Lame but still fun and exciting. One of the windows secret for Windows 8 and (or Windows 7) is the "God Mode". Its a folder equivalent to control panel on the machine and it "unlocks" a set of secret features all in one place, in one folder. Create a new folder and name the folder GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} Note: This works for me on Windows 7 and Windows 8 machine, but while doing the copy - paste thing windows injects a extra dash between the last set of 12 characters, so verify it and remove the same to make it work. Now hit enter and you will see » Read more

 Jsinh