Search results for: “c”

  • That’s a lot of code I’ve “example’d”

    Not to say it isn’t useful. I certainly hope it is. Oh and it’s that time of year where I switch out blogger templates. Maybe this time I’ll make it more straightforward and automated. Maybe. Which reminds me: this is the first year that my MUSH will be auto-deploying its Christmas theme. Pretty excited for…

  • USB Fast Chargers

    I’ve been a bit confused lately at what constitutes fast charging versus normal charging, and why newer Android devices complain repeatedly if you use the wrong cable, or the wrong charger, or the wrong cable AND charger. How does it know? Then I found an article on LifeHacker that partially explains it, but this comment…

  • LetsEncrypt List of Useful Commands

    Here are a few letsencrypt commands that I’ve found useful in the past few months of trying it out.

  • Typecasting struct to char* for Idiots Like Me

    Want to cast from a struct to a character string? Seen all those posts out there suggesting that reinterpret_cast will work, but is unsafe? Yeah, I tried it. Yeah, it’s unsafe.

  • Embarcadero TThread Works Just Fine

    I’ve been annoyed for a large amount of time (years in fact) over some of our software we use and sell. In essence, what we have is a TCP GUI that communicates on a 250ms timer with a microcontroller that’s serving up a two-way communications protocol over ModBus FC23 – we send commands either to…

  • PHP Access Control List

    A quick little Access Control List (ACL) snippet I made for PHP/HTML. Enjoy! <?php $acl = array( // Populate with IP/Subnet Mask pairs. // Any zero bit in the subnet mask acts as a wildcard in the IP address check. array(“192.168.10.24″,”255.255.255.255”), ); $acl_allow = false; for ($i = 0; $i < count($acl); $i++) { $ip2chk…

  • Pentax Camera Accessories – The Expensive Joy of Brand Loyalty

    Last April, after months of researching and stressing over whether or not I should (or could), I finally bit the bullet and spent $1300 on a nice 24Mpx Pentax K-3 DSLR. This is a super camera that I really have been enjoying and getting some high quality photos with. Most of all I like the…

  • Expired Domains – A Headache (but a learning experience)

    Hey all! It’s been a few months, I know. But I wanted to share an experience I had with my recent domain name headache. So as you may or may not know, I’ve owned ppsstudios.com since May 2013. I purchased it via Google Apps which in turn set my registrar to eNom. Both are useful services and work…

  • Integer Math – Converting to Binary

    Yes, I realize this is a beginning digital logic concept, but I need somewhere to write this so I don’t forget again.

  • This Annoying Christmas Theme

    Amazing. I’ve neglected this site so much in the past year that I forgot to take my Christmas theme down and now it’s time to put it back up! Awesome.