- Better Search Replace for performing a search/replace on the database
composer require wpackagist-plugin/better-search-replace- Breadcrumb NavXT for breadcrumb trails
composer require wpackagist-plugin/breadcrumb-navxt| // Backup of: https://gitlab.com/breelek/WB_Blinds_RS485 | |
| // Copywright to original author: Sergey Kurakin | |
| //-------- Параметры: -------- | |
| var blinds_info = [ | |
| { | |
| name: 'Dooya DM35', // Имя устройства в веб-интерфейсе. | |
| group: 1, // Номер группы, заданный при привязке к Blinds-RS485. | |
| id: 2, // Номер мотора в группе, заданный при привязке устройства к Blinds-RS485. |
| # Kinsta Deployment through Github Actions for Bedrock/Sage. | |
| # | |
| # Placed at: .github/workflow/deploy.yml | |
| # | |
| # Process should be studied from code, but some quick brief: | |
| # - runs composer / sage installation | |
| # - moves correct `.env.*` file for multiple configs | |
| # - uses rsync to sync files, uses /.rsyncignore file to exclude whatever should not be there | |
| # - symlinks uploads folder and symlink release folder to kinsta public hostname | |
| # - if you want to clear cache, please uncomment the last job |
composer require wpackagist-plugin/better-search-replacecomposer require wpackagist-plugin/breadcrumb-navxt| // grab all block types | |
| const types = wp.blocks.getBlockTypes(); | |
| // filter to just the core blocks | |
| const core_blocks = types.filter( | |
| type => type.name.startsWith( 'core/' ) | |
| ); | |
| // grab just the names | |
| const block_names = core_blocks.map( type => type.name ); |
| const fs = require( 'fs' ) | |
| const themeJson = fs.readFileSync( './theme.json' ) | |
| const theme = JSON.parse( themeJson ) | |
| const colors = theme.settings.color.palette.reduce( ( acc, item ) => { | |
| const [color, number] = item.slug.split( '-' ) | |
| // If there is a number identifier, make this an object | |
| if(undefined !== number) { |
| <?php | |
| /** | |
| * Plugin Name: Block Editor Cleanup | |
| * Plugin URI: https://github.com/WordPress/gutenberg/issues/38299#issuecomment-1025520487 | |
| * Version: 1.0.0 | |
| * Description: Remove WP 5.9 default block editor styles when using Classic Editor | |
| * Author: joshuafredrickson | |
| * Author URI: https://joshuafredrickson.com | |
| * License: GNU General Public License v2 | |
| * License URI: http://www.gnu.org/licenses/gpl-2.0.html |
Try these rules:
(in www.domain.com's server block)
rewrite ^/$ http://domain.com permanent break;
rewrite ^/main(.*)$ http://domain.com$1 permanent break;
| server { | |
| location ~* \.(png|jpg|jpeg|gif|ico)$ { | |
| expires max; | |
| log_not_found off; | |
| # Try to load missed assets from production. | |
| proxy_intercept_errors on; | |
| error_page 404 = @production; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| name: Continuous Deployment | |
| on: | |
| push: | |
| branches: | |
| - staging | |
| - master | |
| jobs: | |
| deploy: |