Skip to content

Instantly share code, notes, and snippets.

View dura0ok's full-sized avatar
👨‍🎓
Study

dura0ok

👨‍🎓
Study
View GitHub Profile
@charset 'UTF-8';
/* Slider */
.slick-loading .slick-list
{
background: #fff url('./ajax-loader.gif') center center no-repeat;
}
/* Icons */
@font-face
{
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
<?php
require 'vendor/autoload.php';
use Ratchet\Server\IoServer;
use Ratchet\Http\HttpServer;
use Ratchet\WebSocket\WsServer;
use Ratchet\MessageComponentInterface;
use Ratchet\ConnectionInterface;
class Chat implements MessageComponentInterface
version: "3"
services:
app:
container_name: "discounts-app"
build:
context: ./
volumes:
- ./:/var/www
- ./000-default.conf:/etc/apache2/sites-available/000-default.conf
@dura0ok
dura0ok / index.php
Created March 31, 2019 11:56
Using my plugin
<?php
require "vendor/autoload.php";
use App\Spammer\PHPSpammer;
$spammer = new PHPSpammer('email', 'password', 'from',
'Subject', 'file where emails', 'logging or not(1-true) empty if false');
$spammer->setAttachment('mood.jpg', 'mood.jpg');
<?php
namespace App;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Webpatser\Uuid\Uuid;
/**
<?php
namespace App;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Webpatser\Uuid\Uuid;
/**
@dura0ok
dura0ok / Card.php
Created March 23, 2019 08:17
Error
<?php
namespace App;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Webpatser\Uuid\Uuid;
/**
<?php
namespace App;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Builder;
use Webpatser\Uuid\Uuid;
/**
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:27XnZEk081qxHdkf+DEEfDlVU9rYCuXkskCOQ8hgLas=
APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=mysql