Sat, Mar 19, 2016
Laravel 5 includes a handy system to create scheduled tasks that are ran through the artisan console. In order to run these command automatically, the documentation recommends using a cron job to call the schedule:run artisan command every minute. One problem: minimal CentOS 7 installs do not come with cron installed. We can easily replicate this functionality using systemd timers however, without having to install any extra dependencies. The best resource for learning more about systemd timers I’ve found is the Arch Linux Wiki Page “systemd/Timers”, which goes into detail on the different types of timers (monotonic and realtime) as well as providing some example unit files.
Fri, Sep 11, 2015
The D Programming Language is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modelling power, with safety and programmer productivity. In this post, I’m going to quickly walk through getting a working D compiler setup on OS X Yosemite, using Homebrew. I’m going to assume you’ve already got Homebrew installed and have a working installation. There are many guides on setting Homebrew up, so I’ll leave that to others.