Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
const app = Application.currentApplication() | |
app.includeStandardAdditions = true | |
function getJSON(path) { | |
const fullPath = path.replace(/^~/, app.pathTo('home folder')) | |
const contents = app.read(fullPath) | |
return JSON.parse(contents) | |
} | |
function run() { |
<script> | |
(function(){ | |
var data = { | |
"@context": "http://schema.org", | |
"@type": "BlogPosting", | |
"mainEntityOfPage": { | |
"@type": "WebPage", | |
"@id": {{Page URL}} | |
}, | |
"headline": {{SCHEMA - Article Headline}}, |
#! /usr/bin/env bash | |
### | |
# | |
# install_mysql.sh | |
# | |
# This script assumes your Vagrantfile has been configured to map the root of | |
# your application to /vagrant and that your web root is the "public" folder | |
# (Laravel standard). Standard and error output is sent to | |
# /vagrant/vm_build.log during provisioning. |
#!/bin/bash -e | |
# For PHP5 and /etc/php5/php.ini you would setup like so: | |
# sendmail_path = "/path/to/sendmailsink.sh" | |
LOG_FILE="/var/log/sendmailsink" | |
echo "$(date "+%Y-%m-%d @ %H:%M:%S") || $0 $*" >>$LOG_FILE | |
echo >>$LOG_FILE |