command
and option
should be inverted as a simple modification in Karabiner
This file contains 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\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\File; | |
use Illuminate\Support\Str; | |
/** | |
* Generates a JSON file with all translations. |
This file contains 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
{ | |
"scripts": { | |
"dev": "npx esno server.ts", | |
"build": "vite build", | |
"build:ssr": "vite build --ssr", | |
"build:all": "npm run build && npm run build:ssr" | |
} | |
} |
This file contains 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 Tests; | |
/** @mixin TestCase */ | |
trait BenchmarksTests | |
{ | |
protected static array $tests = []; | |
protected function setUpBenchmark(): void |
This file contains 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
<script setup lang="ts"> | |
import { useBackForward } from '@/scripts/use-back-forward' | |
const { reloadOnBackForward } = useBackForward() | |
// When the page component is loaded, if it's a visit made with the "back" or "forward" | |
// browser functionality, the page will reload. You can optionally pass options to Inertia. | |
reloadOnBackForward({ | |
only: ['quotations'], | |
}) |
This file contains 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 { VisitOptions } from '../router' | |
import { useForm as useSlimeForm, UseFormBuilder, UseFormRule } from 'slimeform' | |
import { reactive, readonly, ref, UnwrapNestedRefs } from 'vue' | |
import { router } from '../router' | |
type SubmitFunctionParameters = Omit<VisitOptions, 'data'> | |
interface FormOptions<FormT extends {}> extends Omit<VisitOptions, 'data'> { | |
timeout?: number | |
/** Target URL. */ |
This file contains 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 type { Plugin } from 'vite' | |
const PLUGIN_NAME = 'vite:inertia:layout' | |
const TEMPLATE_LAYOUT_REGEX = /<template +layout(?: *= *['"](?:(?:(\w+):)?(\w+))['"] *)?>/ | |
export default (): Plugin => ({ | |
name: PLUGIN_NAME, | |
transform: (code: string) => { | |
if (!TEMPLATE_LAYOUT_REGEX.test(code)) { | |
return |
This file contains 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\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\File; | |
use Tightenco\Ziggy\Ziggy; | |
class GenerateRoutesCommand extends Command | |
{ |
This file contains 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
<script setup lang="ts"> | |
import { useNotifications } from '~/ts/notifications/notifications' | |
const { notifications, dismiss } = useNotifications() | |
</script> | |
<template> | |
<div aria-live="assertive" class="flex fixed inset-0 z-40 items-end py-6 px-4 pointer-events-none sm:items-start sm:p-6"> | |
<div class="flex flex-col items-center space-y-4 w-full sm:items-end"> | |
<TransitionGroup |
This file contains 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
{ | |
"description": "The settings in this file are persisted server-side. This file is generated automatically. Editing it is not recommended. Modify SettingsToPersist.json to specify which settings are persisted.", | |
"files": [ | |
{ | |
"name": "Game.cfg", | |
"sections": [ | |
{ | |
"name": "Accessibility", | |
"settings": [ | |
{ |