This file contains hidden or 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
| Shader "Unlit/Raymarching" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| } | |
| SubShader | |
| { | |
| Tags { "Queue" = "Transparent" "RenderType" = "Transparent"} | |
| Blend SrcAlpha OneMinusSrcAlpha |
This file contains hidden or 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> | |
| <input type="text" :value="name" @input="onInput" /> | |
| </template> | |
| <script> | |
| export default { | |
| props: { | |
| name: { | |
| type: String, | |
| required: true |
This file contains hidden or 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
| import { load } from '@loaders.gl/core' | |
| import { GLTFLoader, postProcessGLTF } from '@loaders.gl/gltf' | |
| ;(async () => { | |
| const gltfData = await load('model.gltf', GLTFLoader, { | |
| uri: '/', | |
| gltf: { | |
| parserVersion: 2 | |
| } | |
| }) |
This file contains hidden or 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> | |
| <Grandchild | |
| :name="name" | |
| @input="updateData('name', $event)" | |
| /> | |
| </template> | |
| <script> | |
| import Grandchild from '~/components/Grandchild' | |
| export default { |
This file contains hidden or 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 $link = document.createElement('a') | |
| const csvName = 'index.csv' | |
| let csv = '' | |
| for(let i = 0; 10000 > i; i++) { | |
| csv += 'a,b,c,d,e\n' | |
| } | |
| const blob = new Blob([csv], { type: 'text/csv' }) |
This file contains hidden or 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
| module.exports = { | |
| 'extends': 'stylelint-config-standard', | |
| rules: { | |
| 'no-descending-specificity': null, | |
| 'no-duplicate-selectors': null, | |
| 'at-rule-no-unknown': null | |
| } | |
| } |
This file contains hidden or 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
| name: Node CI | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: |
This file contains hidden or 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
| import internalIp from 'internal-ip' | |
| export default async () => { | |
| let apiBaseUrl = 'http://localhost:8000/api/v1' | |
| if (process.env.NODE_ENV === 'develop') { | |
| const ip = await internalIp.v4() | |
| apiBaseUrl.replace(/localhost|127\.0\.0\.1|0\.0\.0\.0/, ip) | |
| } |
This file contains hidden or 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
| API_BASE_URL=http://localhost:8000 |
This file contains hidden or 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
| export const pushGtmEvent = (event = 'nuxt.historyChange) => { | |
| if(window.dataLayer) { | |
| setTimeout(() => { | |
| window.dataLayer.push({ event }) | |
| }, 500) | |
| } | |
| } |