This file contains hidden or 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
# WordPress core files | |
app/public/wp-admin/ | |
app/public/wp-includes/ | |
app/public/wp-content/upgrade/ | |
app/public/wp-content/uploads/ | |
app/public/wp-content/cache/ | |
app/public/wp-content/themes/ | |
app/public/wp-content/mu-plugins/ | |
app/public/wp-content/languages/ |
This file contains hidden or 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
name: "Setup Runner" | |
description: "Provides SSH, PHP, Terminus as a composite action" | |
inputs: | |
pantheon_ssh_key: | |
description: 'Pantheon SSH Private key in the PEM format.' | |
required: true | |
pantheon_machine_token: | |
description: 'Pantheon Machine Token for Terminus.' | |
required: true |
This file contains hidden or 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
#Rename multiple files | |
--------------------- | |
$i = 1; | |
$name = 'foobar'; | |
$ext = 'jpg'; | |
foreach ( $file in gci ) { | |
Rename-Item $file ( "$name-$i.$ext" ); | |
$i++; | |
} |
This file contains hidden or 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 | |
/** | |
* Gravity Forms functions | |
* | |
* @package @WordPress | |
*/ | |
/** | |
* Get list of form IDs to restrict. | |
* |
This file contains hidden or 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
# This file is for unifying the coding style for different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
This file contains hidden or 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
version: '3.3' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: wordpress |
This file contains hidden or 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
Show hidden characters
{ | |
"php": { | |
"prefix": "php", | |
"body": [ | |
"<?php $1 ?>" | |
], | |
"description": "php tag" | |
}, | |
"vd": { | |
"prefix": "vd", |
This file contains hidden or 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 | |
if ( ! defined( 'ABSPATH' ) ) exit; | |
class App_ACF_Folder_Manager { | |
/* Local path of JSON folder. | |
* | |
*/ | |
private $path; |
This file contains hidden or 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 | |
/** | |
* WhatsApp link converter. | |
* | |
* @since 1.0 | |
* @author Sean12mps <sean.michael.piettojo@gmail.com> | |
*/ | |
class WhatsApp_Link_Converter { |
This file contains hidden or 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 | |
/** | |
* Core class. | |
* | |
* @since 1.0.0 | |
*/ | |
class Clockworks { | |
/** |
NewerOlder