Skip to content

Instantly share code, notes, and snippets.

Pipeline still running ...
PipelineRun is still running: Tasks Completed: 38 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 14
[get-pr-number : parse-pr-url] + echo -n 2379
[get-pr-number : parse-pr-url] + tee /tekton/results/git_pr_number
[get-pr-number : parse-pr-url] 2379
[acquire-lease : create-lease] + calculate_duration_in_seconds 90m
[acquire-lease : create-lease] + '[' m == m ']'
[acquire-lease : create-lease] + TOTAL_DURATION_IN_SECONDS=5400
[acquire-lease : create-lease] + export TOTAL_DURATION_IN_SECONDS
@rohit-wadhwa
rohit-wadhwa / backend-testing-with-copilot.md
Last active March 13, 2025 13:03
Comprehensive GitHub Copilot prompt for creating robust unit tests in TypeScript, featuring step-by-step guidelines, structured templates, and best practices for testing with an abstract framework, ensuring maintainable, high-quality code.

I want you to act as a Senior Full-Stack TypeScript Developer. Your role is to build a comprehensive suite of unit tests for any given TypeScript codebase that I provide. Follow these detailed steps to ensure effective testing:

Guidelines for the Testing Process

  1. Thorough Code Analysis

    • Dive deep into the TypeScript code. Examine it step by step.
    • Identify ambiguities or missing details, such as undefined constants, type definitions, conditions, or external API interactions.
    • Seek clarifications as needed before proceeding to the next step to ensure complete understanding.
  2. Utilize an Abstract Testing Framework

@drupol
drupol / terminal.log
Created March 13, 2025 13:00
Orthanc compilation issue (III)
[ 53%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp.o
[ 54%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp.o
[ 54%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomAssociationParameters.cpp.o
[ 55%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp.o
[ 55%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomServer.cpp.o
[ 55%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp.o
[ 56%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/Internals/CommandDispatcher.cpp.o
[ 56%] Building CXX object CMakeFiles/CoreLibrary.dir/build/sourc
{
"certified": false,
"deleted": false,
"docker_image_digest": "sha256:3c75e9674f7574ee200dc061a5b3f46914256944bd8bfbfdb0f8ead5dd700fe8",
"docker_image_id": "sha256:faa7b4cedc1479122b187122a3550f80d63835aa1d01751bc94ffadef0b7668c",
"image_id": "sha256:3c75e9674f7574ee200dc061a5b3f46914256944bd8bfbfdb0f8ead5dd700fe8",
"parsed_data": {
"architecture": "amd64",
"created": "2025-03-13 12:23:45.718320395 +0000 UTC",
"image_id": "sha256:3c75e9674f7574ee200dc061a5b3f46914256944bd8bfbfdb0f8ead5dd700fe8",
@choco-bot
choco-bot / Install.txt
Created March 13, 2025 12:59
biblioteq v2022.05.30 - Passed - Package Tests Results
2025-03-13 12:57:43,090 2036 [DEBUG] - XmlConfiguration is now operational
2025-03-13 12:57:43,293 2036 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 12:57:43,311 2036 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-13 12:57:43,311 2036 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 12:57:43,326 2036 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-03-13 12:57:43,326 2036 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-13 12:57:43,340 2036 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-03-13 12:57:43,340 2036 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 12:57:43,356 2036 [DEBUG] - Adding new typ
@comfunviki1f64
comfunviki1f64 / 3DMark
Created March 13, 2025 12:58
3DMark Crack
3DMark Cracked
@fredojb
fredojb / add_sudoer_mac.md
Created March 13, 2025 12:58 — forked from kbaynes/add_sudoer_mac.md
Add sudoer on Mac

Add an Account to sudoers on Mac

To add an account to the list of sudoers, you'll need an administrator account.

Test your sudo access by running a simple command, such as:

If you simply want to make sure that your current user has sudo access AND this command works, then you already have sudo access and you're done.

sudo echo hello world
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE DeriveAnyClass #-}
module Main where
import Diagrams.Prelude
import Diagrams.Backend.SVG
@wangjiezhe
wangjiezhe / gentoo-crossdev.md
Created March 13, 2025 12:58 — forked from thesamesam/gentoo-crossdev.md
Gentoo cross compilation instructions (crossdev -> stage3)

Cross instructions

These instructions cover:

  1. building a cross toolchain
  2. populating the new ROOT
  3. making it chrootable using qemu-user to easily run "native" builds or tests (this is like a stage3 at the end)

You do not need to follow through to the end if you don't need a stage3-like root.

Set up the toolchain

@RobertAisand
RobertAisand / gist:5d26fe3932a3feaa720e6e8d144f49cb
Created March 13, 2025 12:58
Базы данных 4 лаба
CREATE TABLE departments (
id INT PRIMARY KEY,
name VARCHAR(100) NOT NULL
);
INSERT INTO departments (id, name) VALUES (1, 'Group1'), (2, 'Group2');
CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
d_id INT,
FOREIGN KEY (d_id) REFERENCES departments(id)