In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
| <?php | |
| /* | |
| * Copyright (C) 2013 Nicolas Grekas - p@tchwork.com | |
| * | |
| * This library is free software; you can redistribute it and/or modify it | |
| * under the terms of the (at your option): | |
| * Apache License v2.0 (http://apache.org/licenses/LICENSE-2.0.txt), or | |
| * GNU General Public License v2.0 (http://gnu.org/licenses/gpl-2.0.txt). | |
| */ |
| /** | |
| * Lightweight script to detect whether the browser is running in Private mode. | |
| * @returns {Promise<boolean>} | |
| * | |
| * Live demo: | |
| * @see https://output.jsbin.com/tazuwif | |
| * | |
| * This snippet uses Promises. If you want to run it in old browsers, polyfill it: | |
| * @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js | |
| * |
| CAF CODE500 # ASTRONAUT: PLEASE CRANK THE | |
| TC BANKCALL # SILLY THING AROUND | |
| CADR GOPERF1 | |
| TCF GOTOP00H # TERMINATE | |
| TCF P63SPOT3 # PROCEED SEE IF HE'S LYING | |
| P63SPOT4 TC BANKCALL # ENTER INITIALIZE LANDING RADAR | |
| CADR SETPOS1 |
| <?php | |
| /** | |
| * Insert an attachment from a URL address. | |
| * | |
| * @param string $url The URL address. | |
| * @param int|null $parent_post_id The parent post ID (Optional). | |
| * @return int|false The attachment ID on success. False on failure. | |
| */ | |
| function wp_insert_attachment_from_url( $url, $parent_post_id = null ) { |
just change out app_name for your purposes
openssl genrsa 2048 > app_name-wildcard.key
openssl req -new -x509 -nodes -sha1 -days 3650 -key app_name-wildcard.key > app_name-wildcard.cert
# Common Name (eg, your name or your server's hostname) []:*.app_name.com
openssl x509 -noout -fingerprint -text < app_name-wildcard.cert > app_name-wildcard.infoSometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).