Skip to content

Instantly share code, notes, and snippets.

View Russkazkin's full-sized avatar
Working from home

Ruslan Skazkopodatelev Russkazkin

Working from home
View GitHub Profile
namespace App\Console\Commands;
use Illuminate\Foundation\Console\ModelMakeCommand as Command;
class ModelMakeCommand extends Command
protected function getDefaultNamespace($rootNamespace)
Russkazkin / SummernoteController.php
Last active July 22, 2020 12:09
laravel summernote backend
namespace App\Http\Controllers\Shared;
use App\Http\Controllers\Controller;
use App\Http\Requests\Summernote\SummernoteDeleteRequest;
use App\Http\Requests\Summernote\SummernoteUploadRequest;
use Storage;
class SummernoteController extends Controller
Russkazkin / edit.blade.php
Last active July 22, 2020 08:44
laravel sammernote frontend
* @var $post \App\Post
<div class="card card-default">
Russkazkin / webmin
Created July 13, 2020 13:09
nginx webmin config
server {
access_log /var/log/nginx/webmin-access.log;
error_log /var/log/nginx/webmin-error.log;
location / {
proxy_redirect http://$host:10000/ https://$host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;