Skip to content

Instantly share code, notes, and snippets.

View bothra90's full-sized avatar

Abhay Bothra bothra90

View GitHub Profile
From ec1ab0049808a9fbca676bfe68ee735eb620d763 Mon Sep 17 00:00:00 2001
From: Richard Gilmore <richard.gilmore@slicelife.com>
Date: Sun, 6 Nov 2022 23:19:37 +0000
Subject: [PATCH] resolving pod launches and server logging
---
.gitignore | 1 +
airbyte-commons/src/main/resources/log4j2.xml | 5 -----
.../io/airbyte/config/helpers/CloudLogsClientTest.java | 4 ++--
.../test/java/io/airbyte/config/helpers/S3LogsTest.java | 4 ++--
This file has been truncated, but you can view the full file.
{
"destinations": [
{
"destinationDefinitionId": "0eeee7fb-518f-4045-bacc-9619e31c43ea",
"name": "Amazon SQS",
"dockerRepository": "airbyte/destination-amazon-sqs",
"dockerImageTag": "0.1.0",
"documentationUrl": "https://docs.airbyte.com/integrations/destinations/amazon-sqs",
"icon": "awssqs.svg",
"iconUrl": "https://storage.googleapis.com/prod-airbyte-cloud-connector-metadata-service/metadata/airbyte/destination-amazon-sqs/latest/icon.svg",
@bothra90
bothra90 / bench_cel.go
Last active October 1, 2021 16:47
CEL Benchmark in Go
package main
import (
"log"
"time"
"github.com/google/cel-go/cel"
"github.com/google/cel-go/checker/decls"
)
@bothra90
bothra90 / bench_exp.py
Created October 1, 2021 06:12
Benchmark
import celpy
import time
import random
def bench_native():
start = time.time()
for _ in range(10000):
failure = 2000 * (1 + random.random())
count = 10000 * (1 + random.random())
@bothra90
bothra90 / gist:e88fbcf9678623e2af85ad141beb5120
Created December 10, 2020 22:59 — forked from debasishg/gist:8172796
A collection of links for streaming algorithms and data structures
  1. General Background and Overview
package main
import "fmt"
func main() {
c := "`"
x := `package main
import (
"fmt"

Types

A type is a collection of possible values. An integer can have values 0, 1, 2, 3, etc.; a boolean can have values true and false. We can imagine any type we like: for example, a HighFive type that allows the values "hi" or 5, but nothing else. It's not a string and it's not an integer; it's its own, separate type.

Statically typed languages constrain variables' types: the programming language might know, for example, that x is an Integer. In that case, the programmer isn't allowed to say x = true; that would be an invalid program. The compiler will refuse to compile it, so we can't even run it.

Keybase proof

I hereby claim:

  • I am bothra90 on github.
  • I am bothra90 (https://keybase.io/bothra90) on keybase.
  • I have a public key whose fingerprint is 5269 A892 0423 8B59 AB1B 208D 3168 9632 23AF CE9D

To claim this, I am signing this object:

@bothra90
bothra90 / markdown.md
Last active August 29, 2015 14:26
Learning Markdown

#First Heading

  • List first elem
  • Second elem
    • nested elem

##Second heading

Third heading