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
{ | |
"testMessage": { | |
"type": "button", | |
"label": "Test message", | |
"value": "Test message", | |
"group": "Test" | |
}, | |
"noname": { | |
"type": "dropdown", | |
"label": "Show nickname every msg?", |
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
<template> | |
<div> | |
nuxt.js + nuxt-composition-api + typescript + @nuxt/content to work with meta generated by $content in setup, | |
and have it generate the appropriate tags at generation time! | |
<journal-post v-if="journal" :post="journal" /> | |
</div> | |
</template> | |
<script lang="ts"> | |
import { |
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
[core] | |
autocrlf = true | |
excludesfile = C:\\Users\\Brett\\Documents\\gitignore_global.txt | |
# Git Extensions built-in commit editor | |
#editor = \"C:/Program Files (x86)/GitExtensions/GitExtensions.exe\" fileeditor | |
# Use Visual Studio Code | |
editor = code -w | |
longpaths = true |
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
const searchStarWarsPeople = search => | |
fetch(`https://swapi.co/api/people/?search=${search}`).then(response => | |
response.json() | |
); | |
const searchMachine = Machine( | |
{ | |
id: "searchMachine", | |
context: { |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
{ | |
"require-dev": { | |
"squizlabs/php_codesniffer": "2.0.*@dev" | |
}, | |
"scripts": { | |
"post-install-cmd": [ | |
"bash contrib/setup.sh" | |
] | |
} | |
} |
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
/* | |
redirect requests for folders to folders/index.html | |
*/ | |
const resolveUrlEndingInSlashToIndexHtml = require('./resolve-url-ending-in-slash-to-index-html'); | |
exports.handler = (event, context, callback) => { | |
// Extract the request from the CloudFront event that is sent to Lambda@Edge | |
const { request } = event.Records[0].cf; |
NewerOlder