Skip to content

Instantly share code, notes, and snippets.

View destroylord's full-sized avatar
:octocat:
Remote

Dafrin Maulana destroylord

:octocat:
Remote
View GitHub Profile
@irsyadulibad
irsyadulibad / ApiResponser.php
Last active January 8, 2025 14:13
API Responser Trait for Laravel Application
<?php
/**
* API Responser Trait
* Stabilize JSON response output
* ---------------------------------
*
* @author irsyadulibad | github.com/irsyadulibad
* @see https://gist.github.com/irsyadulibad/050e025c7d2cf27a488ee03ab11e7af1
*
*/
@krisanalfa
krisanalfa / KeyGenerateCommand.php
Last active September 25, 2023 17:25
Lumen Key Generator Commands
<?php
namespace App\Console\Commands;
use Illuminate\Support\Str;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
class KeyGenerateCommand extends Command
{
@irsyadulibad
irsyadulibad / docker-cheatsheet.sh
Last active February 16, 2022 05:39
Basic Docker Cheat Sheet
# Docker Image
## List all images
docker image ls
## Pull docker images
docker image pull image:tag
## Remove docker images
docker image rm image:tag
# Docker container
## Show all list of container