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 { Client, createClient, dedupExchange, errorExchange, fetchExchange, ssrExchange } from '@urql/core' | |
import { ref } from 'vue' | |
import { devtoolsExchange } from '@urql/devtools' | |
import * as Session from 'supertokens-web-js/recipe/session' | |
import { authExchange } from '@urql/exchange-auth' | |
import { defineNuxtPlugin } from '#app' | |
const ssrKey = '__URQL_DATA__' | |
export default defineNuxtPlugin((nuxtApp) => { |
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
{ | |
type: 'FeatureCollection', | |
features: [ | |
{ | |
type: 'Feature', | |
properties: { | |
asdas: 'asdas', | |
}, | |
geometry: { | |
type: 'Polygon', |
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: Main | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
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 os from 'node:os' | |
function getIPAdress() { | |
let localIPAddress = '' | |
const interfaces = os.networkInterfaces() | |
for (const devName in interfaces) { | |
const iface = interfaces[devName] as os.NetworkInterfaceInfo[] | |
for (let i = 0; i < iface.length; i++) { | |
const alias = iface[i] | |
if ( |
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
<script setup lang="ts"> | |
import ConfettiGenerator from 'confetti-js' | |
const confettiElement = ref<HTMLCanvasElement | null>(null) | |
const canvasBoundingRect = computed(() => { | |
if (confettiElement.value) { | |
return confettiElement.value.getBoundingClientRect() | |
} | |
return { | |
top: 0, | |
left: 0, |
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
<resources> | |
... | |
<string name="admob_app_id">ca-app-pub-3940256099942544~3347511713</string> | |
<string name="ad_unit_id">ca-app-pub-3940256099942544/5224354917</string> | |
... | |
</resources> |
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
type TerminalType = | |
| string | |
| number | |
| bigint | |
| boolean | |
| null | |
| undefined | |
| any[] | |
| Map<any, any> | |
| Set<any> |