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
INFO 08-08 17:04:52 [__init__.py:241] Automatically detected platform cuda. | |
(APIServer pid=1) INFO 08-08 17:04:54 [api_server.py:1787] vLLM API server version 0.10.2.dev2+gf5635d62e.d20250807 | |
(APIServer pid=1) INFO 08-08 17:04:54 [utils.py:326] non-default args: {'model': '/model', 'max_model_len': 32768, 'served_model_name': ['gpt-oss-20b']} | |
(APIServer pid=1) INFO 08-08 17:04:58 [config.py:726] Resolved architecture: GptOssForCausalLM | |
(APIServer pid=1) ERROR 08-08 17:04:58 [config.py:123] Error retrieving safetensors: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: '/model'., retrying 1 of 2 | |
(APIServer pid=1) ERROR 08-08 17:05:00 [config.py:121] Error retrieving safetensors: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: '/model'. | |
(APIServer pid=1) INFO 08-08 17:05:00 [config.py:3628] Downcasting torch.float32 to torch.b |
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
<!DOCTYPE html> | |
<html lang="pt-BR"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Autocomplete Aprimorado com Lazy Loading</title> | |
<style> | |
/* Estilos Gerais */ | |
body { | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
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
/* | |
* Cubo 3‑D com pulo correto – JoEngine | |
* Controles: D‑Pad move | Botão A pula | |
*/ | |
#include <jo/jo.h> | |
#include <stdbool.h> | |
/* ---------- parâmetros ---------- */ | |
#define CUBE_SIZE 32 |
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
class HTMLtoDOCX { | |
constructor(htmlString) { | |
// 1. GARANTIR SEGURANÇA CONTRA CONFLITO DE 'NODE' | |
// Em alguns bundlers, `Node` pode ser sobrescrito. Usar `window.Node` garante que estamos usando as constantes do DOM. | |
this.nodeTypes = { | |
ELEMENT_NODE: window.Node.ELEMENT_NODE, | |
TEXT_NODE: window.Node.TEXT_NODE, | |
}; | |
const parser = new DOMParser(); |
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
// PDFParser.js - Parser de PDF com exportação para HTML | |
class PDFParser { | |
constructor() { | |
this.buffer = null; | |
this.position = 0; | |
this.objects = new Map(); | |
this.trailer = {}; | |
this.xref = {}; | |
this.pages = []; |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Gerador de pares (instrução, resposta) da CF‑88 – v5 | |
▪ Grava direto em Parquet | |
▪ Descobre incisos/§ via JSON‑schema | |
▪ + PARÁFRASE (variante “paraphrase”) | |
▪ + BACK‑TRANSLATION (variante “back_translation”) | |
© 2025 Celso + ChatGPT |
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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Editor de Cenário 3D Avançado para Jo Engine</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css"> | |
<style> | |
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; background-color: #333; color: #eee; overflow: hidden; } | |
#main-container { display: flex; width: 100vw; height: 100vh; } |
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
class DocxToHtmlConverter { | |
constructor(zip) { | |
let ParserClass; | |
if (typeof fxparser !== 'undefined' && fxparser.XMLParser) { | |
ParserClass = fxparser.XMLParser; | |
} else if (typeof window !== 'undefined' && window.XMLParser) { | |
ParserClass = window.XMLParser.default || window.XMLParser; | |
} else { | |
throw new Error("Could not find fast-xml-parser library."); |
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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>PGE Digital - Caixa de Entrada</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | |
<style> |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> // For isspace | |
#include <libxml/HTMLparser.h> | |
#include <libxml/tree.h> | |
#include <hpdf.h> | |
// Global PDF settings | |
#define PAGE_WIDTH 595.28f // A4 paper width in points (210mm) |
NewerOlder