≡ Menu

When Windows OS crashes (Blue Screen of Death or BSOD) it dumps all the memory information into a file on disk. This dump file can help the developers to debug the cause for the crash.   The default location of the dump file is %SystemRoot%memory.dmp i.e C:\Windows\memory.dmp if C: is the system drive. Windows can also capture [...]

{ 1 comment }

Computername registry key

If you want to look up registry key database to fetch computer name/domain name, then this post helps you find the key that has this information. Open registry editor with the command regedit Navigate to the node HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName On the right side pane, look for the value ComputerName. This would show you the computer name. [...]

{ 3 comments }

Windows update registry keys

Learn how to modify windows update controls using registry keys. Windows auto update can be enabled/disabled using these registry settings. Location of Windows updates registry keys The registry keys that control Windows update settings are located in the below registry key. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update This key has several registry values under it. Out of these, the [...]

{ 8 comments }

fgrep files

Learn how to use fgrep to compare the contents of two files with each other. The command can be used to find the contents present in one file but not in the other file. This does not require the file contents to be sorted. Find contents of file1 that are also present in file2 fgrep [...]

{ 1 comment }

This post explains how to create a user account on AWS RDS servers and assign privileges to access tables. I did this on Maria DB server and I assume this process would work for Aurora DB instances too. First you need to logon to the DB. You can use mysql utility for this. mysql -h [...]

{ 0 comments }

Website changes are very common in bloggers’ world – Migrating from blogger platform to WordPress, changing permalink structure and moving content to a new domain. I did all of these which resulted in the below issues. URL links in posts that are with old permalink structure. They are like mydomain.com/2013/05/some-post.html. URL links pointing to old [...]

{ 2 comments }

My new laptop Dell Latitude E7450 has Broadcom fingerprint scanner. The OS image that I received with the laptop did not have the updated drivers installed for this device and I had trouble in configuring finger print based login. When I opened bio-metric device settings in control panel, it was showing unavailable status as below. [...]

{ 0 comments }

I had been using Wordpress Zero spam plugin for almost 6 months. I found it to be working perfectly, filtered out all spam and worked fine with thesis theme and W3 Total cache plugin. But things have changed with me recently upgrading to wordpress 4.4.2 Readers posting comments encounter the below error There was a [...]

{ 0 comments }

I got this exception when I was running an EMR application org.apache.spark.SparkException: File ./myapplication.jar exists and does not match contents of //10.28.139.44:33084/jars/myapplication.jar If you run into this exception, the issue could be that the nodes have run out of disk space on one of the partitions as I found it out in my case. When [...]

{ 0 comments }

Hadoop file system commands

If you are working with EMR or hadoop, the following file system command would be handy. List the contents of a directory hadoop fs -ls folderPath Example: To list the contents of the folder hdfs:/input/ hadoop fs -ls /input/data To list all the files recursively in all subfolders hadoop fs -ls -R /input/data To remove [...]

{ 1 comment }