Save Windows Spotlight Pictures

By | Technology | No Comments

Windows 10 introduced Spotlight, that sets some truly remarkable pictures as your lock screen. So if you want to save these pictures in your device as normal pictures, here is the easiest way to do. 1. Go to the following directory in your computer. C:\Users\{your name}\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets 2. Copy the files in the location to a separate location. Open the command…

Read More

Using Dictionary API in Java

By | Technology | No Comments

Below is the code that I came up with while I was preparing for my GRE exams, I wanted a program that would take a word as input and then fetches the meaning for that word from online. I used Merriam Webster’s api to get the XML and parsing it using the DOM parser. You have to replace the apiKey…

Read More

Triangle Quest in Python – Solution

By | Technology | No Comments

I came across a programming puzzle in which we are given a positive integer N (0 < N< 10). we need to print a palindromic triangle of size N. For example if N = 5 then the expected output is [dt_code]1 121 12321 1234321 123454321[/dt_code] Below is my solution written in python: **Note that the above code is written for…

Read More

Changing the WordPress site URL manually

By | Technology | No Comments

Just now, I faced an issue with my site, I wanted to install the SSL certificate to my site and so changed the site URL from http to https and saved the settings in the dashboard settings and as soon as I did it, I encountered an error saying the URL has too many redirects.   I was unable to go back…

Read More