Skip to content

Instantly share code, notes, and snippets.

View fayimora's full-sized avatar
🕺

Fayi FB fayimora

🕺
  • London, England
View GitHub Profile

Telemetry Implementation Plan: Wide Events with Convex Tracing

This document outlines the implementation plan for structured logging using "wide events" (canonical log lines), integrated directly into our existing Convex custom function builders.

Table of Contents

#!/usr/bin/env bash
set -euo pipefail
# Get repo info
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
echo "Setting up GitHub Environments for $REPO"
# Create environments
echo "Creating environments..."
//> using toolkit latest
//> using dep com.lihaoyi::pprint::0.8.1
//> using dep com.lihaoyi::mainargs::0.5.0
//> using dep com.lihaoyi::fansi::0.4.0
import mainargs.{arg, main, Flag, ParserForMethods}
import pprint.{pprintln => pp}
import scala.util.Try
import scala.util.Failure
import scala.util.Success
@fayimora
fayimora / tracker-list.txt
Created February 11, 2024 23:04 — forked from FFY00/tracker-list.txt
Torrent Trackers
http://104.28.1.30:8080/announce
http://104.28.16.69/announce
http://107.150.14.110:6969/announce
http://109.121.134.121:1337/announce
http://114.55.113.60:6969/announce
# Ring the bell if any background window rang a bell
set -g bell-action any
# Default termtype. If the rcfile sets $TERM, that overrides this value.
set -g default-terminal screen-256color
# Keep your finger on ctrl, or don't
bind-key ^D detach-client
# Create splits and vertical splits
-- local M = {}
-- M.config = function()
-- local lvim_lsp = require("lvim.lsp")
-- local metals_config = require("metals").bare_config()
-- metals_config.on_init = lvim_lsp.common_on_init
-- metals_config.on_exit = lvim_lsp.common_on_exit
-- metals_config.capabilities = lvim_lsp.common_capabilities()
-- metals_config.on_attach = function(client, bufnr)
-- lvim_lsp.common_on_attach(client, bufnr)
image: node:12
stages:
- prepare
- test
services:
- selenium/standalone-chrome
prepare:
stage: prepare
script:
<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright (C) 2019 Google Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License"); you may not
~ use this file except in compliance with the License. You may obtain a copy of
~ the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.euromonitor</groupId>
<artifactId>Via-Dataflow-Service</artifactId>
<version>1.0-SNAPSHOT</version>
#!/usr/bin/env bash
# Pipeline vars
PROJECT=my-project
BUCKET_NAME=my-bucket
TABLE={$PROJECT}:my-dataset.my-table
NODE_ADDRESSES=comma-separated-list-nodes
INDEX=my-index
DOCUMENT_TYPE=my-type