Redirect rule | subdomain to main domain | htaccess

If you have a subdomain and want to redirect it to your main domain, then this post provides the redirect rule that you have to add in .htaccess file in sub-domain’s root directory. Also read: Serve static content like images from subdomain to increase website page speed For example, if your subdomain is img.example.com and […]

View mobile version of a website on desktop PC using Google Chrome

mobile-view-on-desktop-PC

Below are the simple steps to simulate mobile view of any website on a desktop PC using Google Chrome browser. You can simulate the mobile device dimensions including all iPhone models, Samsung and Blackberry phones. Also, you can add the view of any custom device if the phone you are looking is not available in […]

How to create a local link on HTML page? [WordPress]

If you have a long post, then you can create links to different sections on the same page to improve the user experience. These are called local links. If you add local links at the beginning or end, users can quickly jump to the section by just clicking on those links. Below are the simple […]

java.lang.UnsupportedClassVersionError [Resolved]

Recently i installed latest version of java SDK on 64-bit Windows 10 OS. I wrote a small java program, I was able to compile the program, but when i ran the program ,i got below error. Error: A JNI Error has occured, please check your installation and try again Exception in thread “main” java.lang.UnsupportedClassVersionError: main/Main […]

WordPress theme similar to thisiswhyimbroke.com

If you want to create a affiliate site like thisiswhyimbroke website , then you need a wordpress theme that thisiswhyimbroke has. You can get a similar theme having required features from ThemeCountry Theme name is Wiral. It is a premium theme. You can go to below link to buy the theme https://themecountry.com/themes/wiral/

Simple steps to install/uninstall pygame on windows [using pip]

Below are the simple steps to install pygame on Windows Operating system. Steps to install Pygame Install Python on Windows if you have not installed it Goto download pygame Goto Navigation  -> click Download files Download the latest version of pygame source file (.tar.gz file) Download the pygame package by clicking on pygame.x.x.x.tar.gz file link (x.x.x […]

Search Google like a Boss

google search shortcut words and symbols

Here are a few simple searching techniques which help you to search on Google. Use symbols or words to get effective search results. To search within a specific website Type site:site-name.com Example: site:Gethowstuff.com To see similar sites of a specific website type related:site-name.com – Example: related:Google.com To get results with exact word use “Quotation Marks” […]

7 easy steps to reprint challan 280 receipt [SBI]

Below are the simple steps to get or reprint challan 280 receipt on SBI website. Login to SBI account Goto e-Tax -> Reprint Challan/Receipt Select the start Date and End Date Note: Make sure your payment date is between the start and end dates Click on GO button. Your transaction details will be displayed Click […]

Python code to get current year

If you are looking to get current year in integer format in Python programming language, then use below one from datetime import datecurrent_year = date.today().year Source:https://www.quora.com/How-do-I-get-the-current-year-as-an-int-value-in-Python