Enable version php = sudo a2enmod php5.6
Disable version php = sudo a2dismod php7.3
restart = udo systemctl restart apache2
check versions enabled = ls -l mods-*/*php*
test sintaxe apache = apache2ctl configtest
change version php = sudo update-alternatives --config php
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
Vite manifest not found laravel breeze blade | |
Replace | |
@vite(['resources/css/app.css', 'resources/js/app.js']) | |
TO | |
<link rel="stylesheet" href="{{ asset('css/app.css') }}"> | |
<script src="{{ asset('js/app.js') }}"></script> |
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 | |
ini_set('display_errors',1); | |
ini_set('display_startup_erros',1); | |
error_reporting(E_ALL); | |
?> |
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 | |
// option 1, to change text site wide | |
add_filter( 'gettext', 'fs_translate_strings_1', 20, 3 ); | |
function fs_translate_strings_1( $translation, $text, $domain ) { | |
// STRING 1 | |
$translation = str_ireplace( 'My Old Text', 'My New Text', $translation ); | |
// STRING 2 | |
$translation = str_ireplace( 'Old Text', 'New text', $translation ); | |
return $translation; |
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
127.0.0.1 localhost | |
127.0.0.1 activate.adobe.com | |
127.0.0.1 practivate.adobe.com | |
127.0.0.1 ereg.adobe.com | |
127.0.0.1 activate.wip3.adobe.com | |
127.0.0.1 wip3.adobe.com | |
127.0.0.1 3dns-3.adobe.com | |
127.0.0.1 3dns-2.adobe.com | |
127.0.0.1 adobe-dns.adobe.com | |
127.0.0.1 adobe-dns-2.adobe.com |
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 | |
/** | |
* List of Microsoft office file MIME types | |
* @date 2014-07-09 | |
*/ | |
return array( | |
'doc'=>'application/msword', | |
'dot'=>'application/msword', |
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
// Function that will call your webserver | |
logToServer = function (consoleMsg) { | |
// only do this if on device | |
// if (window.cordova) { | |
let jsonTxt = customStringify(consoleMsg); | |
var xmlHttp = new XMLHttpRequest(); | |
xmlHttp.open( | |
"GET", | |
"http://wsite.localhost/console2server.php?msg=" + jsonTxt, | |
true |
"autoload": { "psr-4": { "App\": "src/" } }
composer dump-autoload
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
tcp|in|d=3306|s=seuip |
aws sesv2 delete-suppressed-destination --email-address [email protected] --region sa-east-1
NewerOlder