It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
# | |
# Wide-open CORS config for nginx | |
# | |
location / { | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | |
# | |
# Custom headers and headers various browsers *should* be OK with but aren't | |
# |
location ~ [^/]\.php(/|$) { | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_index index.php; | |
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; | |
include fastcgi_params; | |
fastcgi_param PATH_INFO $fastcgi_path_info; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
} |
#!/usr/bin/env bash | |
declare -A params=$6 # Create an associative array | |
declare -A headers=${9} # Create an associative array | |
declare -A rewrites=${10} # Create an associative array | |
paramsTXT="" | |
if [ -n "$6" ]; then | |
for element in "${!params[@]}" | |
do | |
paramsTXT="${paramsTXT} |
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
<?php | |
/** | |
* READING TIME | |
* | |
* Calculate an approximate reading-time for a post. | |
* | |
* @param string $content The content to be measured. | |
* @return integer Reading-time in seconds. | |
*/ | |
function reading_time( $content ) { |
Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Read more...
Download homestead box:
# Get the latest from GitHub, public repo: | |
$ npm install username/project-name --save-dev | |
# GitHub, private repo: | |
$ npm install git+https://token:x-oauth-basic@github.com/username/project-name.git#master | |
$ npm install git+ssh://git@github.com/username/project-name.git#master | |
# … or from Bitbucket, public repo: | |
$ npm install git+ssh://git@bitbucket.org/username/project-name.git#master --save-dev | |
# Bitbucket, private repo: | |
$ npm install git+https://username:password@bitbucket.org/username/project-name.git#master |
date +%T -s "HH:MM:SS" |
#!/bin/bash | |
yarn | |
yarn build |