Disable auto-discovery of the package in your composer.json
file:
"extra": {
"laravel": {
"dont-discover": [
"package-namespace/package-name"
]
FROM php:8.0-fpm | |
# Copy Composer: | |
COPY --from=composer /usr/bin/composer /usr/bin/composer | |
# Install PHP extensions: | |
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ | |
RUN chmod +x /usr/local/bin/install-php-extensions && \ | |
install-php-extensions zip |
#!/usr/bin/env bash | |
# Unzip Vagrant .box file: | |
tar -xf <box> -C <destination> | |
# Install 7 Zip: | |
brew install p7zip | |
# Extract VMDK: | |
7z x -y -o<destination> <vmdk> |
#!/usr/bin/env bash | |
# @see: https://superuser.com/questions/370388/simple-built-in-way-to-encrypt-and-decrypt-a-file-on-a-mac-via-command-line | |
# @see: https://askubuntu.com/questions/1093591/how-should-i-change-encryption-according-to-warning-deprecated-key-derivat | |
alias decrypt="openssl enc -d -aes-256-cbc -md sha512 -pbkdf2 -iter 1000000 -in $1 -out $2" | |
alias encrypt="openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 1000000 -salt -in $1 -out $2" |
{ | |
"require-dev": { | |
"symfony/panther": "^2.1", | |
"dbrekelmans/bdi": "^1.1" | |
} | |
} |
fdupes | |
------ | |
https://superuser.com/questions/481456/finding-and-removing-duplicate-files-in-osx-with-a-script | |
https://bbs.archlinux.org/viewtopic.php?id=265148 | |
https://askubuntu.com/questions/177346/how-to-delete-duplicate-files-with-fdupes | |
https://superuser.com/questions/386199/how-to-remove-duplicated-files-in-a-directory/691551#691551 | |
fdupes -r /Volumes/files/Photos |
<?php | |
namespace Tests\Browser; | |
use Tests\DuskTestCase; | |
class ModalTest extends DuskTestCase | |
{ | |
public function test_modal(): void | |
{ |
If you accidentally close the progress window in Finder, you can bring it back by going to Window > Show Progress Window.
# @see: https://apple.stackexchange.com/a/341906 | |
# Merge folder and all sub-folders of A and B into C. | |
ditto A C | |
ditto B C |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
:root { | |
--commas-separator: ", "; | |
--commas-last-separator: " & "; | |
} | |
ul.commas, |