apt-get install pkg-config libmagickwand-dev -y
cd ~/downloads
wget https://pecl.php.net/get/imagick-3.4.0.tgz
tar xvzf imagick-3.4.0.tgz
cd imagick-3.4.0
/opt/sp/php7.0/bin/phpize
./configure --with-php-config=/opt/sp/php7.0/bin/php-config
make install
rm -rf /tmp/imagick-3.4.0*
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
| sub vcl_recv { | |
| if (table.lookup(redirects, req.url)) { | |
| error 777 "Moved"; | |
| } | |
| #FASTLY recv | |
| if (req.request != "HEAD" && req.request != "GET" && req.request != "FASTLYPURGE") { | |
| return(pass); |
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
| <?php | |
| public function getEntryJson(EntryModel $entry) | |
| { | |
| $entryData = array(); | |
| foreach ($entry->getType()->getFieldLayout()->getFields() as $field) | |
| { | |
| $field = $field->getField(); | |
| $handle = $field->handle; |
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
| /** | |
| * @name jQuery List to Select Plugin | |
| * @author Trevor Davis | |
| * @copyright (cc) Trevor Davis (http://www.viget.com) | |
| * | |
| * Licensed under the CC-GNU GPL (http://creativecommons.org/licenses/GPL/2.0/) | |
| */ | |
| ;(function($, window, document, undefined) { | |
| var ListSelect = function(elem, options) { |
NewerOlder