This document outlines the implementation plan for structured logging using "wide events" (canonical log lines), integrated directly into our existing Convex custom function builders.
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
| #!/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..." |
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
| //> 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 |
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
| 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 |
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
| # 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 |
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
| -- 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) |
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
| image: node:12 | |
| stages: | |
| - prepare | |
| - test | |
| services: | |
| - selenium/standalone-chrome | |
| prepare: | |
| stage: prepare | |
| script: |
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
| <?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 | |
| ~ |
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
| <?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> |
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
| #!/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 |
NewerOlder