Get image dimensions in Java

Posted by & filed under Coding.

Earlier this week I Googled for how to find the dimensions of an image using Java, and most of the solutions were way more complicated than they needed to be. Most of what I came across was code that opened the image and parsed through the binary code to get the dimensions. Yes, there’s an… Read more »

How to create a random color in Java

Posted by & filed under Coding.

Want to create a random color in Java? With a bit of math, plus Math.random(), it’s pretty easy. A bit about colors Colors on the computer are made up of a red, green, blue triplet; typically called RGB. And each of the 3 pieces can be in the range from 0 to 255. Java also… Read more »

Testing email with PHP

Posted by & filed under Coding.

Wish I had found this years ago… Up until about a week ago my normal process for testing PHP code that sends email was to run sendmail through WAMP and send to my email address. I’m thinking about the amount of time I could have saved had I found this plugin when I first started…. Read more »

Multiple monitors… harder to concentrate?

Posted by & filed under Coding.

My desktop is running across 3 monitors, and I really think that I can be more productive using all 3. The setup allows me to keep Netbeans open on one monitor, Chrome open on the second to see whether the code that I just typed looks like I want it to, and references on the… Read more »

Network-Practice.info

Posted by & filed under Coding.

Needed a way to practice a bit for the CCNA exam that I’m planning on taking within the next few months. I’ve found a bunch of multiple choice banks to cover a lot of the memorization, but was looking for a way to practice more with network addressing. Sure, there are some multiple choice banks… Read more »

JavaScript Error ‘expected identifier, string or number’ in IE

Posted by & filed under Coding.

Sometimes you get those errors that just pick at you and you can’t seem to find a solution. It happened to me this morning when testing and reviewing a JavaScript library I’m writing in IE7. FireFox worked without a hitch, but IE threw an ‘expected identifier, string or number’ error pointing to the last line… Read more »