Monthly Archives: April 2012

PHP, __FILE__, and eval()

Came across an odd error last week. And by odd, I mean that Googling for the error message only turned up one page. One of my scripts was using eval as a way to semi-protect the code. Yeah, not a … Continue reading

Posted in Programming | Tagged | Leave a comment

Weekly Tweets for 2012-04-28

Tip from family this morning – If your house is spotless it means it's empty. # Chocolate printer? Yes, please. http://t.co/fkvscwLX # NASA State of Flux – See what humans have done to the planet http://t.co/av3l6aKu #

Posted in Tweets | Leave a comment

Roku remote for Android

A few months ago we bought a Roku for our bedroom, mostly for Netflix. Love it, except for the remote. It’s really easy to lose. A quick search of the Android app store found a few 3rd party remotes that … Continue reading

Posted in Random | Tagged , | Leave a comment

Hits on wp-login.php from the Netherlands

Noticed something looking through AWStats this afternoon. Traffic was coming from 146.0.74.234, an IP address in the Netherlands owned by a Russian. Sure, there will always be a few random hits like that, but this one has hit the login script … Continue reading

Posted in Blogging, Internet | Tagged , , | Leave a comment

Weekly Tweets for 2012-04-21

The Internet: The Humble Origins of the HTML Blink Tag – @Gizmodo http://t.co/wiyhhzKW #

Posted in Tweets | Leave a comment

Adding a label when placeholder isn’t supported by browser

I’m sitting here working on a JavaScript heavy web app, and it has a few forms that are large enough that the placeholder attribute available in HTML 5 was the way to go. Only catch, not all browsers support placeholder … Continue reading

Posted in Programming | Tagged , | Leave a comment

Sorting on version numbers with PHP

Needed a quick way to sort on version numbers, and PHP has a usort function that makes it pretty easy. You’ll need an array to sort and call the usort function with a callback. Now the callback. We’re going to … Continue reading

Posted in Programming | Tagged | 1 Comment

Weekly Tweets for 2012-04-14

Wow! Just changed the channel on my AirPort to something less crowded and estimated time to copy a 250mb file went from 75 minutes to 2. #

Posted in Tweets | Leave a comment

Amazon Images plugin for WordPress

Every now and then I like to link to Amazon products, along with an affiliate tag. Nothing spammy. But I figure if I’m going to link to something that they make money off of, I might as well try to … Continue reading

Posted in Blogging, Programming | Tagged , , , , | 5 Comments

Chrome not saving cPanel password since upgrade

Last week my server updated WHM / cPanel. Only new thing I’ve noticed is the shiny blue login screen, although I’m sure there’s a lot more under the hood. The problem though is that at the same time Chrome stopped … Continue reading

Posted in Computers & Internet | Tagged , , | 9 Comments