I hereby claim:
- I am claudiodekker on github.
- I am claudiodekker (https://keybase.io/claudiodekker) on keybase.
- I have a public key ASAB8_E1VCkbFUMNPLgdKz2-uEDn6bC5MUJ5XE_1tVM2Qgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
v2gif() { | |
# Based on https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/ | |
ffmpeg="" | |
filter="" | |
palettegen="palettegen" | |
paletteuse="paletteuse" | |
while getopts "w:f:is:t:" opt; do |
<toolSet name="External Tools"> | |
<tool name="PHP CS Fixer" showInMainMenu="false" showInEditor="false" showInProject="false" showInSearchPopup="false" disabled="false" useConsole="false" showConsoleOnStdOut="false" showConsoleOnStdErr="false" synchronizeAfterRun="true"> | |
<exec> | |
<option name="COMMAND" value="/Users/claudiodekker/.composer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer" /> | |
<option name="PARAMETERS" value="--verbose fix $FilePath$" /> | |
<option name="WORKING_DIRECTORY" value="$ProjectFileDir$" /> | |
</exec> | |
</tool> | |
</toolSet> |
query ($owner: String!, $after: String) { | |
user (login: $owner) { | |
sponsorshipsAsMaintainer(first: 100, after: $after, includePrivate: true) { | |
totalCount | |
nodes { | |
sponsorEntity { | |
... on User { | |
login | |
} | |
} |
module.exports = { | |
extends: ['eslint:recommended', 'plugin:vue/recommended'], | |
parserOptions: { | |
ecmaVersion: 2020, | |
sourceType: 'module', | |
}, | |
env: { | |
amd: true, | |
browser: true, | |
es6: true, |
#!/usr/bin/env zx | |
const fs = require('fs') | |
async function getCurrentVersion() { | |
let version; | |
try { | |
version = await $`/Applications/Chromium.app/Contents/MacOS/Chromium --version` | |
} catch (e) { |
This guide will explain how to add server-side rendering (SSR) to an existing React Inertia application.
Note, if you're using the Ziggy library, you're going to run into issues with SSR. While it is technically possible to use Ziggy in SSR, it requires a bunch of extra configuration, which this guide won't cover.
Upgrade to the latest version of Inertia (version 0.9.0 or newer):
megapint() { | |
PINT=$([ -f "vendor/bin/pint" ] && echo "vendor/bin/pint" || echo "pint") | |
"$PINT" --preset laravel $@ | |
} |
<?php | |
$finder = Symfony\Component\Finder\Finder::create() | |
->notPath('bootstrap') | |
->notPath('node_modules') | |
->notPath('storage') | |
->notPath('vendor') | |
->in(__DIR__) | |
->name('*.php') | |
->notName('*.blade.php'); |