View apache-file-proxy.conf
This file contains 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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{DOCUMENT_ROOT}/$1 -f [OR] | |
RewriteCond %{DOCUMENT_ROOT}/$1 -d | |
RewriteRule (.*) - [L] | |
# | |
# Else proxy | |
RewriteRule ^/(.*)$ ##DOMAIN##/$1 [P,QSA] | |
ProxyPassReverse / ##DOMAIN## |
View ajax_links.patch
This file contains 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
diff --git a/ajax_links_api.js b/ajax_links_api.js | |
index 457d681..6dd4738 100644 | |
--- a/ajax_links_api.js | |
+++ b/ajax_links_api.js | |
@@ -152,5 +152,8 @@ | |
formAction = formAction.replace('?ajax=1', ''); | |
$('form').attr('action', formAction); | |
} | |
+ | |
+ // Re-add listeners. |
View facetapi_slider_disable_slider.patch
This file contains 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
diff --git a/sites/all/modules/contrib/facetapi_slider/plugins/facetapi/widget_slider.inc b/sites/all/modules/contrib/facetapi_slider/plugins/facetapi/widget_slider.inc | |
index 47d176f4a..1e9d2d9ea 100644 | |
--- a/sites/all/modules/contrib/facetapi_slider/plugins/facetapi/widget_slider.inc | |
+++ b/sites/all/modules/contrib/facetapi_slider/plugins/facetapi/widget_slider.inc | |
@@ -61,6 +61,9 @@ class FacetapiWidgetSlider extends FacetapiWidget { | |
$slider['#range_max'] = isset($slider['#range_max']) ? $slider['#range_max'] : $slider['#global_range_max']; | |
} | |
// Kanopi patch end | |
+ $this->build[$this->facet['field alias']][$this->facet['field']] = $slider; | |
+ |
View acf_url_as_html.php
This file contains 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
/** | |
* Output ACF url field as HTML. | |
* | |
* Optionally add attributes to the link as an array. | |
* | |
* Example: | |
* | |
* acf_format_link('cp_flex_tab_1', ['class' => 'btn btn-large', 'data-id' => 123]); | |
* | |
* Will render the field like so. |
View security_updates.sh
This file contains 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
#!/bin/bash | |
# Find security updates | |
MODULE_LIST_FILENAME=module_list | |
rm $MODULE_LIST_FILENAME #This is just for local dev testing | |
touch $MODULE_LIST_FILENAME | |
terminus auth:login | |
terminus drush prepme.live -- ups --security-only --pipe > $MODULE_LIST_FILENAME | |
# Check if there are things to update |
View Country codes
This file contains 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
AF : Afghanistan | |
AX : Aland Islands | |
AL : Albania | |
DZ : Algeria | |
AS : American Samoa | |
AD : Andorra | |
AO : Angola | |
AI : Anguilla | |
AG : Antigua and Barbuda | |
AR : Argentina |
View jvectormap_parse_svg.php
This file has been truncated, but you can view the full file.
This file contains 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 | |
$amchart_map_svg = '<?xml version="1.0" encoding="utf-8"?> | |
<!-- (c) ammap.com | SVG map of World - High --> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:amcharts="http://amcharts.com/ammap" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> | |
<defs> | |
<style type="text/css"> | |
.land | |
{ | |
fill: #CCCCCC; | |
fill-opacity: 1; |
View pr-85-kanopi-2019.pantheonsite.io_2019-08-13_06-14-05.lighthouse.report.json
This file contains 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
{"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/74.0.3729.169 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse","hostUserAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/74.0.3729.169 Safari/537.36","benchmarkIndex":1228},"lighthouseVersion":"5.0.0","fetchTime":"2019-08-13T13:14:05.525Z","requestedUrl":"http://pr-85-kanopi-2019.pantheonsite.io/","finalUrl":"https://pr-85-kanopi-2019.pantheonsite.io/","runWarnings":[],"audits":{"is-on-https":{"id":"is-on-https","title":"Does not use HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web p |
NewerOlder