Category Archives: Programming

PHP Argon2 Password Hashing

Password Hashing Overview In the world of web development and password storage, an ongoing debate lingers on, and probably will forever. The currently accepted “best practice” for hashing passwords is called Argon2 (wikipedia link to argon2). To give a brief overview of what it is, it takes any string (like your password) and converts it… Read More »

T-SQL Temp Table Check

What’s better than dropping your temp tables at the end of every script? Checking for their existence at the beginning of the script and dropping them.

WordPress’ Secret Admin Panel

As I was attempting to update my email address in a WordPress blog, it was stuck. A notification said: There is a pending change of the admin email to xoxoxo@xoxoxo.com

Javascript Date is One Day Off

In JavaScript, dates are based on the UTC time, the starting timezone which all others are based on. You may have a date in JavaScript that should be one particular date but for some reason changes itself to the previous day. The way to fix it is to add the timezone offset to the date.… Read More »

Code Comments For MiniMap

There is a great way to mark sections of your code with a highly visible indicator that requires less effort to identify. It’s preference, for sure. I would imagine that certain people might find this a gaudy way to comment their code, while others would appreciate the practicality of it – because, boy, is it… Read More »