This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| ################################################################################################################# | |
| # | |
| # Version 1.4 February 2016 | |
| # Robert Pearman (WSSMB MVP) | |
| # TitleRequired.com | |
| # Script to Automated Email Reminders when Users Passwords due to Expire. | |
| # | |
| # Requires: Windows PowerShell Module for Active Directory | |
| # | |
| # For assistance and ideas, visit the TechNet Gallery Q&A Page. http://gallery.technet.microsoft.com/Password-Expiry-Email-177c3e27/view/Discussions#content |
| import uuid | |
| class Booking(models.Model): | |
| booking_no = models.CharField(primary_key=True, default=uuid.uuid4().hex[:5].upper(), max_length=50, editable=False) | |
| def __str__(self): | |
| return str(self.booking_no) |
| #!/bin/bash | |
| ## Install ISPConfig 3.x on Debian 9 64Bits | |
| ## ISPConfig3 3.x + Apache2 + Debian 9 64Bits | |
| ## VM HD 50GB, swap 2GB, / 20GB, /var/www all | |
| ## Filesystem ext4 | |
| ## Run as root | |
| ## Link: https://www.howtoforge.com/tutorial/perfect-server-debian-9-stretch-apache-bind-dovecot-ispconfig-3-1 | |
| # Check if user has root privileges |
| <?php | |
| $default_avatar = 'http://zacvineyard.com/blog/wp-content/themes/zac/images/default-avatar.png'; | |
| ?> | |
| <a id="comments"></a> | |
| <h2>Comments</h2> | |
| <?php if($comments) : ?> | |
| <ol class="comments"> | |
| <?php foreach($comments as $comment) : ?> | |
| <li id="comment-<?php comment_ID(); ?>" class="<?php if ($comment->user_id == 1) echo "authcomment";?>"> | |
| <?php if ($comment->comment_approved == '0') : ?> |