See what formula are available.
brew search mysql
==> Formulae
#!/usr/bin/env bash | |
# netplan2NM.sh | |
# Ubuntu server 20.04 Change from netplan to NetworkManager for all interfaces | |
echo 'Changing netplan to NetowrkManager on all interfaces' | |
# backup existing yaml file | |
cd /etc/netplan | |
cp 01-netcfg.yaml 01-netcfg.yaml.BAK |
<?php | |
/** | |
* Plugin Name: Woocommerce USPS Shipping Method remove flat rate envelopes | |
* Plugin URI: https://tcdesignio.co.uk | |
* Description: <code>Woocommerce USPS Shipping Method remove flat rate envelopes <strong> - TCDESIGN</strong></code> | |
* Version: 1.0.0 | |
* Tested up to: 6.0 | |
*/ | |
/** |
#!/usr/bin/env bash | |
if [ "$#" -ne "1" ]; then | |
echo "usage :" | |
echo " $0 <amd64|i386>" | |
elif ! [ "$1" = "amd64" ] && ! [ "$1" = "i386" ]; then | |
echo "Bad architecture argument. First and only argument must be amd64 or i386." | |
else | |
mkdir "tmplibdb" && cd "tmplibdb" | |
if [ "$1" = "amd64" ]; then |
map $ssl_client_s_dn $ssl_client_s_dn_cn { | |
default ""; | |
~/CN=(?<CN>[^/]+) $CN; | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
listen 443 ssl; |
<?php | |
/* | |
* Set the following constants in wp-config.php. | |
* These should be added somewhere BEFORE the constant ABSPATH is defined. | |
* | |
* Author: Chad Butler | |
* Author URI: https://butlerblog.com | |
* | |
* For more information and instructions, see: https://b.utler.co/Y3 |
<?php | |
/* | |
+=====================================================================+ | |
| NinjaFirewall optional configuration file | | |
| | | |
| See: https://nintechnet.com/ninjafirewall/wp-edition/help/?htninja | | |
| | | |
+=====================================================================+ | |
| | | |
| BEDROCK SUPPORT | |
#!/bin/bash | |
############################################################ | |
# Squid Proxy Installer | |
# Author: Yujin Boby | |
# Email: [email protected] | |
# Github: https://github.com/serverok/squid-proxy-installer/ | |
# Web: https://serverok.in/squid | |
############################################################ | |
# For paid support, contact | |
# https://serverok.in/contact |
/* START Make the WooCommerce Cart Table Responsive for Mobile */ | |
/* CSS published in http://www.jeremycarter.com.au/optimising-woocommerce-checkout-for-mobile/ */ | |
@media screen and (max-width: 600px) { | |
/* Force table to not be like tables anymore */ | |
.woocommerce-page table.shop_table, | |
.woocommerce-page table.shop_table thead, | |
.woocommerce-page table.shop_table tbody, | |
.woocommerce-page table.shop_table th, |
1. Install Xcode, if you haven't already. | |
a. Once installed, run Xcode and accept the license agreement. | |
b. Go into Xcode Prefs (Cmd + ,), go to Downloads, and install "Command Line Tools for Xcode" (or something named similarily) | |
2. Install Homebrew (copy and paste the following into your terminal): | |
```bash | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |