Apache is running on port 80 and interfering with Valet.
- Stop Apache:
sudo /usr/sbin/apachectl stop - Restart Valet:
valet restart
| /* ==================================== */ | |
| /* WooCommerce Product Image Slider */ | |
| /* This code will enable product gallery slider: */ | |
| /* gist.github.com/zeshanshani/5e634af86e49ce07c87b44728c62f64b */ | |
| /* ==================================== */ | |
| .woocommerce .woocommerce-product-gallery.woocommerce-product-gallery--with-images { | |
| padding-left: 115px; | |
| box-sizing: border-box; | |
| position: relative; |
| #!/bin/bash | |
| USER="root" | |
| PASSWORD="" | |
| FILES="/Users/tenold/Backups/MySQL/*" | |
| for f in $FILES | |
| do | |
| echo "Processing $f file..." |
| #!/bin/sh | |
| ## backup each mysql db into a different file, rather than one big file | |
| ## as with --all-databases. This will make restores easier. | |
| ## To backup a single database simply add the db name as a parameter (or multiple dbs) | |
| ## Putting the script in /var/backups/mysql seems sensible... on a debian machine that is | |
| ## Create the user and directories | |
| # mkdir -p /var/backups/mysql/databases | |
| # useradd --home-dir /var/backups/mysql --gid backup --no-create-home mysql-backup | |
| ## Remember to make the script executable, and unreadable by others |
| <?php // Don't copy this line... | |
| /** | |
| * This function will Kill 'blogs/editor' rewrite rules | |
| * to fix the broken pagination issue on this page: | |
| * '/blogs/editor/' | |
| * | |
| * This fix was needed because we add rewrite rules for CPT: editor | |
| * And because '/blogs/editor/' is also a static page, the pagination | |
| * on that page e.g., '/blogs/editor/page/4/' was broken. |
| <?php // please don't copy this line. | |
| /** | |
| * Get SERP Name | |
| */ | |
| function jiv_get_serp_name() { | |
| if ( isset( $_SERVER['HTTP_REFERER'] ) ) { | |
| $serps = array( 'google', 'bing', 'yahoo', 'duckduckgo' ); | |
| $referer = $_SERVER['HTTP_REFERER']; | |
| $result = jiv_get_domain_from_url( $referer ); |
| <?php | |
| /** | |
| * Get Full Customer Name from Order ID | |
| * | |
| * Author: Zeshan Ahmed | |
| * Author URI: https://zeshanahmed.com/ | |
| */ | |
| function za_full_customer_name( $order_id ) { |
| { | |
| // ECHO | |
| "PHP Echo Tag": { | |
| "prefix": "echo", | |
| "body": [ | |
| "<?php echo ${1:\\$var}; ?>" | |
| ], | |
| "description": "Expand \"echo\" into PHP echo block" | |
| }, | |