This file contains hidden or 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
/* | |
* 1. Clear All Localstorage | |
*/ | |
(function deleteAllLocalstorage() { | |
window.localStorage.clear(); | |
console.log('Clear All Localstorage.'); | |
})(); | |
This file contains hidden or 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
laravel-7-x-sanctum-spa-with-vuejs-always-returns-401-unauthorized | |
2 time login error in laravel, 2 time error login 2 time login error, multiple time login failed, error in laravel, login failed multiple time, laravel login login login laravel login failed | |
Solution: https://stackoverflow.com/questions/62354802/laravel-7-x-sanctum-spa-with-vuejs-always-returns-401-unauthorized | |
This file contains hidden or 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
Email not send create log in laravel | |
1. https://laracasts.com/discuss/channels/laravel/how-to-monitor-and-log-all-email-that-is-sent-out | |
2. https://stackoverflow.com/questions/42798745/laravel-mail-to-log | |
This file contains hidden or 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
config/app.php | |
https://stackoverflow.com/questions/54905292/laravel-debugger-enable-disable-depending-on-ip-address-while-caching-implemen | |
<?php | |
'debug' => env('APP_DEBUG', $_SERVER['REMOTE_ADDR'] == 'your.ip.address' ? true : false), | |
This file contains hidden or 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
<!-- Paste Disable Paste input disable paste disable into input field input field paste disable --> | |
<input type="text" onpaste="return false;" autocomplete="off" /> | |
<script> |
This file contains hidden or 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
SELECT `columnnamehere`, COUNT(`columnnamehere`) FROM `hereisyourtablename` GROUP BY `columnnamehere` HAVING COUNT(`columnnamehere`) > 1; | |
/* | |
#Output | |
Value Count | |
0 22 | |
1 26 | |
*/ |
This file contains hidden or 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
How to Enable Query Log Laravel on Anywhere | |
all query run in laravel project list created in there.... | |
https://youtu.be/-COu-wS0Ho4 |
This file contains hidden or 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
https://smarttechways.com/2021/05/27/enable-or-disable-general-log-for-sql-query-in-mysql | |
or with table | |
https://tableplus.com/blog/2018/10/how-to-show-queries-log-in-mysql.html | |
This file contains hidden or 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
I found solution....paste this code in xampp/phpmyadmin/index.php...and create newfile.txt..find finally you get ip log with date-time in newfile.txt.........best of luck!! | |
//==========ip log who accessed phpmyadmin=========== | |
date_default_timezone_set('Asia/Calcutta'); | |
$ip = getenv('REMOTE_ADDR'); | |
$time = date("Y-m-d H:i:s"); | |
$txt = $ip."=>".$time."%%%%%%%%"; |