Skip to content

Instantly share code, notes, and snippets.

@RobertAisand
RobertAisand / gist:950266358ea34042185fdefa26d84058
Created March 13, 2025 13:03
Базы данных 5 лаба
CREATE DATABASE universityyy;
USE universityyy;
CREATE TABLE users (
id INT PRIMARY KEY,
name VARCHAR(45) NOT NULL,
isupdate BOOLEAN NOT NULL DEFAULT FALSE
);
DELIMITER //
import os
import shutil
import PyPDF2
import pandas as pd

def separar_pdf(pdf_caminho, pasta_saida):
    """Separa o PDF em páginas individuais."""
    with open(pdf_caminho, 'rb') as f:
@aqscithe
aqscithe / Latios-Framework-Docs.md
Created March 13, 2025 13:02
Latios Framework Docs

├── Art Adventures └── Part 1 - Character Catalog 1.md ├── Calligraphics ├── Animation.md ├── CHANGELOG.md ├── Getting Started.md └── README.md ├── Character Adventures

https://docs.google.com/forms/d/e/1FAIpQLScE3X4kZsGNPoBrhquD-30FCP5qJy21jlYVPhqYnmKI-HhCow/viewform?usp=pp_url&entry.462517371=20%20-%2025%20tu%E1%BB%95i&entry.879644486=H%E1%BB%8Dc%20sinh%2C%20sinh%20vi%C3%AAn&entry.1402072670=5%20-%2010%20tri%E1%BB%87u%2F%20th%C3%A1ng&entry.712168475=Kh%C3%A1c&entry.906586133=Kh%C3%A1c&entry.1185292920=H%C3%A0ng%20th%C3%A1ng&entry.165844229=C%C3%A1c%20kiosk%20nh%E1%BB%8F%20ven%20%C4%91%C6%B0%E1%BB%9Dng%20(takeaway)&entry.165844229=C%C3%A1c%20chu%E1%BB%97i%20th%C6%B0%C6%A1ng%20hi%E1%BB%87u%20l%E1%BB%9Bn%20-%20giao%20h%C3%A0ng%20qua%20app%20(Starbucks%2C%20Highlands%2C%20Ph%C3%BAc%20Long%2C..)&entry.165844229=C%C3%A1c%20chu%E1%BB%97i%20th%C6%B0%C6%A1ng%20hi%E1%BB%87u%20l%E1%BB%9Bn%20-%20d%C3%B9ng%20t%E1%BA%A1i%20ch%E1%BB%97%20(Starbucks%2C%20Highlands%2C%20Ph%C3%BAc%20Long%2C..)&entry.165844229=C%C3%A1c%20th%C6%B0%C6%A1ng%20hi%E1%BB%87u%20%C4%91%E1%BB%99c%20l%E1%BA%ADp%20-%20giao%20h%C3%A0ng%20qua%20app&entry.165844229=C%C3%A1c%20th%C6%B0%C6%A1ng%20hi%E1%BB%87u%20%C4%91%E1%BB
@edpaulos
edpaulos / .py
Created March 13, 2025 13:01
O que são e como usar listas e tuplas
print("Disciplina do curso: Programação Dinâmica")
nome = input("Nome do aluno: ")
print(nome)
disciplinas = ["Introdução a Python","Tipos de Dados","Controle de Fluxo;if-else-elif" ]
notas = [5, 5, 0]
print(f' Disciplinas e notas:', {disciplinas[0]}, {notas[0]},
{disciplinas[1]}, {notas[1]},
{disciplinas[2]}, {notas[2]},
)
print("Pesquisar disciplinas Isoladas")
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