Skip to content

Instantly share code, notes, and snippets.

View wellington1993's full-sized avatar
🏠
Working from home

Wellington Torrejais da Silva wellington1993

🏠
Working from home
View GitHub Profile
@wellington1993
wellington1993 / TryGetValidDate.pas
Created November 4, 2026 13:52
Exception-free Delphi function to extract a valid TDateTime from Variant or JSON strings
function TryGetValidDate(const AValue: Variant; out ADate: TDateTime): Boolean;
var
S: string;
begin
ADate := 0;
S := Trim(VarToStrDef(AValue, ''));
Result := (S <> '') and
(Pos('00/00/0000', S) = 0) and
(TryStrToDateTime(S, ADate) or TryISO8601ToDate(S, ADate)) and
@wellington1993
wellington1993 / optimize_and_archive_videos.py
Last active August 20, 2026 19:20
Python Media Optimizer & Auto-Transcriber (AV1 + EBU R128 + faster-whisper)
#!/usr/bin/env python3
"""
Pipeline de Otimização, Deduplicação e Conversão em Lote para AV1 + EBU R128 Loudnorm.
Compatível com Linux, Windows e macOS.
"""
import argparse
import hashlib
import os
import subprocess
@wellington1993
wellington1993 / guia_manutencao_otimizacao_windows.md
Created August 14, 2026 12:41
Guia de Ferramentas de Manutenção, Otimização e Diagnóstico para Windows

🛠️ Guia de Ferramentas de Manutenção, Otimização e Diagnóstico para Windows

Guia com ferramentas gratuitas, utilitários oficiais e de código aberto (Open Source) focados em produtividade, limpeza de resíduos e manutenção em ambientes Windows (pessoais ou corporativos).


🧹 1. Limpeza de Temporários, Caches e Resíduos de Sistema

  • BleachBit (Open Source / Gratuito)
  • Limpa arquivos temporários, logs do Windows, caches de navegadores, dumps de memória e resíduos de aplicativos. Sem anúncios ou telemetria.
@ -0,0 +1,16 @@
Procedure CalcularIMC (
p_Altura IN Float,
p_Peso IN Float,
p_IMC OUT Float
);
Version '1.0.0.0';
Declare
v_AlturaQuad Float;
Begin
@wellington1993
wellington1993 / oracle-find-foreign-keys-dependencies.sql
Last active May 12, 2026 17:06
Oracle find Foreign Keys and dependencies
select *
from all_constraints
where r_constraint_name in (
select constraint_name
from all_constraints
where table_name = :TableName
)
---
https://mega.nz/folder/KBIBTZDB#9klYKhcuzmJDASa2AVhdSg
@wellington1993
wellington1993 / search-own-gists.txt
Created December 8, 2025 01:00 — forked from joe-oli/search-own-gists.txt
search for my own gists only
Go to Gist home, https://gist.github.com/
In githubs search type:
---
user:joe-oli whatever you want to search
Other searches:
------
Get all gists from the user santisbon.