Skip to content

Instantly share code, notes, and snippets.

View kevbook's full-sized avatar

Karan Sakhuja kevbook

View GitHub Profile
```
visit_id {Int}
knock_property_id {Int}
// From prop service
property: {
type: "sfr"
type_desc: "Single Family Residence"
year_built: 2013
size: 3349
var a = {
a: 1,
b: 'hello',
c: undefined,
d: 2,
e: '2',
g: null,
h: '5',
i: [1, 2, 3, 4, { a: { a: 'a' } }],
f: {
@kevbook
kevbook / repos.md
Created December 24, 2019 19:10
Github repos with NPM

Authenticate by logging in to npm

  • USERNAME is your GitHub username
  • TOKEN is your personal access token
$ npm login --registry=https://npm.pkg.github.com
> Username: USERNAME
> Password: TOKEN
> Email: PUBLIC-EMAIL-ADDRESS
DROP TABLE warehouse.test_main_table;
CREATE TABLE warehouse.test_main_table (
pk int PRIMARY KEY
, main_col int
, data_json JSONB
);
DROP TABLE warehouse.test_temp_table;
CREATE TABLE warehouse.test_temp_table (
pk int PRIMARY KEY
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# https://axiom.co/docs/send-data/vector
# https://hub.docker.com/r/koyeb/log-exporter/tags
# https://www.koyeb.com/docs/run-and-scale/log-exporter#custom-export-locations
# https://gist.github.com/kevbook/2bbaf3a43702f2529071ae9b2290b832
# @example [input = pipe] (Koyeb log message)
# {
# "host": "5b9b9c2f",
# "message": "{\"date\":\"2025-10-29T11:28:48.868657Z\",\"stream\":\"koyeb\",\"msg\":\"Instance is healthy. All health checks are passing.\",\"error\":null,\"labels\":{\"type\":\"runtime\",\"stream\":\"koyeb\",\"organization_id\":\"555f1666-c4e4-478a-8642-e9a0e5a2861e\",\"app_id\":\"040ff415-74f2-4622-8f5b-b385aa940b2a\",\"service_id\":\"a1754cb3-bb41-473a-9469-546c049c76d6\",\"instance_id\":\"52fed237-2ccb-a6c4-778e-7611ca8ff8bc\"}}",
# "source_type": "stdin",