| Tips - 11/05/2025 04:30 PM EST |
|
A simple way to tell which direction a USB type-A (rectangular) port goes is to put the two holes facing upwards. Most devices follow that standard. Works for USB 1, 2, and 3. To refresh the tip of a soldering iron that has no clean surface left, drag the tip (using hard force) over some copper braided solder wick and it will clean the tip surface. |
| Web site rewrite - 10/29/2025 02:00 PM EDT |
|
The web server code has been upgraded after about 10 years to fix many of the links/apps no longer work. It allows me to test out new versions of web software/scripts and try out ideas that can be used on other projects. |
| Macro to toggle screen on/off - 08/19/2025 11:38 AM EDT |
| Windows 7 Tweaks - 03/25/2015 12:00 AM EDT |
|
These are some tips for making Windows 7 better. Programs
Macros
|
| Sales tax max - 11/09/2014 12:00 AM EST |
|
How many times can a dollar be spent until it's completely converted into tax? In New Jersey, sales tax is 7%. This calculation doesn't include income tax, which works much faster.
Code used $taxCalc = array();
$salesTaxRate = 0.07;
$payment = 1.00;
for($i=0; $i<pow(2,32); $i++){
$taxCalc[] = pow($payment-$salesTaxRate, $i);
if(number_format($taxCalc[$i],2)=="0.00")
break;
}
|