Ok, if you’re reading this, I’m assuming you know what CORS means, so I won’t tell you that it stands for Cross Origin Resource Sharing. Or maybe I just told you.
So when a new version of any OS comes out, I like to do a clean install. On Macs, this has usually been fairly easy, since HFS+ partitions are pretty flexible — they’ll let you add/remove/resize without a lot of hassle.
In the past, I’ve made a new partition on my drive, installed the new OS X (like Mavericks), copied all my … Keep reading »
Windows batch files (.bat) can be scripted, which means you can do all sorts of things like setting variables. But if you’re having a hard time getting those variables to set, this might be why.
SET var=Holy crap, it sets the variable!
Will work fine, but…
SET var = Holy crap, the space screws it up!
… will not. If you’re used to putting spaces after equals signs like I am, you can make … Keep reading »
So you want to do something on a mapped network drive using PHP, but it simply tells you it couldn’t find the drive? Worry not.
What’s going wrong?
The problem is that PHP runs under the SYSTEM account, and the SYSTEM account can’t access mapped drives.
So, we need to map the drive from the SYSTEM account. You can do this from your PHP script, but if you need persistent access, we … Keep reading »
Maybe you’re like me, and you’re migrating something from MySQL over to PostgreSQL. Maybe, like me, you’re swearing a great deal and experiencing high blood pressure, too.
(Or maybe not.)
I’ve seen numerous threads that just tell you how you can change all your code to use Postgres’s epoch_something_something_aint_nobody_got_time_fo_dat() function instead, but epic hero Janusz Slota has a better way. He shows … Keep reading »
iTunes 11 is out, and most people seem to think it’s great. You and I are different, however. We hate it, and we have our reasons. (Mine happens to be the inability to skip tracks while Repeat One is on. Yup, deal-breaker for me. UPDATE: Fixed that!) So let’s … Keep reading »