Skip to content

Instantly share code, notes, and snippets.

View marufmax's full-sized avatar
🎯
Focusing

Maruf Alom marufmax

🎯
Focusing
View GitHub Profile
@marufmax
marufmax / ImageUpload.vue
Created November 3, 2019 11:52
Simple VueJS Multiple Image Upload
<template>
<div>
<ul class="el-upload-list el-upload-list--picture-card">
<li
v-for="image in images"
tabindex="0"
class="el-upload-list__item is-ready"
>
<div>
<img
@marufmax
marufmax / ProductsTableSeeder.php
Created March 30, 2018 20:49
Products Table Seeder with Faker (Fake Data) - Laravel
<?php
use Illuminate\Database\Seeder;
use App\Product;
use Faker\Factory as Faker;
class ProductsTableSeeder extends Seeder
{
/**

Docker Commands

Some docker commands I found useful on internet. Instead of searching them everytime this is where I do keep track of them 🎉

Remove and Kill all running containers

docker stop $(docker ps -a -q)
@marufmax
marufmax / Dockerfile
Created June 9, 2021 18:22
PHP 8 with Imagick Dockerfile
## This is a very basic PHP 8 Dockerfile with Imagick installed from source
## Modify/Customize this file as per your need
FROM php:8.0-fpm
RUN apt-get update && \
apt-get install openssl -y && \
apt-get install libssl-dev -y && \
apt-get install wget -y && \
apt-get install git -y && \
@marufmax
marufmax / commando.sh
Last active April 7, 2023 14:48
my Most commonly used cli commands
** Finding a file**
```
find / -name "ansible" 2>&1 | grep -v "Permission denied"
```
** find a text in directory:**
grep -rnw /PATH/ -e 'minikube'