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
5 5 * * * php /var/www/Scripts/twit-get.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
# network settings | |
inet_interfaces = all | |
mydomain = yourdomain.co.uk | |
myhostname = mailer | |
mynetworks = all | |
mydestination = localhost.$mydomain, localhost | |
relay_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql-relay_domains_maps.cf |
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 | |
$to = "sendtoperson@domain.com"; | |
$subject = "This is the email subject"; | |
$headers = "MIME-Version: 1.0" . "\r\n"; | |
$headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n"; | |
$headers .= "From:<email@domain.com>" . "\r\n"; | |
$headers .= "Reply-To:<sendbyperson@domain.com>" . "\r\n"; | |
$headers .= "X-Mailer: PHP/" . phpversion(); | |
$message = "This is the message"; | |
mail($to, $subject, $message, $headers); |
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
<p><?php echo wpAdminEmailUserBio(); ?></p> |
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
// Auto update all 3 types of WordPress releases | |
define('WP_AUTO_UPDATE_CORE', true); | |
// Disable all 3 types of WordPress releases | |
define('WP_AUTO_UPDATE_CORE', false); | |
// Only auto update WordPress minor core changes | |
define('WP_AUTO_UPDATE_CORE', 'minor'); |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>ryanfitton.co.uk - Android robot using CSS3</title> | |
<meta name="description" content="ryanfitton.co.uk - Android robot using CSS3"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
body { |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>ryanfitton.co.uk - Android robot using CSS3</title> | |
<meta name="description" content="ryanfitton.co.uk - Android robot using CSS3"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
body { |
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
/* Gmail style scrollbar */ | |
::-webkit-scrollbar { | |
width: 12px | |
} | |
::-webkit-scrollbar-thumb { | |
border-width: 1px 1px 1px 2px | |
} | |
::-webkit-scrollbar-track { | |
border-width: 0 | |
} |
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
<script type='text/javascript'> | |
var file_frame; | |
jQuery('.upload_image_button').live('click', function( event ){ // '.upload_image_button' is the ID of my button that opens the Media window | |
formfield = jQuery(this).prev().attr('name'); // Needed for the script to send the URL to the appropriate text box | |
event.preventDefault(); | |
if ( file_frame ) { | |
file_frame.open(); |
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
<div style='clear:both;margin-bottom:10px;overflow:auto;'> | |
<label>Image 1: </label> | |
<input name='image_1_port' id='image_1_port' style='width:200px' /> | |
<input id='_btn' class='upload_image_button' type='button' value='Choose Image 1' /> | |
</div> | |
<div style='clear:both;margin-bottom:10px;overflow:auto;'> | |
<label>Image 2: </label> | |
<input name='image_2_port' id='image_2_port' style='width:200px' /> | |
<input id='_btn' class='upload_image_button' type='button' value='Choose Image 2' /> |
NewerOlder