Skip to content

Instantly share code, notes, and snippets.

View ozluuh's full-sized avatar

Luís Paulino ozluuh

View GitHub Profile
@ozluuh
ozluuh / theme.ohmyposh.json
Created February 8, 2026 16:54
Chezmoi - Themes
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 4,
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
"blocks": [
{
"alignment": "left",
"newline": true,
"type": "prompt",
@ozluuh
ozluuh / theme.omp.json
Last active December 28, 2025 02:11
Posh Theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 4,
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
"blocks": [
{
"alignment": "left",
"newline": true,
"type": "prompt",
@ozluuh
ozluuh / MameBoardExtractor.bat
Last active February 9, 2023 00:25
Put this batch file in same directory that DatUtil (Logiqx) executable are stored (Root folder)
REM TODO: Add `abort` when `*.rule` has `; (semicolon)` delimiter to not crash batch
REM TODO: Add `append` to output file when `Rule name` is equal
REM Not use files with `&` special char
REM Product...........: Mame boards extractor
REM Author............: Luís Paulino
REM Version...........: 1.0.1
REM Created at........: 2023-02-05 21:30
REM Updated at........: 2023-02-08 21:21
REM Description.......: Script that extract MAME's boards using `datutil.exe` supported
REM ..................: format types to `genericxml (Logiqx)` filetype using rules.
@ozluuh
ozluuh / DatConvert.bat
Created February 5, 2023 19:22
Put this batch file in same directory that DatUtil (Logiqx) are stored (Root folder)
REM Not use files with `&` special char
REM Product...........: Metadata Converter
REM Author............: Luís Paulino
REM Version...........: 1.0.0
REM Created at........: 2023-01-31 13:37
REM Updated at........: 2023-02-05 16:16
REM Description.......: Script that converts `datutil.exe` supported format types
REM ..................: to `genericxml (Logiqx)` filetype.
::
::
@ozluuh
ozluuh / CueGdi2Chd.bat
Created January 20, 2023 20:09
Script that converts .CUE and .GDI files to .CHD
REM Product...........: CUE/CDI to CHD converter script
REM Author............: Luís Paulino
REM Version...........: 1.0.0
REM Created at........: 2023-01-20 13:37
REM Updated at........: 2023-01-20 17:00
REM Description.......: Script that converts .CUE and .GDI files to .CHD
::
::
@echo off
title CUE/CDI to CHD converter script
@ozluuh
ozluuh / ASDF.md
Last active May 4, 2023 16:30
Ubuntu Minimal + Tools

ASDF

This minimal guide list the common commands of the ASDF.

Control the Plugins (Programming Languages)

  • Add plugin: asdf plugin-add <name> <git-url>
  • List disponible plugin versions: asdf list all <name>
  • List installed plugins: asdf plugin list [all]
  • Remove installed plugin and versions: asdf plugin remove
@ozluuh
ozluuh / RenameFiles.py
Created December 8, 2019 14:27
Slug files with date - Rename
# coding: utf-8
import sys
import os
import re
def RegEx(file):
for entry in file:
if re.search(r'date', entry):
return re.search(r'(\d{4}-\d{2}-\d{2})', entry).group(0)
continue
@ozluuh
ozluuh / CreateFoldersToAudit.bat
Created August 9, 2018 04:41
Ideal script for Technical Support Areas and derivatives where remote calls are performed and there is a need to have video sessions or recorded audio and derivative recordings.
REM Product...........: Criador de Pastas de Sessões
REM Author............: Luís Santos
REM Version...........: 2.0.0
REM Created_In........: 2018-08-08 21:08:55
REM Last_Modification.: 2018-08-09 01:35:47
REM Description.......: Script ideal para Áreas de Suporte Técnico e derivados onde são realizados atendimentos remotos
REM ..................: e há a necessidade de possuir as sessões de vídeo ou gravações de áudio e derivados registrados.
::
::
::