- example: using bash (aws cli sdk)
- example: using php (aws php sdk v3.*)
- you need to add example.com as custom auth provider in aws console (cognito/federated)
| const mix = require('laravel-mix'); | |
| const url = 'http://lab.tinypixel.test'; | |
| const app = './src'; | |
| const config = './config'; | |
| const resources = './resources'; | |
| const assets = './resources/assets'; | |
| const dist = './dist'; | |
| const externals = { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"> | |
| </script> | |
| <meta charset='utf-8' /> | |
| <title> | |
| infinite loop carousel(horizontal) | |
| </title> |
If you just want to fix the issue quickly, scroll down to the "solution" section below.
If you're a Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you may see an error like this:
$ npm update npm -g
| <?php | |
| /** | |
| * This little class records how long it takes each WordPress action or filter | |
| * to execute which gives a good indicator of what hooks are being slow. | |
| * You can then debug those hooks to see what hooked functions are causing problems. | |
| * | |
| * This class does NOT time the core WordPress code that is being run between hooks. | |
| * You could use similar code to this that doesn't have an end processor to do that. | |
| * |
| <?php | |
| /** | |
| * Repeatable Custom Fields in a Metabox | |
| * Author: Helen Hou-Sandi | |
| * | |
| * From a bespoke system, so currently not modular - will fix soon | |
| * Note that this particular metadata is saved as one multidimensional array (serialized) | |
| */ | |
| function hhs_get_sample_options() { |
| function rh_get_widget_data_for($sidebar_name) { | |
| global $wp_registered_sidebars, $wp_registered_widgets; | |
| // Holds the final data to return | |
| $output = array(); | |
| // Loop over all of the registered sidebars looking for the one with the same name as $sidebar_name | |
| $sibebar_id = false; | |
| foreach( $wp_registered_sidebars as $sidebar ) { | |
| if( $sidebar['name'] == $sidebar_name ) { |
| <?php | |
| /** | |
| * Plugin Name: Email Confirmation | |
| * Description: Send an email to the user with confirmation code and store form data in database until user confirms. | |
| * Author: Cedric Ruiz | |
| */ | |
| class EmailConfirmation | |
| { | |
| const PREFIX = 'email-confirmation-'; |