Skip to content

Instantly share code, notes, and snippets.

View ndom91's full-sized avatar

Nico Domino ndom91

View GitHub Profile
@ndom91
ndom91 / new-reset.css
Created August 30, 2024 18:49
2024 CSS Reset
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Prevent font size inflation */
html {
console.log('TEST FROM REMOTE SRC')
@ndom91
ndom91 / test.md
Created November 3, 2024 19:44
Test123

grep.app search preview dialog

@ndom91
ndom91 / automation-pause-media-voice-pe.yaml
Last active April 20, 2025 11:01
Voice PE - Pause Media while Listening
alias: Voice PE - Pause TV when Voice PE Listening
description: "In order to improve voice command recognition, pause any media players playing in the background while listening for a command."
triggers:
- trigger: state
entity_id:
- assist_satellite.home_assistant_voice_090de2_assist_satellite # Voice PE Satellite entity
to: listening
conditions:
- condition: not
conditions:
@ndom91
ndom91 / index.ts
Last active July 25, 2025 17:42
Plain Help Center markdown Migration
import path from "node:path";
import fs from "node:fs";
import { GraphQLClient, gql } from "graphql-request";
import { marked } from "marked";
type HelpCenterArticle = {
id: string;
title: string;
description: string;
contentHtml: string;
@ndom91
ndom91 / intento_matches.js
Created August 8, 2025 13:44
Intento Help Desk Migration - URL Matches
export const urlMapping = {
// MT Studio
"https://help.inten.to/hc/en-us/categories/360003100099-Intento-MT-Studio":
"https://help.inten.to/section/intento-mt-studio",
"https://help.inten.to/hc/en-us/sections/4413578103442-Evaluation-Projects":
"https://help.inten.to/section/evaluation-projects",
"https://help.inten.to/hc/en-us/articles/4749773136924-Data-Cleaning":
"https://help.inten.to/article/mt-studio-data-cleaning",
"https://help.inten.to/hc/en-us/articles/360020905319-Train-Custom-Models-With-MT-Studio":