Category: Tips

How to enable root user and password on MacOS Yosemite

Here is another example of Apple making things easy for average users and convoluted for more advanced users. Trying to set up git on MacOS, you have to run something like this early on: $ git config –global user.name “User Name” $ git config –global user.email “user@address.com” This should work, unless you installed Xcode some time before and forgotten all about…

Continue reading

Windows 8 hiccups

So.. one of the PCs at home started acting up. Blue screen of death after a few minutes on. Probably driver related (worked fine in Safe Mode). After trying a new video card and removing sound related drivers, the issue remained. Time for a refresh. Conveniently, I had a DVD of Windows 8 Pro purchased a few days ago. Great!…

Continue reading

Installing GCC on MacOS

It’s a familiar chain of installation: In order to install NLTK for a workshop about Natural Language Processing First you have to install Python, then install NLTK and dependencies, including Python Setup tools. Find out Numpy doesn’t compile because GCC is not available No worries, GCC is part of XCode tools, which requires a 3Gb download package (!) and signing…

Continue reading

SQL injected!

Google Webmaster tools alerted me to a recent infection of one of my sites with malware. The infected area turned out to be a simple directory of alumni from my former school, written in ColdFusion. I thought I had been clever by having a two steps confirmation process before updating entries in the database but that was written long ago…

Continue reading