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 { generateClasses } from '@formkit/themes'; | |
import { defaultConfig } from '@formkit/vue'; | |
const textClassification = { | |
outer: '', | |
wrapper: '', | |
inner: 'join', | |
help: '', | |
message: '', | |
label: 'label', |
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
{ pkgs ? import <nixpkgs> { } }: | |
let | |
# Provide a script to start the Docker service. | |
daemonServiceScript = | |
pkgs.writeScript "check-daemon-service" '' | |
#!${pkgs.runtimeShell} | |
echo "Checking Docker service..." |
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
# Archives | |
*.7z filter=lfs diff=lfs merge=lfs -text | |
*.br filter=lfs diff=lfs merge=lfs -text | |
*.gz filter=lfs diff=lfs merge=lfs -text | |
*.tar filter=lfs diff=lfs merge=lfs -text | |
*.zip filter=lfs diff=lfs merge=lfs -text | |
# Documents | |
*.pdf filter=lfs diff=lfs merge=lfs -text |
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; | |
/** | |
* Init | |
*/ | |
add_action('acf/init', function () { | |
// Use Google API key from .env | |
acf_update_setting('google_api_key', GOOGLE_API_KEY); |
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
composer require "wpackagist-plugin/better-wp-security" \ | |
"wpackagist-plugin/breeze" \ | |
"wpackagist-plugin/classic-editor" \ | |
"wpackagist-plugin/iwp-client" \ | |
"wpackagist-plugin/redis-cache" \ | |
"wpackagist-plugin/safe-redirect-manager" \ | |
"wpackagist-plugin/simple-page-ordering" \ | |
"wpackagist-plugin/user-switching" \ | |
"wpackagist-plugin/widget-css-classes" \ | |
"wpackagist-plugin/wordpress-seo" \ |
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 | |
if (! function_exists('asset_busted')) { | |
/** | |
* Generate an asset path with modification time query string. | |
* | |
* @param string $path | |
* @param bool|null $secure | |
* @return string | |
*/ |
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
UPDATE `organisations` | |
SET `description` = CASE id | |
WHEN 1 THEN 'something' | |
WHEN 2 THEN 'something else' | |
WHEN 3 THEN 'we\'re on the third record still' | |
WHEN 5 THEN 'we\'ve jumped to record five' | |
WHEN 6 THEN '...' | |
ELSE NULL | |
END |
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 | |
use Illuminate\Http\File; | |
use Storage; | |
/** | |
* Load contents of file into memory and copy. Slower, but can copy from | |
* remote disks. | |
* | |
* @return 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
/** | |
* Dynamically add mailcheck to specified input fields on page load. | |
* To use this, add the `mailcheck` class to your input elements. | |
* Optionally use a `data-mc-hint-class` attribute to customize the class used for the hints. | |
* See https://github.com/mailcheck/mailcheck for more | |
*/ | |
import mailcheck from 'mailcheck' | |
import _ from 'lodash' |
NewerOlder