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
| /* ==UserStyle== | |
| @name Laravel Docs | |
| @namespace geekish.dev | |
| @version 1.0.0 | |
| @description Fixes the TOC to the right | |
| @author Hannah Chartier <[email protected]> (https://geekish.dev) | |
| ==/UserStyle== */ | |
| @-moz-document url-prefix("https://laravel.com/docs") { |
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 { createId } from "@paralleldrive/cuid2"; | |
| import type { AnyPgColumn, PgEnum } from "drizzle-orm/pg-core"; | |
| import { varchar } from "drizzle-orm/pg-core"; | |
| export const idColumn = () => varchar("id", { length: 255 }).notNull().primaryKey().$defaultFn(() => createId()); | |
| export const foreignIdColumn = (name: string) => varchar(name, { length: 255 }).notNull(); | |
| export const foreignId = (name: string, column: AnyPgColumn) => foreignIdColumn(name).references((): AnyPgColumn => column); | |
| export const morphId = (morphName: string) => varchar(`${morphName}_id`, { length: 255 }).notNull(); | |
| export const morphType = (morphName: string, type: PgEnum<[string, ...string[]]>) => type(`${morphName}_type`).notNull(); |
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
| [ | |
| { | |
| "key": "ctrl+r", | |
| "when": "findWidgetVisible && !replaceActive", | |
| "command": "editor.action.startFindReplaceAction" | |
| } | |
| ] |
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
| <template> | |
| <main class="min-w-screen bg-purple-500 text-purple-700 text-xs min-h-screen flex items-center justify-center"> | |
| <div class="bg-purple-700 p-3 rounded-lg border-2 border-t-purple-600 border-x-purple-800 border-b-purple-900 shadow-lg"> | |
| <div class="p-1 bg-purple-900 rounded overflow-hidden"> | |
| <div class="flex space-x-[2px]"> | |
| <div | |
| v-for="key in keys" | |
| v-if="key.row === '1'" | |
| :key="key.label" | |
| class="h-10 min-w-10" |
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
| if-shell "[[ ! -d ~/.tmux/plugins/tpm ]]" \ | |
| 'run-shell "mkdir -p ~/.tmux/plugins/tpm"; \ | |
| run-shell "git clone https://github.com/tmux-plugins/tpm.git ~/.tmux/plugins/tpm"' | |
| # set Zsh as your default Tmux shell | |
| set-option -g default-shell /usr/bin/zsh | |
| # Tmux should be pretty, we need 256 color for that | |
| set -g default-terminal "screen-256color" |
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
| '.text.html.statamic': | |
| 'antlers-404': | |
| 'prefix': '404' | |
| 'body': '{{ 404 }}$0' | |
| 'antlers-asset': | |
| 'prefix': 'asset' | |
| 'body': '{{ asset url="${1:path}" }}' | |
| 'antlers-assets-container': | |
| 'prefix': 'assets' | |
| 'body': '{{ assets container="${1:handle}" }}\n\t${2:}\n{{ /assets }}$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
| export LANG=en_US.UTF-8 | |
| source $HOME/antigen/antigen.zsh | |
| antigen use oh-my-zsh | |
| antigen bundle jessarcher/zsh-artisan | |
| antigen bundle zsh-users/zsh-autosuggestions | |
| antigen bundle zsh-users/zsh-completions | |
| antigen bundle zsh-users/zsh-history-substring-search |
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
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| insert_final_newline = true | |
| indent_style = space | |
| indent_size = 2 | |
| trim_trailing_whitespace = true |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>io.gitea.web</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>sh</string> | |
| <string>-c</string> |
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
| # Default server, with a "hello world" page & phpinfo. | |
| server { | |
| listen 80 default; | |
| server_name localhost; | |
| root /usr/local/var/www/default; | |
| index index.php; | |
| error_log /usr/local/var/log/nginx/default.error.log; |
NewerOlder