This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="$PWD:${HOME}/bin:${HOME}/.local/bin:${HOME}/bin:${GOROOT}/bin:usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:$PATH" | |
# https://github.com/mubaris/motivate (use both install methods) | |
motivate | |
## Load ZGen | |
source "${HOME}/.zgen/zgen.zsh" | |
# Update Zgen = "zgen selfupdate" | |
# Update all plugins and remove/reset the init script = "zgen update" | |
# if the init script doesn't exist https://github.com/tarjoilija/zgen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'gform_export_fields', 'custom_add_wc_order_fields', 10, 1 ); | |
add_filter( 'gform_export_field_value', 'custom_export_wc_order_fields', 10, 4 ); | |
function custom_add_wc_order_fields( $form ) { | |
array_push( $form['fields'], array( | |
'id' => 'woocommerce_billing_address_1', | |
'label' => __( 'WooCommerce Billing Address 1', 'wc_gf_addons' ) | |
) ); | |
array_push( $form['fields'], array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
#logfile="$backupfolder/"backup_log_"$(date +'%Y_%m')".txt | |
#echo "mysqldump started at $(date +'%d-%m-%Y %H:%M:%S')" >> "$logfile" | |
#echo "*****************" >> "$logfile" | |
####################################################################################################################################### | |
SHHH=">/dev/null 2>&1" | |
inval="[-\._ \'\=\&\@\#\%\*\!\~\`\:\$\(\)\[\]\^\~\/\\\ ][0-9]" | |
urlsafe="[^a-zA-Z0-9_-]" | |
em_shrug='¯\_(ツ)_/¯' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# https://codex.wordpress.org/Changing_File_Permissions | |
# | |
echo "" | |
################################################ Pretty Colours in the Terminal | |
cb="\033[0;34m" | |
ccb="\033[1;36m" | |
gb="\033[1;32m" | |
rb="\033[1;31m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ANTIGEN_LOG=~/.antigen/antigen.log | |
# ANTIGEN_CACHE=false | |
COMPOSER_HOME="$HOME/.composer" | |
source $HOME/antigen.zsh | |
PATH=$HOME/bin:$HOME/scripts:$COMPOSER_HOME:/usr/local/bin:$PATH | |
# OH-MY-ZSH CONFIGURATION | |
DISABLE_CORRECTION="true" | |
HIST_STAMPS="yyyy-mm-dd" | |
# >>>>>>>>> START ANTIGEN SCRIPTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"author": "cconversion", | |
"name": "Monokai PHP", | |
"variables": { | |
"black": "#000000", | |
"blackground": "#0e0707", | |
"blackish3": "#15150f", | |
"bluish": "#00ffff", | |
"bluish2": "#73B9FF", | |
"bluish3": "#009DFF", |