A number of times recently MacOS updates have stopped me accessing my macbook.
The fix for this is as follows:
- Click the restart button
- As the machine restarts hold down the option key
- When the boot options appear, choose your usual boot disc as opposed to the MacOS update.
- Perform the update while you are present in front of the macbook as it fails if you let it try to auto-update.
I use Silverstripe a lot for quickly creating client friendly projects. Silverstripe has a Reports module that allows you to easily compile and display data to admin/CMS users.
The CMS module that controls pages created on the site provides a number of reports for things like broken links. I did not need these reports on a recent project so looked for ways to remove them.
I found a static method in SS_Reports.php that allows just this functionality:
add_excluded_reports supports either an array of report classnames or a single string entry as input.
To remove all of the CMS reports you can add this to your _config.php file:
This morning, I wondered what the most in demand programming languages were. I decided that Stack Overflow jobs would be a professional website that would likely give a representative answer for jobs that someone might actually want and that actually exist (as opposed to recruiters making them up).
This is useful information for when it comes to upgrading our skills and seeing what approaches other people are taking for solving programming problems.
I therefore created in 5 minutes a script to allow me to grab the RSS feed for Stack Overflow jobs within 50 miles of Horsham. When you perform a search on SO, it gives you the option at the bottom to get an rss of the results.
Using CURL I grabbed the RSS feed, I then just had to loop through the individual job posts and created an array of categories and counts.
298 different categories were found on 287 jobs, here are the top 20 categories:
- java: 55
- c#: 47
- python: 40
- html: 32
- css: 32
- angularjs: 29
- sql: 26
- c++: 26
- linux: 25
- agile: 25
- php: 24
- node.js: 23
- .net: 23
- tdd: 23
- ruby: 22
- amazon-web-services: 18
- html5: 17
- ios: 16
- sysadmin: 15
Annoyingly, it took 5x longer to post this on here than to write the code…