yarn global-add gulp-cli
yarn add --dev gulp-cheerio
npm install -g gulp-cli
npm add --save-dev gulp-cheerio
| Integrated Pest Management Solutions | |
| Our Integrated Pest Management program uses the latest technology focusing on prevention and addressing the root of the causes of pest problems to ensure a pest free environment for commercial workplaces and facilities. Our solutions are tailored to proactively prevent and help mitigate the impact and risk of a pest infestation. We combine tailored multi-faceted solutions with our latest digital pest technology supported by our highly regulated experienced team of technicians to bring you the best in pest control. Let us create a customised plan for your workplace today. | |
| Learn more <a href="#form">here</a> or [phone_link]. | |
| case_study_MainImage.jpg | |
| DIY-vs-Professional-scaled.jpg | |
| ---- |
| <?php | |
| // Convert text on separate lines to li items | |
| if ( !function_exists( 'sl9_text_to_li' ) ) { | |
| function sl9_text_to_li( $text ) { | |
| global $shortcode_tags; | |
| $pattern = | |
| '/' | |
| . '((?!\R).+\R?)' // All lines of text |
| // .sl9-contain { | |
| // max-width: 85.71429rem; | |
| // width: 100%; | |
| // } | |
| @mixin sl9-contain() { | |
| max-width: 85.71429rem; | |
| width: 100%; | |
| } |
| .sl9-contain { | |
| max-width: 85.71429rem; | |
| width: 100%; | |
| } | |
| .new-container, | |
| .any-container, | |
| main { | |
| @extend .sl9-contain; | |
| } |
| #!/bin/bash | |
| # To update multiple installs, sepearate the install names by spaces when prompted | |
| read -p "WPE Install Name(s) (separate by spaces): " WPE_INSTALL | |
| # Convert to array | |
| WPE_INSTALL=( $WPE_INSTALL ) | |
| read -p "Plugin slug (ie: contact-form-7): " PLUGIN_SLUG | |
| #!/bin/bash | |
| read -e -p 'Filename: ' filename | |
| #Get extension and filename | |
| originalfilename="$filename" | |
| extension="${filename##*.}" | |
| filename="${filename%.*}" | |
| scale="1280:720" |
Quick and dirty OO jQuery template. Taken mostly from https://raw.githubusercontent.com/nashio/star-rating-svg/master/src/jquery.star-rating-svg.js
First, initialize with an element or document
jQuery('.my-element').myPluginName();Or, use custom settings/options
| #!/bin/bash | |
| # Optimize and optionally downsize videos to WEBM and MP4 | |
| # Requires ffmpeg installed in your PATH or in CWD | |
| read -e -p "Source file: " SOURCE | |
| read -e -p "Output filename base: " OUTPUTBASE | |
| read -p 'Video width (no px): ' -e -i '1280' VIDEOWIDTH | |
| read -p 'Video height (no px): ' -e -i '720' VIDEOHEIGHT |
| <?php | |
| /** | |
| * The event-tickets and event-tickets-plus plugins must be in-sync and the same | |
| * version number, so let's not update event-tickets plugin unless our paid plugin | |
| * is later than 4.2.7 | |
| * | |
| * https://gist.github.com/shoreline-chrism/f8e172178e47e7a12c3ca318a6f4f7d5 | |
| * | |
| */ |