Disable auto-discovery of the package in your composer.json
file:
"extra": {
"laravel": {
"dont-discover": [
"package-namespace/package-name"
]
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\HttpKernel\Exception\HttpException; | |
class PreventMaxInputVarTruncation |
<a href="#">I am a link.</a> | |
<script> | |
document.addEventListener('DOMContentLoaded', () => { | |
const a = document.querySelector('a'); | |
['load', 'click'].forEach((type) => { | |
a.addEventListener(type, (event) => { | |
event.preventDefault(); | |
console.log(event.type); | |
}); |
<?php | |
namespace Tests; | |
use App\Controllers\MyController; | |
use Illuminate\Http\Response; | |
use Illuminate\Http\Request; | |
use Tests\TestCase; | |
class MyTest extends TestCase |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style> | |
div.filters { | |
background: #999; | |
display: grid; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<style> | |
div.date-input:has(input:disabled) { |
#!/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 |