The best programming blog.

Covering a wide array of programming topics.

How to enable Developer Options on Amazon Fire TV

Go to Settings on your Amazon Fire TV. Click My Fire TV option. Click About option in My Fire TV menu Click Fire TV Stick in the About menu: Click that option seven times, clicking it seven times will turn on the Developer Option on your FIre TV. Go back to the previous menu by…More

Find Android SDK location on mac

In Android Studio on mac go to Preferences >> Appearance & Behavior >> System Settings >> Android SDK. Ususally, it is located at /Users/<UserName>/Library/Android/sdk on MACMore

Check if cookie exists in php

In PHP, the “isset()” function can be used to check if a cookie exists. This function returns true if a specified variable is set, not null and false otherwise. Here is some sample code that shows how to use the isset() function to check if a cookie called “YourCookieName” exists: You can also use the…More

npm get the default author

Run the following command to get the default author set on the current machine for the npm init command: The command will return the default author configured for npm init command. The output will be like this:More