A HTML/CSS Class Naming Convention for Scalable/Modular CSS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $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('.', '..')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==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== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| ... | |
| public function switchRows(UpdateProductRowsRequest $request): JsonResponse | |
| { | |
| $input = $request->validated(); | |
| $sourceItem = $this->baseRepository->find($input['sourceId']); |
Pattern:
^([\d*]+)\.\s+((?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?)(?:\u200D(?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?))*)(\w+)Match:
11. 🧿My Title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { PointExtensions } from '@foblex/2d'; | |
| import type { IPoint } from '@foblex/2d'; | |
| import type { | |
| FCanvasChangeEvent, | |
| FCanvasComponent, | |
| FFlowComponent, | |
| } from '@foblex/flow'; | |
| /** |
OlderNewer