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
#!/bin/bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Search on Brave | |
# @raycast.mode compact | |
# @raycast.argument1 { "type": "text", "placeholder": "query", "percentEncoded": true } | |
# Optional parameters: | |
# @raycast.icon images/icon-brave.png |
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
{ | |
"clips": [ | |
{ | |
"content": "/** @var ${1:class/type} ${2:description} */", | |
"name": "Var Documentation", | |
"scope": "editor", | |
"syntax": "php", | |
"trigger": "@var" | |
}, | |
{ |
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
{ | |
"extensionCommands" : { | |
"sublime-merge.blame" : { | |
"shortcut" : "alt-ctrl-b" | |
} | |
}, | |
"menuItems" : { | |
"AddCursorsAtEndOfLine" : { | |
"shortcut" : "cmd-shift-l" | |
}, |
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
#!/usr/bin/env lua | |
--[[ | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Copy Random Lorem Ipsum | |
# @raycast.mode silent | |
# @raycast.packageName Developer Utilities | |
# Optional parameters: |
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
// npm i -D @types/tailwindcss | |
import type { TailwindConfig } from 'tailwindcss/tailwind-config'; | |
import type DefaultTheme from 'tailwindcss/defaultTheme'; | |
type Tailwind = TailwindConfig & { theme: { extend: typeof DefaultTheme } }; | |
export default { | |
darkMode: 'class', | |
content: [ | |
'./components/**/*.{js,vue,ts}', |
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
fastmod -F '@return \Illuminate\Http\Response' '@return \Illuminate\Contracts\Support\Responsable' app/Http/Controllers |
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
CREATE TABLE t ( | |
id integer PRIMARY KEY autoincrement, | |
data text | |
); | |
INSERT INTO my_objects (data) values('{"foo": "value", "bar": "other value"}'), ('{"foo": "baz", "bar": "qux"}'); | |
ALTER TABLE my_objects ADD COLUMN foo text GENERATED always AS (json_extract(data, $.foo)) virtual; | |
SELECT * FROM my_objects; |
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\Snapshots; | |
use Illuminate\Http\Resources\Json\JsonResource; | |
use Spatie\Snapshots\MatchesSnapshots; | |
use Tests\TestCase; | |
use Illuminate\Foundation\Testing\WithFaker; | |
use Illuminate\Foundation\Testing\RefreshDatabase; | |
use App\Models\User; |
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
{{-- | |
File: resources/views/vendor/scribe/partials/example-requests/axios.md.blade.php | |
--}} | |
@php | |
use Knuckles\Scribe\Tools\WritingUtils as u; | |
/** @var Knuckles\Camel\Output\OutputEndpointData $endpoint */ | |
@endphp | |
```javascript | |
const instance = axios.create({ | |
baseURL: '{{ rtrim($baseUrl, '/') }}', |
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\Traits; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Support\Str; | |
/** | |
* Handles the logic for settings slugs | |
*/ |