First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
<?php | |
namespace EPH\DAEmbed; | |
function register_providers() { | |
$callback = __NAMESPACE__ . '\handle_deviantart'; | |
wp_embed_register_handler( 'deviantart-main', '#https://www.deviantart.com/*+#', $callback, 10 ); | |
// Include other handlers as needed | |
} |
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
# Mailhog | |
MAIL_MAILER=smtp | |
MAIL_HOST=0.0.0.0 | |
MAIL_PORT=1025 | |
MAIL_USERNAME=null | |
MAIL_PASSWORD=null | |
MAIL_ENCRYPTION=null |
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
<?xml version="1.0"?> | |
<ruleset name="PHP_CodeSniffer"> | |
<description>Coding standard for a Laravel app.</description> | |
| |
<file>app</file> | |
<file>tests</file> | |
| |
| |
<exclude-pattern>*/migrations/*</exclude-pattern> | |
|
language: php | |
php: | |
- 7.0 | |
- 7.1 | |
services: | |
- mysql | |
addons: |
Host bitbucket.org | |
ControlMaster no | |
Host * | |
Compression yes | |
ControlMaster auto | |
ControlPath /tmp/ssh-conn-%r@%h:%p.con | |
ControlPersist 30 | |
ForwardAgent yes | |
ServerAliveInterval 100 | |
IdentityFile ~/.ssh/id_rsa |
warning: ignoring broken ref refs/remotes/origin/HEAD
➜ ✗ g symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/develop
➜ ✗ g fetch --prune
➜ ✗ g gc
/** | |
* This function takes a canvas, context, width and height. It scales both the | |
* canvas and the context in such a way that everything you draw will be as | |
* sharp as possible for the device. | |
* | |
* It doesn't return anything, it just modifies whatever canvas and context you | |
* pass in. | |
* | |
* Adapted from Paul Lewis's code here: | |
* http://www.html5rocks.com/en/tutorials/canvas/hidpi/ |
/* ---------------------------------------------------------- */ | |
/* */ | |
/* A media query that captures: */ | |
/* */ | |
/* - Retina iOS devices */ | |
/* - Retina Macs running Safari */ | |
/* - High DPI Windows PCs running IE 8 and above */ | |
/* - Low DPI Windows PCs running IE, zoomed in */ | |
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
/* - Android hdpi devices and above */ |