Skip to content

Instantly share code, notes, and snippets.

View davidtowoju's full-sized avatar

David Towoju davidtowoju

View GitHub Profile
@davidtowoju
davidtowoju / gist:ecc91bcc5b1590ec3a29e39639b95556
Created April 25, 2023 16:30 — forked from trevorgreenleaf/gist:2f4092b721471307e7bb9c680559c04b
Laravel Valet Uninstall and then Reinstall everytime I switch user accounts
## Uninstall process
#remove valet
rm -rf ~/.valet
rm ~/usr/local/bin/valet
# change the permisions on all brew files
sudo chown -R $(whoami) $(brew --prefix)/*
# now uninstall all brew packages
/* Woocommerce Styles */
.woocommerce-message { display: none; }
.woocommerce-cart.full-width-content .content,
.woocommerce-checkout.full-width-content .content { max-width: 100%; }
.woocommerce-cart .woocommerce table.shop_table td.actions {
border-top: 1px solid #e6e6e6;
background: #f7f7f7;
border-bottom: 0px solid #e6e6e6;
@davidtowoju
davidtowoju / custom_menu_admin.php
Created October 4, 2017 16:52 — forked from carlodaniele/custom_menu_admin.php
A basic plugin showing how to add menu metaboxes to admin menu page
<?php
/**
* @package Custom_menu_admin
* @version 1.0
*/
/*
Plugin Name: Custom menu admin
Plugin URI: http://wordpress.org/extend/plugins/#
Description: This is an example plugin
Author: Carlo Daniele