Skip to content

Instantly share code, notes, and snippets.

@mohammadsalem
Last active August 28, 2019 16:31
Show Gist options
  • Save mohammadsalem/50611d915a7fba0e905865ede379e433 to your computer and use it in GitHub Desktop.
Save mohammadsalem/50611d915a7fba0e905865ede379e433 to your computer and use it in GitHub Desktop.
General notes
  • ImageMagick did a security update prevented it from reading PDF files, to override it change the rights for PDF to "read" <policy domain="coder" rights="read" pattern="PDF" /> in the file /etc/ImageMagick-6/policy.xml

  • Use this query to see MySQL views where a column or table has been used

SELECT *
FROM INFORMATION_SCHEMA.VIEWS
WHERE TABLE_SCHEMA = 'DATABASE_NAME' AND VIEW_DEFINITION LIKE '%SEARCH%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment