Using Magic Numbers is one of the causes of ugly code. For example, if you want to deal with two protocols, HTTP and FTP (to count the data packages), …
It happens to me quite often that when I was trying to update plugins in WordPress, the website enters the maintenance mode and the webpage looks like this: This …
Dotfuscator is a commercial software that is used to obfuscating .NET source code. It could be found in early Visual Studio (as a default obfuscator) but later it became …
My first website steakovercooked.com started at 2006 (9 years ago). And at that time, I didn’t know much about the file encoding/charset and also, the UTF-8 was not so …
3D vector operations are quite useful and common in the math world, especially when it involves the geometry. The following is a simple class made in PHP that encapsulates …
I wrote these PHP functions to compute matrix determinant for 2×2 and 3×3 matrices long time ago and I share these three simple functions here just in case someone …