Skip to content

Instantly share code, notes, and snippets.

View bhvngt's full-sized avatar

const_var bhvngt

View GitHub Profile
@bhvngt
bhvngt / Runner.client.log
Last active January 17, 2024 06:36
Runner.client log
Starting Server...
Starting 1 Runner...
Scheduled Job: build
|Running: Set up job
| Current runner version: '3.2.1'
| Runner name: 'Agent-e41e6975-84b2-4b96-aa87-0118dc0455d3'
| Machine name: '******'
| Prepare workflow directory
| ##[command]/usr/local/bin/docker version --format '{{.Server.APIVersion}}'
| '1.41'
@bhvngt
bhvngt / Runner.client_v1.log
Last active July 29, 2021 15:56
Runner.client log output
❯ Runner.Client 21:24:13
Starting Server...
Starting 1 Runner...
Scheduled Job: build
[build] Running: Set up job
| Current runner version: '3.2.1'
| Runner name: 'Agent-abaae59f-8e14-4a01-9153-3345632797b5'
| Machine name: 'bhavins-mbp'
| Prepare workflow directory
| ##[command]/usr/local/bin/docker version --format '{{.Server.APIVersion}}'
realtime-realtime-1 | 2022-07-11 11:56:01.778 [error] Postgrex.Protocol (#PID<0.233.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db:5432): connection refused - :econnrefused
realtime-realtime-1 | 2022-07-11 11:56:01.778 [error] Postgrex.Protocol (#PID<0.232.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db:5432): connection refused - :econnrefused
realtime-realtime-1 | 2022-07-11 11:56:01.900 [error] Postgrex.Protocol (#PID<0.232.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db:5432): connection refused - :econnrefused
realtime-realtime-1 | 2022-07-11 11:56:01.981 [error] Postgrex.Protocol (#PID<0.233.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db:5432): connection refused - :econnrefused
realtime-realtime-1 | 2022-07-11 11:56:02.219 [error] Postgrex.Protocol (#PID<0.232.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (db:5432): connection refused - :econnrefused
realtime-realtime-1 | 2
@bhvngt
bhvngt / server.js
Created July 12, 2022 06:11
realtime/examples/node-js/src/server.js
const { RealtimeClient } = require('@supabase/realtime-js')
const REALTIME_URL = process.env.REALTIME_URL || 'http://localhost:4000/socket'
// const socket = new RealtimeClient(REALTIME_URL)
const socket = new RealtimeClient(REALTIME_URL, {params: {
apikey: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYXV0aGVudGljYXRlZCJ9.jNLynx_4nCpPv1fNkNFOzPQ-Y_vPxJAlDV8sp-590ZM"
}});
// Connect to the realtime server
socket.connect()
@bhvngt
bhvngt / docker-compose.yaml
Created December 21, 2022 04:29
supabase self-hosted docker compose
version: "3.8"
services:
studio:
container_name: supabase-studio
image: supabase/studio:latest
restart: unless-stopped
ports:
- ${STUDIO_PORT}:3000/tcp
environment:
@bhvngt
bhvngt / kong.yaml
Created December 21, 2022 04:37
kong.yaml config for realtime
- name: realtime-v1
_comment: "Realtime: /realtime/v1/* -> ws://realtime:4100/socket/*"
url: http://realtime-dev.realtime:4000/socket/
routes:
- name: realtime-v1-all
strip_path: true
paths:
- /realtime/v1/
plugins:
- name: cors
@bhvngt
bhvngt / machine.js
Created March 29, 2023 11:41
Generated by XState Viz: https://xstate.js.org/viz
const machine = Machine({
"id": "child",
"initial": "Product Backlog",
"states": {
"Product Backlog": {
"on": {
"2nd last week of Every Qtr": {
"target": "Quarterly Roadmap Backlog (PM)"
},
"Demand from Prospective Customers": {
@bhvngt
bhvngt / config.toml
Last active July 27, 2023 10:46
supabase cli config.toml
# A string used to distinguish different Supabase projects on the same host. Defaults to the working
# directory name when running `supabase init`.
project_id = "supabase-sveltekit-auth-helpers-example"
[api]
# Port to use for the API URL.
port = 54321
# Schemas to expose in your API. Tables, views and stored procedures in this schema will get API
# endpoints. public and storage are always included.
schemas = ["public", "storage", "graphql_public"]
@bhvngt
bhvngt / wallaby.diagnostics.log
Created October 25, 2024 17:30
wallaby diagnostic report
```
{
editorVersion: 'IntelliJ IDEA 2024.2.4',
pluginVersion: '1.0.308',
editorType: 'IntelliJ',
osVersion: 'darwin 24.0.0',
nodeVersion: 'v22.9.0',
coreVersion: '1.0.1615',
pnp: '<not set>',
pnpEsm: '<not set>',