Created
August 7, 2018 14:12
-
-
Save faizaankhan/68e9b1c800216ff30c2752df0b713e36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mega Menu Codes | |
https://www.codeply.com/go/vZBG452NGf/bootstrap-4-megamenu |
<policymap>
<policy domain="resource" name="temporary-path" value="/tmp"/>
<policy domain="resource" name="memory" value="2GiB"/>
<policy domain="resource" name="map" value="4GiB"/>
<policy domain="resource" name="width" value="128KP"/>
<policy domain="resource" name="height" value="128KP"/>
<policy domain="resource" name="area" value="1.0737GP"/>
<policy domain="resource" name="disk" value="10GiB"/>
<policy domain="resource" name="file" value="768"/>
<!-- <policy domain="resource" name="thread" value="4"/> -->
<!-- <policy domain="resource" name="throttle" value="0"/> -->
sudo nano /etc/ImageMagick-6/policy.xml <!-- <policy domain="resource" name="time" value="3600"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
<!-- not needed due to the need to use explicitly by mvg: -->
<!-- <policy domain="delegate" rights="none" pattern="MVG" /> -->
<!-- use curl -->
<policy domain="delegate" rights="none" pattern="URL" />
<policy domain="delegate" rights="none" pattern="HTTPS" />
<policy domain="delegate" rights="none" pattern="HTTP" />
<!-- in order to avoid to get image with password text -->
<policy domain="path" rights="none" pattern="@*"/>
<policy domain="cache" name="shared-secret" value="passphrase" stealth="true"/>
</policymap>
https://medium.com/@ajayramesh/social-login-with-omniauth-and-rails-5-0-ad2bbd2a998e
OMNIAUTH GOOGLE WITH DEVISE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo nano /etc/ImageMagick-6/policy.xml
then update these
sudo nano /etc/ImageMagick-6/policy.xml