Skip to content

Instantly share code, notes, and snippets.

View jhonoryza's full-sized avatar
🏠
Working from home

fajar sp jhonoryza

🏠
Working from home
View GitHub Profile
// In Laravel app.js
import NProgress from 'nprogress';
Livewire.hook('commit', ({ component, commit, respond, succeed, fail }) => {
NProgress.start()
succeed(({ spanshot, effect }) => {
queueMicrotask(() => {
NProgress.done(true)
@jhonoryza
jhonoryza / s3.yml
Created September 22, 2023 04:08 — forked from a1994sc/s3.yml
MinIO docker Swarm Traefik setup
version: '3.7'
services:
minio1:
image: minio/minio:latest
hostname: minio1
volumes:
- /mnt/drive/minio:/export
networks:
- proxy
@jhonoryza
jhonoryza / FilamentQuickStart.php
Created January 12, 2023 15:10 — forked from Z3d0X/FilamentQuickStart.php
Quickly install and configure filament in a new laravel project
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
class FilamentQuickStart extends Command
{
protected $signature = 'filament:quickstart';
@jhonoryza
jhonoryza / blade-component-tom-select-livewire.md
Last active November 13, 2021 03:34 — forked from mithicher/tom-select.blade.php
Tom Select Livewire Blade Component
upstream django_app {
server 127.0.0.1:8000;
}
server {
listen 80;
server_name demo.gatos.io;
access_log /var/log/nginx/app.log;