This issue has been bugging me for a while and I just worked out how to solve it: if you're using NetBeans and add some files to the project outside NetBeans (like copying and pasting in … [Read more...] about How to refresh the projects file tree in NetBeans
Quick little tips about stuff
This section contains short little posts and links to other websites with "quick tips" that don't really need a whole post about them. In some cases they more or less replicate what is in online documentation but are used to bring attention to little known functions etc that my regular readers may not know about; or for quick personal reference.
PHP supports opening remote URLs (e.g. http://www.example.com/something.htmnl) using the fopen and similar functions. It is possible to disable this function in the PHP configuration so this quick tip … [Read more...] about PHP Quick Tip: Check if URL aware fopen wrappers are enabled
I run my webserver and file server from a virtual machine with the files shared using Samba (yes, now that I'm running on OSX I should really share the files with NFS but that's for another day). When … [Read more...] about Fix “the operation can’t be completed because you don’t have permission to access some of the items” error on OSX
If you have some random file name extension (such as .ss for SilverStripe templates) which Netbeans doesn't know about, it's easy to configure it to use the correct syntax highlighting. Configure … [Read more...] about Netbeans Quick Tip: Syntax Highlighting and File Extensions
I recently needed to set up a CentOS 5 box and completely forgot how to set the timezone. There's apparantly a nice easy text GUI for doing it in RHEL but I couldn't find the same thing on the CentOS … [Read more...] about Change the timezone on CentOS