Skip to content

Instantly share code, notes, and snippets.

View plcdnl's full-sized avatar

plcdnl

View GitHub Profile
@plcdnl
plcdnl / database.rules.json
Created December 15, 2022 14:29 — forked from codediodeio/database.rules.json
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@plcdnl
plcdnl / page.vue
Created December 12, 2022 13:24 — forked from wobsoriano/page.vue
Nuxt 3 + socket.io
<script setup lang="ts">
import { io } from 'socket.io-client'
const connected = ref(false)
onMounted(() => {
const socket = io();
socket.on('connect', () => {
connected.value = socket.connected
@plcdnl
plcdnl / .gitignore
Last active December 12, 2022 09:49 — forked from mixonic/.gitignore
Mousy - A shared cursor for webpages using Node.js
node_modules
public/socket.io.min.js
public/jquery.js