Skip to content

Instantly share code, notes, and snippets.

@mattkirwan
Last active August 29, 2015 14:13
Show Gist options
  • Save mattkirwan/2588935da356fe81cad1 to your computer and use it in GitHub Desktop.
Save mattkirwan/2588935da356fe81cad1 to your computer and use it in GitHub Desktop.
Problems you know you've solved but can't remember the solution....
Q: Having problems with [usemin, grunt, useminprepare] not correctly renaming hook blocks in a [html, twig] template?
A: Check the motherfucking line endings of that file and ensure they are 'Unix'.
Q: Running a cron job and the script isn't firing?
A: Don't forget to check the PATH variable is imported at the top of the .sh file
Q: Having problems updating ModX directories (eg: core) and the /setup/ upgrade not working?
A: Make sure you replace the files/directories with the cp -R command and not Finder. Because Finder merge is weird and shit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment