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 { compile } from 'svelte/compiler' | |
| /** | |
| * @returns {import('vite').Plugin} | |
| */ | |
| const vitePluginSvelteDocs = () => { | |
| const virtualModuleId = '@virtual:svelte-docs' | |
| return { | |
| name: 'vite-plugin-svelte-docs', |
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
| { | |
| "headers": [ | |
| { | |
| "source": "/(.*)", | |
| "headers": [ | |
| { | |
| "key": "Permissions-Policy", | |
| "value": "interest-cohort=()" | |
| } | |
| ] |
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
| #!/bin/bash | |
| clear | |
| echo "" | |
| echo -e "\e[44mHEADLESS RASPBIAN\e[0m" | |
| echo "WiFi & SSH setup" | |
| echo "" | |
| echo "Available partitions:" | |
| lsblk -e7 | |
| echo "" |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import os | |
| import glob | |
| import subprocess | |
| import multiprocessing as mp | |
| import subprocess | |
| # change this | |
| inputDir = "./input" |
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 * as React from "react"; | |
| import { StyleSheet, SafeAreaView } from "react-native"; | |
| import { | |
| Div, | |
| ThemeProvider, | |
| Text, | |
| Button, | |
| Input, | |
| Icon, | |
| Image, |
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
| typeof (() => { return })() | |
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
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
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
| function (user, context, callback) { | |
| // console.log('context', context); | |
| const namespace = "https://hasura.io/jwt/claims"; | |
| const roles = (context.authorization || {}).roles || []; | |
| const claims = { | |
| 'x-hasura-default-role': 'user', | |
| 'x-hasura-allowed-roles': [ | |
| 'anonymous', | |
| 'user', |
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
| Attaching to fusionauth_fusionauth_1, fusionauth_db_1, fusionauth_search_1 | |
| fusionauth_1 | mkdir: cannot create directory '/usr/local/fusionauth/fusionauth-app/apache-tomcat/../../logs': Permission denied | |
| fusionauth_1 | 22-Jul-2019 19:29:14.550 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'port' to '${fusionauth.management.port}' did not find a matching property. | |
| fusionauth_1 | 22-Jul-2019 19:29:15.444 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'port' to '${fusionauth.http.port}' did not find a matching property. | |
| fusionauth_1 | 22-Jul-2019 19:29:15.451 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'redirectPort' to '${fusionauth.https.port}' did not find a matching property. | |
| fusionauth_1 | 22-Jul-2019 19:29:15.846 WARNING [main] org.apache.catalina.startup |