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> | |
| |
| import bpy | |
| group_input = {"Group", "Group.001", "Group.002"} | |
| ob = bpy.context.active_object | |
| group_lookup = {g.index: g.name for g in ob.vertex_groups} | |
| group_candidates = {n for n in group_lookup.values() if n in group_input} | |
| # test whether all candidates components of group_lookup | |
| if all(n in group_lookup.values() for n in group_candidates): |
| 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/ |