Skip to content

Instantly share code, notes, and snippets.

View Diegiwg's full-sized avatar
...

Diego Queiroz Diegiwg

...
View GitHub Profile
from nicegui import ui, page
from dataclasses import dataclass
from typing import Callable
@dataclass
class Route:
path: str
callback: Callable
@JustSteveKing
JustSteveKing / pint.json
Last active January 3, 2026 12:00
Laravel Pint configuration
{
"preset": "per",
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
@xt0rted
xt0rted / README.md
Last active January 9, 2026 19:26
Auto-merge Dependabot PRs for minor & patch updates

README

Note

I'm now using a newer version of this workflow that supports an allow list for individual packages and update groups which can be found here:

If you're using a workflow like this and need to manage secrets in multiple repos xt0rted/secrets-sync can simplify that. This lets you add secrets to one repo and sync them to many repos. There's also a template you can fork to get started quickly with it.

Personal Access Token

@smvd
smvd / FlappyBird.c
Last active August 20, 2025 21:29
flappy bird writen in c running in the terminal
/*
_ _ _ _____ _ ____ _
| \ | | ___ | |_ | ___| | __ _ _ __ _ __ _ _ | _ \ _ _ ___| | __
| \| |/ _ \| __| | |_ | |/ _` | '_ \| '_ \| | | | | | | | | | |/ __| |/ /
| |\ | (_) | |_ | _| | | (_| | |_) | |_) | |_| | | |_| | |_| | (__| <
|_| \_|\___/ \__| |_| |_|\__,_| .__/| .__/ \__, | |____/ \__,_|\___|_|\_\
|_| |_| |___/
compiler : GCC
command : gcc source.c -o FlappyBird.exe -Werror -Wall -W -s
license : www.unlicense.org (Please credit my channel tho)
@nicfit
nicfit / disable-gnome-extensions.sh
Last active April 11, 2025 12:18
Disable all gnome-shell extensions from command line.
for ext in $(/usr/bin/ls ~/.local/share/gnome-shell/extensions); do
gnome-shell-extension-tool -d $ext;
done