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 can do this:
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 you how to, rather easily, make it possible to run … 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 make things right again.
The Actiontec GT784WN is a pretty nice DSL modem/wireless N router. For most of you, it will work right out of the box — even auto-detecting all your settings.
If you’re on Qwest/CenturyLink, not so much. In fact, they’ll try to tell you that the modem isn’t even compatible. That isn’t quite true — it is compatible, it simply isn’t supported, meaning their customer service has no training for this model. And that’s okay!
If you use a Mac and Windows together, you’re likely to end up with a bunch of hidden .DS_STORE files all over your Windows drives. You can easily search and destroy them all using this command:
(Open the command line first of course. You can do this by mashing Win + R, then typing “cmd”. Or just type “cmd” in the Start Menu search box.)
del /s /q /f /a .DS_STORE
That will find every instance of this Mac resource file and delete … Keep reading »
Recently, I installed Lubuntu 11.10 (a netbook-optimized version of Ubuntu) on my wife’s netbook at Lifehacker’s suggestion. And wow–did it make an incredible difference. It’s like a brand new machine compared to Windows 7 running on it, which was getting unbearably slow.
While Lubuntu will look and act pretty familiar to anyone born and raised on Windows, I wanted to make sure when I handed the netbook back to her, she was as comfortable as possible. That meant configuring, … Keep reading »
Update: This works all the way up to 10.10 Yosemite.
Ever wanted to have some more organization on your dock? I like to keep things separated more or less by group: everyday things, development tools, and apps that just happen to be open but aren’t permanent fixtures on my dock. I also like to keep my documents and folders separated from minimized things and the trash on the right side…. Keep reading »
At first glance, it may look like Microsoft disabled recording of internal—or “what you hear”—sounds in Windows 7. Well, they didn’t. It’s a little trickier, granted, but this is (often) a quick fix.
To enable it:
1. Right click on the speaker icon in the system tray (bottom right).
2. Choose Recording Devices
3. In the empty white space, right-click and choose Show Disabled Devices. You should see Stereo Mix appear in the list.
4. Right click on Stereo Mix and choose Enable.
5. Right click … Keep reading »