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
| class ImportFlamingoEntries | |
| { | |
| public $db; | |
| public $form; | |
| public $tags; | |
| public $track; | |
| public $vxcf; | |
| public $imported = 0; |
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 | |
| $copyright = 'Copyright 2020, Acme Inc.'; // copyright info of PDF file | |
| $pdfPath = '/document.pdf'; // path to PDF file | |
| $pdfTitle = 'Embedded PDF'; // title of PDF document | |
| ?><!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
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
| body.debug::before { | |
| @apply .bg-gray-900; | |
| @apply .fixed; | |
| @apply .font-mono; | |
| @apply .leading-none; | |
| @apply .left-0; | |
| @apply .pointer-events-none; | |
| @apply .px-2; | |
| @apply .py-1; | |
| @apply .text-white; |
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
| <div class="size-{{ grid_size }} gap-4 grid | md:grid-cols-12 | xl:gap-6"> | |
| {{ assets:images }} | |
| <figure class="| md:{{ grid_columns }}"> | |
| {{ responsive:url glide:width="1200" :ratio="image_ratio" }} | |
| {{ if alt }} | |
| <figcaption>{{ alt }}</figcaption> | |
| {{ /if }} | |
| </figure> | |
| {{ /assets:images }} | |
| </div> |
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 | |
| namespace App\Modifiers; | |
| use Illuminate\Support\Str; | |
| use Statamic\Modifiers\Modifier; | |
| class IsLocalUrl extends Modifier | |
| { | |
| /** |
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
| <div x-data="{ show: !localStorage.getItem('hide-popup') }"> | |
| <div x-show="show"> | |
| <button @click="localStorage.setItem('hide-popup', true); show = false"> | |
| close | |
| </button> | |
| </div> | |
| </div> |
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 | |
| namespace App\Jobs; | |
| use Illuminate\Support\Arr; | |
| use Illuminate\Support\Collection; | |
| use Spatie\ResponsiveImages\Jobs\GenerateImageJob; | |
| class GenerateImageKitJob extends GenerateImageJob | |
| { |
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 { SwiperInstance, SwiperPlugin } from '../core/index' | |
| import { Options } from '../core/options' | |
| export default <SwiperPlugin>function SwiperPluginBreakpoints ( | |
| instance: SwiperInstance, | |
| options: Options, | |
| ) { | |
| const isEnabled = Boolean(options.breakpoints) | |
| if (!isEnabled) return |
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
| export function Debounce (fn: Function, wait = 200) { | |
| let timerId: number | |
| let lastArgs: Array<any> | undefined | |
| let lastCallTime: DOMHighResTimeStamp | |
| let lastThis | |
| let result | |
| const startTimer = (pendingFunc: FrameRequestCallback) => { | |
| cancelAnimationFrame(timerId) | |
| return requestAnimationFrame(pendingFunc) | |
| } |
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 | |
| namespace Valet\Drivers\Custom; | |
| use Valet\Drivers\Specific\WordPressValetDriver; | |
| class MultisiteValetDriver extends WordPressValetDriver | |
| { | |
| /** | |
| * Get the fully resolved path to the application's front controller. |