To install the needed components you can use Homebrew
name: {{ WEBSITE NAME }} | |
recipe: wordpress | |
env_file: | |
- .env.example | |
- .lando.env | |
excludes: | |
- vendor | |
- node_modules | |
config: | |
php: "8.2" |
#!/bin/bash | |
# Prints a list of wp cron schedules on servers set up by SpinupWP. | |
# Includes only standard wp cron events, nothing custom. | |
# | |
# Setup: | |
# cd /usr/bin/ | |
# sudo vim get_cron_schedules.sh | |
# -- paste in the contents of this file and save | |
# sudo chmod 755 get_cron_schedules.sh | |
# |
Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your o
#!/bin/bash | |
echo "Setting up Roots Trellis with Bedrock | |
Requirements | |
Ansible >= 1.9.2 | |
Virtualbox >= 4.3.10 - Install | |
Vagrant >= 1.5.4 | |
vagrant-bindfs >= 0.3.1 (Windows users may skip this) | |
vagrant-hostsupdater | |
PHP >=5.4 | |
Composer" |
#!/usr/bin/php | |
<?php | |
# Array of the servers you want to ping. | |
$servers = array('mikerogers.io', 'google.com', 'downserver.come'); | |
# PingDomain() from http://stackoverflow.com/a/9843251/445724 | |
function pingDomain($domain){ | |
$start_time = microtime(true); | |
$file = @fsockopen ($domain, 80, $errno, $errstr, 10); | |
$end_time = microtime(true); |