Skip to content

Instantly share code, notes, and snippets.

View ifaniqbal's full-sized avatar

Ifan Iqbal ifaniqbal

View GitHub Profile
@ifaniqbal
ifaniqbal / decorator.go
Created May 25, 2023 08:15
Design Pattern
package main
import "fmt"
type Application struct {
notifier Notifier
}
type Notifier interface {
Send(msg string)
@ifaniqbal
ifaniqbal / SimplifyLog.php
Created November 11, 2019 01:50
Laravel Artisan Command To Simplify Log Files.
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class SimplifyLog extends Command
{
/**
* The name and signature of the console command.