https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API
https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API/Lifecycle
https://github.com/immersive-web/webxr/blob/master/explainer.md#what-is-webxr
| <?php | |
| /* | |
| Plugin Name: Twitter Card Generator | |
| Description: This plugin provides a class to generate the meta tag properties for a player twitter card. | |
| Version: 0.1 | |
| Author: Matthew Simo | |
| */ | |
| if(!class_exists('Twitter_Card')){ | |
| class Twitter_Card{ |
| # Accepts a path, defaults to . | |
| function tree { | |
| local dir=${1:-.}; | |
| find $dir -print | sed -e 's;[^/]*/;|--;g;s;--|; |;g'; | |
| } | |
| # | |
| # Just add this into a file in your path, .bashrc for example. | |
| # |
| { | |
| "title": "Quotes App", | |
| "quotes": [{ | |
| "body": "It was the best of times, it was the worst of times", | |
| "author": "Charles Dickens", | |
| "date": "1859", | |
| "source": "A Tale of Two Cities" | |
| }, { .. }] | |
| } |
| /<?\(p\)\@! |
| /* sample cubic beziers */ | |
| linear = [0.250, 0.250, 0.750, 0.750]; | |
| ease = [0.250, 0.100, 0.250, 1.000]; | |
| easeIn = [0.420, 0.000, 1.000, 1.000]; | |
| easeOut = [0.000, 0.000, 0.580, 1.000]; | |
| easeInOut = [0.420, 0.000, 0.580, 1.000]; | |
| function reverseCubicBezier(cubicBezier) { | |
| return [ | |
| 1 - cubicBezier[2], |
| git log --author="YOUR_NAME_HERE" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }' |
| { | |
| "comment": "This is the settings file for the SVGO Compressor Plugin. For more info, please check <https://github.com/BohemianCoding/svgo-compressor>", | |
| "pretty": false, | |
| "indent": 2, | |
| "plugins": [ | |
| { | |
| "name": "cleanupAttrs" | |
| }, | |
| { | |
| "name": "cleanupEnableBackground" |
| // Fetch the book data | |
| var books = fetch('http://someaweomseapi.com/api') | |
| .then(function(response){ | |
| return response.json(); | |
| }) | |
| .then(function(json){ | |
| console.log('fetch result:', json) | |
| return json | |
| }) |
| import type * as Stitches from "@stitches/react"; | |
| import { modifyVariantsForStory } from "../../../.storybook/type-utils"; | |
| import { styled } from "../../stitches.config"; | |
| const Example = styles("div", { | |
| // ... | |
| }); | |
| export default Example; |