Skip to content

Instantly share code, notes, and snippets.

Working from home

Ruslan Skazkopodatelev Russkazkin

Working from home
View GitHub Profile
View plugin_link.php
Russkazkin / webmin
Created July 13, 2020 13:09
nginx webmin config
View webmin
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;
Russkazkin / edit.blade.php
Last active July 22, 2020 08:44
laravel sammernote frontend
View edit.blade.php
* @var $post \App\Post
<div class="card card-default">
Russkazkin / SummernoteController.php
Last active July 22, 2020 12:09
laravel summernote backend
View SummernoteController.php
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
View ModelMakeCommand.php
namespace App\Console\Commands;
use Illuminate\Foundation\Console\ModelMakeCommand as Command;
class ModelMakeCommand extends Command
protected function getDefaultNamespace($rootNamespace)