Skip to content

Instantly share code, notes, and snippets.

View phpfact's full-sized avatar
🎯
Focusing

Sachin Sharma phpfact

🎯
Focusing
View GitHub Profile
# please wait popup popup model please wait please wait please wait popup model, please wait popup flag
<script>
function showPleaseWait() {
if (document.querySelector("#pleaseWaitDialog") == null) {
var modalLoading = '<div class="modal" id="pleaseWaitDialog" data-backdrop="static" data-keyboard="false" role="dialog">\
<div class="modal-dialog">\
<div class="modal-content">\
<?php
// Query builder codeigniter 4 model query sample code query learning codeignitor learning
namespace App\Models\Student;
use CodeIgniter\Database\ConnectionInterface;
use CodeIgniter\Model;
class AdminModel extends Model
{
Table column name with comma seprated mysql table
SELECT GROUP_CONCAT(column_name ORDER BY ordinal_position)
FROM information_schema.columns
WHERE table_schema = 'DATABASE_HERE' AND table_name = 'TABLE_HERE'
# id,country_code,country_name
Open in URL intitle:index.of?mkv of MOVIE_NAME_HERE_AND_HIT_URL (intitle:index.of?mkv of conjuring 2)
https://indexoftvseries.com/sacred-games-download/
intitle:index.of?mkv of sacred games season 1 episode 1
https://www.nollyverse.com/serie/sacred-games/season-1
timezone with javascript time zone in php
<!-- Blade File -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.19.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.13/moment-timezone-with-data.js"></script>
<input type="hidden" name="timezone" id="timezone">
@echo off
cd "E:\xampp_2022\htdocs\mt5-satoshifx"
//cd
//@pause
php artisan config:clear
php artisan config:cache
Solution : 1) config\installer.php (Open this file)
2) Rule::in(['true', 'false']), (Comment this line)
<?php
/*
* Coreconstant File
*/
const ERROR_REPORTING = TRUE;
const DEFAULT_ERROR_REPORTING = 'SOMETING WENT WRONG';
<input value="{{$google2fa_secret}}" type="text" class="form-control" id="2faCodecopy" name="code">
<span class="fa fa-clone" id="2faCodecopyBTN"></span>
<?php
// Source File: app\Exceptions\Handler.php
public function render($request, Exception $exception)
{
...
/* ========= [ Developer Custom Exception Log :: START ] ========= */