JavaScript Canvas getImageData Pixel Colors Slightly Off in Firefox
Dec 3, 2023Programming
Browser fingerprinting protection can cause the RGB values of image data returned by context.getImageData() to be randomly off by a little bit (usually -1 or 1). So instead of solid black being rgba(0, 0, 0, 255) as expected, it might be rgba(0, 1, 0, 255) or similar.
Continue Reading ›
How to Make Amazon SP-API Requests in PHP Without SDK
Mar 29, 2023Computer HardwareComments (35)
This post covers how to make requests to the Amazon Selling Partner API (SP-API). The examples used here will be for the getItemOffers operation of the Product Pricing API, but you should be able to adapt what you learn to any of the operations or Selling Partner APIs.
Continue Reading ›
Stop iPhone from Adding HTML Telephone Links to Numbers on Your Site
Mar 9, 2023Web DevelopmentComments (1)
At least on iOS Safari on iPhone, if it runs across text that looks like it might be a phone number, it may insert an HTML link to hotlink that bit of text. So something like this:
Continue Reading ›
How to use FedEx API with PHP Examples
Feb 16, 2023ProgrammingComments (5)
Here's a guide on how to get set up with the FedEx API and start making requests. I've included PHP code examples for retrieving tracking data using the Track API, but it can be adapted to any language and other FedEx APIs. This guide assumes you have decent knowledge on handling JSON objects and making HTTP requests.
Continue Reading ›
PHP Get US Holidays for Multiple Years
Feb 14, 2023Programming
Here is a simple PHP script that generates US holidays for multiple years in YYYY-MM-DD format, and stores them in a basic array. Note that due to timezone differences, this may create unexpected results within 24 hours of a new year for users that are in different timezones.
Continue Reading ›
Ark Survival Evolved Save Game and Settings Locations on Xbox PC Game Pass
Jan 6, 2022PC GamingComments (3)
Ark, when downloaded with PC Game Pass using the Windows 10/11 Xbox app (or Windows Store) has somewhat-obscure application, settings, and save locations. It can make backing up your save games or making settings tweaks more difficult than it would be with the Steam or Epic versions.
Continue Reading ›
How to Disable YouTube Try the YouTube Kids App Popup
Aug 20, 2019Web and InternetComments (5)
Here's a simple way to hide the YouTube "Try the YouTube Kids App" popup that shows up on the main screen. Please note that this may also block other types of popups that YouTube uses.
Continue Reading ›
Run a Minecraft Server on Your PC and Play with Friends over the Internet or a LAN
Nov 15, 2018PC GamingComments (461)
Setting up a Minecraft server on your home Windows computer is fairly easy. With basic knowledge of computers and networking, you can be playing with friends over a local area network (LAN) or the Internet in minutes.
Continue Reading ›
Tesla Federal Tax Credit 2018 Expiration/Phase-Out Schedule
Jul 5, 2018Energy
The federal tax credit for electric vehicle purchases begins to phase out for an automaker once that automaker sells 200,000 electric vehicles. Once the phase out begins, the full tax credit ($7,500 for Tesla) is still available for the quarter they hit 200k in and the following quarter. After that it goes down to 50% for two quarters ($3,750), and finally 25% for two more quarters ($1,875).
Continue Reading ›
How to Disable YouTube Live Chat
Jun 1, 2018Web and InternetComments (17)
Here's a simple way to hide the YouTube live chat window and block it from loading altogether. This should also result in a small improvement to page load speed when visiting YouTube video pages that have live chat.
Continue Reading ›
How to Block YouTube Video "End Screens" Overlays and Subscribe Thumbnail at End of Video
May 23, 2018Web and InternetComments (141)
YouTube has recently added End Screens as an option for publishers. Similar to annotations, these overlay over the current video while it's playing, but unlike annotations they cannot be dismissed. These end screens appear in the final 10-15 seconds of the video and can contain thumbnails for videos, channels, and websites:
Continue Reading ›
Google Android ADB & Fastboot Latest Version Direct Download for Windows
Mar 8, 2018Mobile
No more needing to download the full SDK or get these tools from a 3rd party source:

https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Continue Reading ›
Link To A Specific Time In A YouTube Video
Jan 26, 2018Web and InternetComments (16)
You can link to a specific part of a YouTube video, so that upon visiting the URL you are taken directly to that time, three different ways:
Continue Reading ›
How to Handle Android Back Button Event in C# Unity Game Engine (Quit, Pause, Etc)
Nov 23, 2017ProgrammingComments (7)
In Unity, the Android back button is treated the same as the "Escape" KeyCode. So in order to do something when the user presses the back button on their Android device, you need to check for the Escape key being pressed down and also make sure the user is on the Android platform (if you're cross-platform).
Continue Reading ›
NewerPage 1Older