Skip to content

Instantly share code, notes, and snippets.

View cristiandelahooz's full-sized avatar
🐲
Getting knowledge.

Cristian de la Hoz cristiandelahooz

🐲
Getting knowledge.
View GitHub Profile
Astro ███████████░░░░░░░░░░░░░░░░░░░░░░░░░ 30.35%
Java ██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 14.66%
TypeScript █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 13.41%
C █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 11.45%
HTML ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 10.60%
Lua ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 10.15%
JavaScript ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.09%
Stylus █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.26%
Haskell █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.64%
Go █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.25%
⭐ Total Stars: 2
➕ Total Commits: 504
🔀 Total PRs: 6
🚩 Total Issues: 2
📦 Contributed to: 2
@cristiandelahooz
cristiandelahooz / biome.json
Last active January 6, 2025 19:48
biome formater-lint configuration
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": [],
"files": {
"ignoreUnknown": true
},
"organizeImports": {
"enabled": true
},
"formatter": {
@cristiandelahooz
cristiandelahooz / install-git-hooks.gradle
Last active March 9, 2025 14:21
pre-commit-gradle-spotless
task addGitHooks {
doLast {
def gitHooksDir = '../.git/hooks'
def preCommitHook = file('../.scripts/pre-commit') // Archivo de hook personalizado
// Verifica si el directorio .git/hooks existe
if (file(gitHooksDir).exists()) {
// Copia el script del hook al directorio .git/hooks
copy {
from preCommitHook
@cristiandelahooz
cristiandelahooz / ApiRouter.java
Last active March 9, 2025 12:53
DynamicControllerRoutesWithReflection
package org.example.utils;
import io.javalin.Javalin;
import io.javalin.http.Context;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;
import org.example.annotations.Controller;
import org.example.annotations.Delete;
import org.example.annotations.Get;