This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Prevent the loading of patterns from the WordPress.org Pattern Directory | |
*/ | |
add_filter( 'should_load_remote_block_patterns', '__return_false' ); | |
/** | |
* Remove patterns that ship with WordPress Core. | |
*/ | |
function bbfs_remove_core_block_patterns() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schemas.wp.org/wp/6.2/theme.json", | |
"version": 2, | |
"settings": { | |
"appearanceTools": false, | |
"border": { | |
"color": false, | |
"radius": false, | |
"style": false, | |
"width": false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Determine modified and staged files. | |
JSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.js' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
PHPSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.php' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
CSSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.css' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
SCSSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.scss' \ | |
| xargs -L 1 printf "%s/%s\n" "$PWD") | |
TSSTAGED=$(git --no-pager diff --relative --name-only --cached --diff-filter=d -- '**/*.ts' '**/*.tsx' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -e | |
HAS_GIT=`command -v git 2&>/dev/null || echo "false"` | |
HAS_BREW=`command -v brew 2&>/dev/null || echo "false"` | |
HAS_VAGRANT=`command -v vagrant 2&>/dev/null || echo "false"` | |
HAS_VIRTUALBOX=`command -v VirtualBox 2&>/dev/null || echo "false"` | |
RED=`tput setaf 1` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Chassis configuration | |
hosts: | |
- wpaustralia.local | |
# Extensions | |
# | |
# Install a list of extensions automatically | |
extensions: | |
- chassis/xdebug | |
- chassis/mailhog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hosts: | |
- thunderhead.local | |
database: | |
name: wordpress | |
user: wordpress | |
password: vagrantpassword | |
prefix: thunderhead_ | |
admin: | |
user: admin | |
email: admin@example.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extensions: | |
- chassis/tester | |
- chassis/mailhog | |
- chassis/xdebug | |
- chassis/nodejs | |
- chassis/fish | |
- chassis/gulp | |
- chassis/grunt | |
- chassis/imagick | |
- chassis/gmagick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chassis ⟩ vagrant up --provider=vmware_fusion | |
Bringing machine 'default' up with 'vmware_fusion' provider... | |
==> default: Checking if box 'bento/ubuntu-16.04' is up to date... | |
==> default: Verifying vmnet devices are healthy... | |
==> default: Preparing network adapters... | |
==> default: Fixed port collision for 22 => 2222. Now on port 2203. | |
==> default: Starting the VMware VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 172.16.138.166:22 | |
default: SSH username: vagrant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$taxonomies = Fusion()->get_content_taxonomies(); | |
foreach ( $taxonomies as $taxonomy ) { | |
$tax_query['tax_query'][] = array( | |
'field' => 'term_id', | |
'terms' => $tags, | |
'taxonomy' => $taxonomy, | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am BronsonQuick on github. | |
* I am bronsonquick (https://keybase.io/bronsonquick) on keybase. | |
* I have a public key whose fingerprint is 9697 FB93 A316 562E 7930 341E 7576 844C 8CBE AA39 | |
To claim this, I am signing this object: |
NewerOlder