Skip to content

Instantly share code, notes, and snippets.

View ThallyssonKlein's full-sized avatar
🎯
Doing Deep Work + Working on Visionary Level

Thallysson Klein ThallyssonKlein

🎯
Doing Deep Work + Working on Visionary Level
View GitHub Profile
headers = {
"accept": "application/json",
"Notion-Version": "2022-06-28",
"content-type": "application/json",
"Authorization": f"Bearer {access_token}",
}
url = "https://api.notion.com/v1/blocks/7682fcd5efc740859ea08269201f1e26"
import json
{
"compilerOptions": {
"target": "es2020",
"module": "commonjs",
"sourceMap": true,
"outDir": "dist",
"rootDir": "src",
"baseUrl": "src",
"strict": true,
"noImplicitAny": true,
{
"ipcMode": null,
"executionRoleArn": "arn:aws:iam::624460490009:role/IaC-EcsTaskExecutionRole",
"containerDefinitions": [
{
"dnsSearchDomains": null,
"environmentFiles": null,
"logConfiguration": {
"logDriver": "awslogs",
"secretOptions": null,
import { NodeTracerProvider } from '@opentelemetry/node'
import { Resource } from '@opentelemetry/resources'
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http'
import { BatchSpanProcessor } from '@opentelemetry/tracing'
import { trace } from '@opentelemetry/api'
const resource = new Resource({ 'service.name': 'api-feature-flag-manager' })
const provider = new NodeTracerProvider({ resource })
import { registerInstrumentations } from '@opentelemetry/instrumentation'
from collections import deque
inf = float('inf')
def nodes_f(map):
counter = 2
nodes = []
nodesCoords = {}
start = None
end = None
# How to consume Github Package private registry with yarn?
Create an .npmrc file in the same location as the package.json with this content.
```
registry=https://registry.yarnpkg.com/
@<username>:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=<your auth token>
always-auth=true