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 {{ $attributes }} x-data="{ visible: true }" x-show="visible" x-cloak> | |
| <div class="relative w-full overflow-hidden rounded-xl border border-red-600 bg-white text-slate-700 dark:bg-slate-900 dark:text-slate-300" | |
| role="alert"> | |
| <div class="flex w-full items-center gap-2 bg-red-600/10 p-4"> | |
| <div class="rounded-full bg-red-600/15 p-1 text-red-600" aria-hidden="true"> | |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="size-6" | |
| aria-hidden="true"> | |
| <path fill-rule="evenodd" | |
| d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94 8.28 7.22Z" | |
| clip-rule="evenodd" /> |
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
| [x-cloak], | |
| [x-cloak]>* { | |
| display: none !important; | |
| } | |
| [x-cloak]::before { | |
| content: "loading\2026"; | |
| } |
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
| 'use client'; | |
| import { ErrorBoundary } from 'react-error-boundary'; | |
| import type { ErrorInfo } from 'react'; | |
| import type { ErrorBoundaryProps, FallbackProps } from 'react-error-boundary'; | |
| import { Button } from '@components/Button'; | |
| const logError = (error: Error, info: ErrorInfo) => { | |
| console.error({ error, info }); |
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
| // USAGE: | |
| // x-data="{ direction: 'up' }" x-scrolled.up="direction = 'up'" x-scrolled.down="direction = 'down'" | |
| Alpine.directive( | |
| 'scrolled', | |
| (_, { modifiers, expression }, { evaluateLater, cleanup }) => { | |
| const results = evaluateLater(expression); | |
| let scrollPos = 0; | |
| const handler = () => { |
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\View\Components; | |
| use Closure; | |
| use Illuminate\Contracts\View\View; | |
| use Illuminate\View\Component; | |
| class Card extends Component | |
| { |
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
| [opcache] | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.jit_buffer_size=100M | |
| opcache.jit=tracing |
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 | |
| use Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Support\Facades\DB; | |
| return new class extends Migration | |
| { | |
| /** | |
| * Run the migrations. | |
| */ |
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 | |
| /** @see https://twitter.com/AshAllenDesign/status/1786037324775633109 */ | |
| test('strict types are used everywhere') | |
| ->expect('App') | |
| ->toUseStrictTypes(); | |
| test('globals') | |
| ->expect(['dd', 'ddd', 'die', 'dump', 'ray', 'sleep']) |
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
| { | |
| "ti": "AAAABBBBCCCCDDDD_ZZZ", | |
| "cn": "Example ION File", | |
| "dt": "11", | |
| "ci": "AAAABBBBCCCCDDDD_ZZZ~fioUStyk923dTK4y7iXdBwVjTBYEunBtd9GpEigvBf9", | |
| "cs": "gkBdyWByfHiOwteD-vQn9jb7pudublgsI9kW4fiPhzsOi2lFKIttCzy5ofiiyMQqgSjpuS3GRDtMHbLbj_fexq", | |
| "iu": "https://mingle-ionapi.inforcloudsuite.com", | |
| "pu": "https://mingle-sso.inforcloudsuite.com:443/AAAABBBBCCCCDDDD_ZZZ/as/", | |
| "oa": "authorization.oauth2", | |
| "ot": "token.oauth2", |
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
Show hidden characters
| /* | |
| On OS X, basic text manipulations (left, right, command+left, etc) make use of the system key bindings, | |
| and don't need to be repeated here. Anything listed here will take precedence, however. | |
| */ | |
| [ | |
| { "keys": ["super+shift+n"], "command": "new_window" }, | |
| { "keys": ["super+shift+w"], "command": "close_window" }, | |
| { "keys": ["super+alt+shift+n"], "command": "new_os_tab" }, | |
| { "keys": ["ctrl+alt+tab"], "command": "next_os_tab" }, | |
| { "keys": ["ctrl+alt+shift+tab"], "command": "prev_os_tab" }, |