Skip to content

Instantly share code, notes, and snippets.

View kevinG73's full-sized avatar
:octocat:

Guelade Kevin kevinG73

:octocat:
  • Abidjan
View GitHub Profile
@ju5t
ju5t / instructions.md
Last active May 3, 2024 21:45
Livewire enabled TinyMCE blade component

Instructions

This is a very basic TinyMCE component. It uses 'entangle'. This allows you to link a Livewire and Alpine property to eachother. If one value changes, the other does too.

Installation

Add tinymce.blade.php to views/components/input. This can be another component folder too if you prefer, but keep in mind that you should also

@Tersoal
Tersoal / FullTextSearchFilter.php
Created October 1, 2020 09:02
Full text search for API Platform with one or more strings
<?php
namespace App\Filter;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface;
use ApiPlatform\Core\Exception\InvalidArgumentException;
use Doctrine\ORM\QueryBuilder;
@pravnkay
pravnkay / Readme.md
Last active May 14, 2024 08:19
Nprogress - Loading bar for VueJS Router

Installation of Nprogress for VueJS

Install nprogress.

npm install nprogress --save


Add its CSS

@gokulkrishh
gokulkrishh / media-query.css
Last active July 16, 2024 10:52
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */