Archive for September, 2017

Debugging cron Scripts

by Jason Stewart
People come up with all sorts of debatable shell voodoo for debugging an errant cron job. If the script runs successfully under your interactive shell, yet fails under cron, I am 99% sure for your case (and 100% sure for my case) that it is due to a difference in runtime environments. For simple scripts, […]

Building SASS/SCSS in Sublime Text 3

by Jason Stewart
There are so many packages for building sass and scss files in Sublime Text 3, but I think a lot of them make it more complicated than it needs to be. I prefer to use the official Sass compiler already on my system and just make a .sublime-build file for it. Save this under your […]

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/ on line 14