Skip to content

Instantly share code, notes, and snippets.

View shojibflamon's full-sized avatar

Md. Jahidul Islam shojibflamon

View GitHub Profile
@shojibflamon
shojibflamon / CronRunCommand.php
Created January 14, 2017 10:42 — forked from sisou/CronRunCommand.php
Cron job command for Laravel 4.2
<?php
# Cron job command for Laravel 4.2
# Inspired by Laravel 5's new upcoming scheduler (https://laravel-news.com/2014/11/laravel-5-scheduler)
#
# Author: Soren Schwert (GitHub: sisou)
#
# Requirements:
# =============
# PHP 5.4
// Step 1. Create this class in the middleware folder.
<?php namespace App\Http\Middleware;
use Closure;
class BeforeAutoTrimmer {
/**
* Handle an incoming request.
<?php
require_once('connection.php');
$title=$_POST['title'];
$mes=$_POST['details'];
$loc=$_POST['loc'];
$blood=$_POST['blood'];
@shojibflamon
shojibflamon / task.md
Last active May 8, 2022 04:50
Full Stack Web Developer

Assignment

Situation

Need to develop a brand new file manager from scratch where you have to manage all the files & directories.

Features

  • Create, rename & delete the directory
  • Uploading allowed file extension (Multi Uploading)
  • File must be validated with proper validation when uploading
  • Download file
  • Preview Image (thumbnail) if the file is in image format.
@shojibflamon
shojibflamon / docker-compose.yml
Created October 13, 2022 04:00 — forked from RobDWaller/docker-compose.yml
Nginx, PHP FPM, MongoDB Docker Compose
version: "3"
services:
server:
container_name: settings_server
image: nginx:1.15
ports:
- "8080:80"
volumes: