Skip to content

Instantly share code, notes, and snippets.

@mass6
mass6 / DTO.php
Last active March 24, 2021 09:05
Self validation DTO
<?php
use Illuminate\Support\Str;
use Illuminate\Validation\Validator;
use Illuminate\Validation\ValidationException;
use Illuminate\Support\Facades\Validator as ValidatorFactory;
/**
* Class CoreCTO
*/
@mass6
mass6 / validation.php
Created March 21, 2023 20:21
danish validation file
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
#!/usr/bin/env bash
# Build apfs-fuse on Ubuntu and mount a Mac APFS container read-only.
# Requires internet access to download packages and source code.
# Usage: bash mount-mac-apfs.sh
# Optional APFS volume index: bash mount-mac-apfs.sh 1
# The default volume index is 0. A separate Data volume may hold user files.
# Source and limitations: https://github.com/sgan81/apfs-fuse
# This driver is read-only and experimental; some compression is unsupported.
# Enter FileVault passwords only at the driver's terminal prompt, never here
# or in a public Gist. Copy recovered files onto a separate external drive.