- Setup the environment: https://code.visualstudio.com/docs/languages/go
- Clone Tempo repository: https://github.com/grafana/tempo
- Donwload tempo.yaml
- Copy launch.json to the .vscode folder
- Set the "args" -config.file to the proper location of the tempo.yaml file
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
[ | |
{ | |
"label": "Debug C file", | |
"build": { | |
"command": "gcc", | |
"args": ["-g", "${ZED_FILE}", "-o", "${ZED_DIRNAME}/${ZED_STEM}.out"], | |
"cwd": "${ZED_WORKTREE_ROOT}" | |
}, | |
"program": "${ZED_DIRNAME}/${ZED_STEM}.out", | |
"request": "launch", |
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
import json | |
import uuid | |
import sys | |
def proton_to_bitwarden(proton_json): | |
proton_data = json.loads(proton_json) | |
bitwarden_export = { | |
"encrypted": False, |
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββ
β Local β β Internet β
β β β β
β β β β
β β β β
β βββββββββββββββββββ βββββββββββββββββββββββ β β βββββββββββββββββββββββ β
β β β β β β β β β β
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
from __future__ import print_function | |
from googleapiclient.discovery import build | |
from googleapiclient.errors import HttpError | |
from google.oauth2.credentials import Credentials | |
from google.cloud import storage | |
from zipfile import ZipFile | |
import os | |
import pathlib |
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
import asyncio | |
import httpx | |
from aiohttp import MultipartWriter, hdrs | |
class writter: | |
data = "" | |
async def write(self, value): | |
self.data += value.decode("utf-8") |
https://github.com/Microsoft/api-guidelines/blob/master/Guidelines.md#31-recommended-reading https://datatracker.ietf.org/doc/html/rfc7807
- Case for fields, resources and parameters:
- snake_case
- Use plural or singular for resources names:
- plural ie
GET credentials
- plural ie
- Self explanatory resource names:
- Bash v5+ checkout Upgrading Bash on macOS
- bash-completion@2
NewerOlder