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 { useState, useEffect } from 'react' | |
| import type { FormEvent } from 'react' | |
| interface ContactFormProps { | |
| recipientName?: string | |
| recipientEmail: string | |
| } | |
| export default function ContactForm({ | |
| recipientName, |
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
| Log of the following commands: | |
| uname -r | |
| cat /etc/issue | |
| lsusb | |
| lsusb -v -d 22f0:0008 | |
| dmesg | |
| 5.4.0-33-generic | |
| Linux Mint 20.3 Una \n \l |
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
| addEventListener("fetch", event => { | |
| event.respondWith(handleRequest(event.request)) | |
| }) | |
| const url = "https://api.cloudflare.com/client/v4/accounts/:account_id/images/v1/direct_upload" | |
| async function handleRequest(request) { | |
| const config = { | |
| method: 'POST', | |
| headers: { |
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 { createState, useState } from '@hookstate/core' | |
| import { supabase } from './client' | |
| export type Area = { | |
| id: string | |
| name: string | |
| updated_at: string | |
| data: any | |
| } |
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
| <?php | |
| namespace App\Events; | |
| use Illuminate\Broadcasting\Channel; | |
| use Illuminate\Broadcasting\InteractsWithSockets; | |
| use Illuminate\Broadcasting\PresenceChannel; | |
| use Illuminate\Broadcasting\PrivateChannel; | |
| use Illuminate\Contracts\Broadcasting\ShouldBroadcast; | |
| use Illuminate\Foundation\Events\Dispatchable; |