Skip to content

Instantly share code, notes, and snippets.

View joaopaulolndev's full-sized avatar
🎯
Always looking for a good project

João Paulo Leite Nascimento joaopaulolndev

🎯
Always looking for a good project
View GitHub Profile
@joaopaulolndev
joaopaulolndev / README.md
Created October 12, 2024 11:34 — forked from lucacastelnuovo/Filament V3 - Print Pop-Up.md
Filament V3 - Print Pop-Up

Filament V3 - Print Pop-Up

This code allows you to show a pop-up to print a "PDF" (rendered html) without first having to open the PDF viewer and requiring the user to press the print button.

@joaopaulolndev
joaopaulolndev / git-ssh-error-fix.sh
Created March 1, 2025 16:32 — forked from Tamal/git-ssh-error-fix.sh
Solution for 'ssh: connect to host github.com port 22: Connection timed out' error
$ git clone git@github.com:xxxxx/xxxx.git my-awesome-proj
Cloning into 'my-awesome-proj'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
$ # This should also timeout
$ ssh -T git@github.com
ssh: connect to host github.com port 22: Connection timed out
$ # but this might work
@joaopaulolndev
joaopaulolndev / AdminPanelProvider.php
Created March 26, 2025 14:41 — forked from afsakar/AdminPanelProvider.php
Filter for navigation items in FilamentPHP
<?php
namespace App\Providers\Filament;
use Filament\Panel;
use Filament\View\PanelsRenderHook;
use Illuminate\Support\Facades\Blade;
public function panel(Panel $panel): Panel
{
@import '/vendor/filament/filament/resources/css/theme.css';
@config 'tailwind.config.js';
body {
/* @apply !bg-primary-50 dark:!bg-gray-950;*/
}
.fi-sidebar {
/* @apply bg-white border-r shadow-sm p-4 !important; */