Pattern:
^([\d*]+)\.\s+((?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?)(?:\u200D(?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?))*)(\w+)Match:
11. 🧿My Title
Pattern:
^([\d*]+)\.\s+((?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?)(?:\u200D(?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?))*)(\w+)Match:
11. 🧿My Title
| <?php | |
| ... | |
| public function switchRows(UpdateProductRowsRequest $request): JsonResponse | |
| { | |
| $input = $request->validated(); | |
| $sourceItem = $this->baseRepository->find($input['sourceId']); |
A HTML/CSS Class Naming Convention for Scalable/Modular CSS.
| // ==UserScript== | |
| // @name Webpack Error Screen Light Mode | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author EgoistDeveloper | |
| // @match http://localhost:4200/* | |
| // @icon https://cdn-icons-png.flaticon.com/512/7979/7979660.png | |
| // @grant none | |
| // ==/UserScript== |
| <?php | |
| // https://image.intervention.io/v2/api/trim | |
| use Intervention\Image\ImageManager as Image; | |
| $imagePath = storage_path('app\public\product\images\testa.jpg'); | |
| $newPath = public_path('testa.jpg'); | |
| $image = new Image(); | |
| $res = $image->make($imagePath)->trim('top-left', null, 50, 30)->save($newPath); |
| $models3dPath = __DIR__ . '/./img/3d-models'; | |
| $models3dList = null; | |
| if (!file_exists($models3dPath)) { | |
| mkdir($models3dPath, 0775, true); | |
| } | |
| if (file_exists($models3dPath)) { | |
| $files = scandir($models3dPath); | |
| $files = array_diff($files, array('.', '..')); |
| <?php | |
| namespace App\Traits; | |
| use Illuminate\Support\Facades\Storage; | |
| use Symfony\Component\HttpFoundation\StreamedResponse; | |
| trait StorageTrait | |
| { | |
| /** |
| // clear comment tags regex | |
| ([ \n]+.|\n)?<!--[ ]+(.*)--> | |
| // https://regex101.com/r/W6GLaQ/1 |
| /* eslint-disable no-var */ | |
| /* eslint-disable @typescript-eslint/no-unused-vars */ | |
| import { HttpService } from '@nestjs/axios'; | |
| import { Controller, Get, Param } from '@nestjs/common'; | |
| import { HTMLElement, Node, NodeType, parse } from 'node-html-parser'; | |
| import { catchError, map, Observable, of } from 'rxjs'; | |
| import puppeteer from 'puppeteer'; | |
| @Controller('unicode') | |
| export class UnicodeController { |