Skip to content

Instantly share code, notes, and snippets.

shojibflamon

Block or report user

Report or block shojibflamon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PushNotification.php
<?php
require_once('connection.php');
$title=$_POST['title'];
$mes=$_POST['details'];
$loc=$_POST['loc'];
$blood=$_POST['blood'];
View gist:f7b5ea244895f7cb15b5add4a2832414
// Step 1. Create this class in the middleware folder.
<?php namespace App\Http\Middleware;
use Closure;
class BeforeAutoTrimmer {
/**
* Handle an incoming request.
@shojibflamon
shojibflamon / CronRunCommand.php
Created Jan 14, 2017 — forked from sisou/CronRunCommand.php
Cron job command for Laravel 4.2
View CronRunCommand.php
<?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
You can’t perform that action at this time.