This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].
-
[You Don't Know JS][3]
-
[Frontend Masters courses by Kyle Simpson][12]
-
[@mpjme][6]'s [YouTube videos][5]
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
/* Add this code at the bottom of your theme's function.php or in your plugin code */ | |
/* Remove product meta */ | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 ); |
<?php | |
/** | |
* Render an exception into an HTTP response. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @param \Exception $exception | |
* @return \Illuminate\Http\Response | |
*/ | |
public function render($request, Exception $exception) | |
{ |
<?php | |
////////////////////// | |
// Custom Post Type // | |
////////////////////// | |
/* | |
* Creating a function to create our CPT tours | |
*/ | |
[ | |
{ | |
"action": "talk", | |
"voiceName": "Russell", | |
"text": "Hi Darling.Learn javascript as soon as possible.Love you. Bye" | |
} | |
] |
groups | |
sudo groupadd www | |
sudo usermod -a -G www ec2-user | |
sudo usermod -a -G www apache | |
sudo chown -R root:www castle_invoice/ | |
find ./castle_invoice -type d -exec sudo chmod 2775 {} \; | |
find ./castle_invoice -type f -exec sudo chmod 0664 {} \; | |
sudo service httpd restart |
<?php | |
/** | |
* Add a failed order email notification | |
*/ | |
function sp_failed_order_email_notification( $order_id ) { | |
$order = wc_get_order( $order_id ); | |
$to = get_option( 'admin_email' ); | |
$subject = 'A order failed, action required'; |