Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ruslan Skazkopodatelev Russkazkin

🏠
Working from home
View GitHub Profile
View ModelMakeCommand.php
<?php
namespace App\Console\Commands;
use Illuminate\Foundation\Console\ModelMakeCommand as Command;
class ModelMakeCommand extends Command
{
protected function getDefaultNamespace($rootNamespace)
{
@Russkazkin
Russkazkin / SummernoteController.php
Last active July 22, 2020 12:09
laravel summernote backend
View SummernoteController.php
<?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
@Russkazkin
Russkazkin / edit.blade.php
Last active July 22, 2020 08:44
laravel sammernote frontend
View edit.blade.php
@php
/**
* @var $post \App\Post
*/
@endphp
@extends('layouts.admin')
@section('content')
<div class="card card-default">
@Russkazkin
Russkazkin / webmin
Created July 13, 2020 13:09
nginx webmin config
View webmin
server {
server_name your-domain.name;
access_log /var/log/nginx/webmin-access.log;
error_log /var/log/nginx/webmin-error.log;
location / {
proxy_pass http://127.0.0.1:10000/;
proxy_redirect http://$host:10000/ https://$host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
View plugin_link.php