Skip to content

Instantly share code, notes, and snippets.

View afrittoli's full-sized avatar
💭
🤖 🐱

Andrea Frittoli afrittoli

💭
🤖 🐱
View GitHub Profile
#include <pybind11/pybind11.h>
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
int add(int i, int j) {
return i + j;
}
struct Breed {
diff --git a/pkg/pipelinerunmetrics/metrics_test.go b/pkg/pipelinerunmetrics/metrics_test.go
index 9cefb0310..8199e29db 100644
--- a/pkg/pipelinerunmetrics/metrics_test.go
+++ b/pkg/pipelinerunmetrics/metrics_test.go
@@ -524,11 +524,18 @@ func TestRecordRunningPipelineRunsCount(t *testing.T) {
}
func TestRecordRunningPipelineRunsCountAtPipelineLevel(t *testing.T) {
- unregisterMetrics()
encrypted_text = "BT JPX RMLX PCUV AMLX ICVJP IBTWXVR CI M LMT'R PMTN, MTN YVCJX CDXV MWMBTRJ JPX AMTNGXRJBAH UQCT JPX QGMRJXV CI JPX YMGG CI JPX HBTW'R QMGMAX; MTN JPX HBTW RMY JPX QMVJ CI JPX PMTN JPMJ YVCJX. JPXT JPX HBTW'R ACUTJXTMTAX YMR APMTWXN, MTN PBR JPCUWPJR JVCUFGXN PBL, RC JPMJ JPX SCBTJR CI PBR MTN PBR HTXXR RLCJX CTX MWMBTRJ GCBTR YXVX GCCRXN, MTCJPXV. JPX HBTW AVBXN MGCUN JC FVBTW BT JPX MRJVCGCWXVR, JPX APMGNXMTR, MTN JPX RCCJPRMEXVR. MTN JPX HBTW RQMHX, MTN RMBN JC JPX YBRX LXT CI FMFEGCT, YPCRCXDXV RPMGG VXMN JPBR YVBJBTW, MTN RPCY LX JPX BTJXVQVXJMJBCT JPXVXCI, RPMGG FX AGCJPXN YBJP RAMVGXJ, MTN PMDX M APMBT CI WCGN MFCUJ PBR TXAH, MTN RPMGG FX JPX JPBVN VUGXV BT JPX HBTWNCL. JPXT AMLX BT MGG JPX HBTW'R YBRX LXT; FUJ JPXE ACUGN TCJ VXMN JPX YVBJBTW, TCV LMHX HTCYT JC JPX HBTW JPX BTJXVQVXJMJBCT JPXVXCI. JPXT YMR HBTW FXGRPMOOMV WVXMJGE JVCUFGXN, MTN PBR ACUTJXTMTAX YMR APMTWXN BT PBL, MTN PBR GCVNR YXVX MRJCTBRPXN. TCY JPX KUXXT, FE VXMRCT CI JPX YCVNR CI JPX HBTW MTN PBR GCVNR, AMLX BTJC J

Tekton Incubation Application

v1.5 This template provides the project with a framework to inform the TOC of their conformance to the Incubation Level Criteria.

Project Repo(s): https://github.com/tektoncd/ Project Site: https://tekton.dev Sub-Projects: pipeline, triggers, cli, dashboard, operator, chains, catalog Communication: https://github.com/tektoncd/community/blob/main/contact.md#slack

Project points of contacts: Dibyo Mukherjee, Andrea Frittoli, Vincent Demeester, Jerop Kipruto, [Chi

README.md:3:1: MD022: Headings should be surrounded by blank lines. [Expected: 1; Actual: 0; Below] (blanks-around-headings,blanks-around-headers)
README.md:4:1: MD032: Lists should be surrounded by blank lines (blanks-around-lists)
README.md:16:45: MD009: Trailing spaces [Expected: 0 or 2; Actual: 1] (no-trailing-spaces)
README.md:29:1: MD013: Line length [Expected: 80, Actual: 172] (line-length)
README.md:32:1: MD013: Line length [Expected: 80, Actual: 110] (line-length)
README.md:38:1: MD013: Line length [Expected: 80, Actual: 128] (line-length)
README.md:41:1: MD013: Line length [Expected: 80, Actual: 177] (line-length)
README.md:44:1: MD031: Fenced code blocks should be surrounded by blank lines (blanks-around-fences)
README.md:44:1: MD040: Fenced code blocks should have a language specified (fenced-code-language)
README.md:45:1: MD014: Dollar signs used before commands without showing output (commands-show-output)
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2024-02-20T06:01:21Z"
generateName: tekton-results-postgres-
labels:
app.kubernetes.io/name: tekton-results-postgres
app.kubernetes.io/version: devel
controller-revision-hash: tekton-results-postgres-67bf4bd865
statefulset.kubernetes.io/pod-name: tekton-results-postgres-0
fms/utils/generation.py:10: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
fms/models/hf/lm_head_mixins.py:7: error: Skipping analyzing "transformers": module is installed, but missing library stubs or py.typed marker [import-untyped]
fms/models/hf/lm_head_mixins.py:8: error: Skipping analyzing "transformers.modeling_outputs": module is installed, but missing library stubs or py.typed marker [import-untyped]
fms/models/hf/lm_head_mixins.py:15: error: Skipping analyzing "transformers.utils": module is installed, but missing library stubs or py.typed marker [import-untyped]
fms/models/hf/lm_head_mixins.py:73: error: Unexpected keyword argument "config" for "__init__" of "object" [call-arg]
fms/models/hf/lm_head_mixins.py:73: error: Unexpected keyword argument "lm_head" for "__init__" of "object" [call-arg]
fms/models/hf/lm_head_mixins.py:186: error: "__init__" of "LMHeadMixin" gets multiple values for keyword argument "_lm_head_
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: trusted-artifacts-sugar
spec:
pipelineSpec:
workspaces:
- name: artifactStorage # In this example this is where we store artifacts
artifacts: true # this will result in failed validation if the workspace is bound to a readonly backend like a secret
tasks:
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: trusted-artifacts
spec:
pipelineSpec:
workspaces:
- name: artifactStorage # In this example this is where we store artifacts
tasks:
- name: producer
@afrittoli
afrittoli / harbor-dev-macos.md
Last active June 21, 2023 19:23
Harbor dev env on MacOS M1 with Podman

Harbor dev env on MacOS M1 with Podman

Prereq: podman is installed

  1. Install podman-compose
pip3 install podman-compose
  1. Start the podman machine with your go/clone path mounted. I clone golang github repos under /go/src/github.com/: