-
Get to the root of your npm project directory (
cd <repo>) -
Paste the following command in your shell:
sudo codesign --force --deep --sign - ./node_modules/puppeteer/.local-chromium/| #!/usr/bin/env python3 | |
| """ | |
| ``` | |
| Copyright (c) 2022 University of Illinois Board of Trustees | |
| All rights reserved. | |
| Developed by: Technology Services | |
| University of Illinois at Urbana-Champaign | |
| https://techservices.illinois.edu/ | |
| ``` |
| <?php | |
| public function delete_thumbnails( $args, $assoc_args ) { | |
| global $wpdb; | |
| if ( isset( $assoc_args['dry-run'] ) && 'false' === $assoc_args['dry-run'] ) { | |
| $dry_run = false; | |
| } else { | |
| $dry_run = true; | |
| WP_CLI::line( '!!! Doing a dry-run, no thumbnails will be deleted.' ); | |
| } |
| <?php | |
| /** | |
| * Plugin Name: Block Editor Cleanup | |
| * Plugin URI: https://github.com/WordPress/gutenberg/issues/38299#issuecomment-1025520487 | |
| * Version: 1.0.1 | |
| * 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 |
| 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) { |
| # 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 |
⚠️ Warning: this document is out of date.For the most recent webpack5 instructions see MIGRATION.md.
Storybook 6.2 includes experimental Webpack 5 support. Webpack 5 brings a variety of performance improvements, as well as exciting new features like module federation. Here's a quick guide to get you going.
| PAGE NAME : group-slider.js at "script/components/group-slider.js" | |
| ////////////////////////////// | |
| import Swiper, {Navigation, Pagination} from 'swiper'; | |
| Swiper.use([Navigation, Pagination]); | |
| const groupSlider = new Swiper('#group-cards', { | |
| spaceBetween: 5, | |
| speed: 300, |
| /** @wordpress */ | |
| import {__} from '@wordpress/i18n' | |
| import {RichText} from '@wordpress/block-editor' | |
| /** Modules */ | |
| import PropTypes from 'prop-types' | |
| /** Components */ | |
| import Buttons from '@blocks/ndn-page-header/components/Buttons' |
| This allows your gravity forms to load via ajax to ensure they work correctly with page transitions that have no window/document.onload |