
Suppose you find yourself in a situation where you need to disable or intercept a console command in Laravel. This tutorial will primarily focus on how to intercept the php artisan migrate command. We'll delve into the command method app/Console/Keel.php and explore how to prevent the migrate command from executing any actions. Inside the command method of app/Console/Keel.php In Laravel 11 use routes/console.php Intercept command You can intercept php artisan migrate and, instead, catch it an...
ادامه مطلب
Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ...
ادامه مطلب
The startup priority in Windows is as follows, listed from first to start to last to start: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunonce HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindowsRun HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunOnce SystemDriveDocume...
ادامه مطلب
Sometimes my mouse accidentally moves too low, and gets over the taskbar while I am trying to scroll, which results in the active window being replaced by the next one, i.e. the next window pops up and covers my focal one. Note, that I'm not talking about scrolling among icons in a crowded taskbar that only show a fraction of windows (as can be seen in this image), neither about this issue, but about the fact that when I move my mouse wheel while being over the taskbar the next window will pop u...
ادامه مطلب
windows 10 x64 pro, Asus z170p, BIOS version old. AMD graphics card. As you all are facing, I am facing the beta graphics driver-secure boot problem after windows 10 anniversary update, seems like microsoft hates non-WHQL drivers and I can't properly install beta drivers in windows 10 anymore. So I need to disable secure boot. But I can not disable secure boot from BIOS, the option is grayed out in BIOS. I even tried Windows->Settings Menu-> Update->Advance Startup->Troubleshoot->...
ادامه مطلب
I am using a self-generated certificate for my mail server to which I connect through SSL/TLS. Due to the self-generated certificate which I have not added to the Windows certificate store, Thunderbird asks me to add an exception for this certificate in order to use it. So far, things went fine for years. Today, Thunderbird presented me a dialog to add an exception for my email certificate. Of course I was surprised and looked into the certificate details. It shows "ESET SSL Filter CA" in the ch...
ادامه مطلب
Typically I'm using MikroTik embeded routers, they're basing on Linux so their firewall settings feel pretty much 1:1 the same as iptables, just commands are a bit different but mechanics the same. Some more advance MTK firewall functionality with raw iptables can be achieved using -m extensions - like connection states or comments for example. I can't find disable option in raw iptables. Is there any iptables extension that allows to temporarily disable iptables rules? By temporarily I mean dis...
ادامه مطلب
Just noticed something as I was playing around with the Startup folder of the Default user in both Windows 8.1 and Windows 10: For some reason, on all of my installs of Windows 10, the Default user's startup folder does not exist where it should be, C:UsersDefaultAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup, whereas in Windows 8.1 it exists. I've seen on the web that it apparently was replaced with C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp starting in Win7, but I have thi...
ادامه مطلب
I'm having a weird problem, I've tried 3 different versions of VS Code 1.2, 1.3 1.4 and all are experiencing the same problem. One of the VSCode background processes hogs the CPU making the IDE very slow. I have not loaded any project, just starting VSCode causes the problem: Task Manager Screen shot Let's block ads! بخوانید...
ادامه مطلب
Firefox 50's release notes: Emoji for everyone! Firefox will use built-in Emoji on operating systems without native Emoji fonts (Windows 8.0 and lower and Linux) So I'm on Windows 7 and I absolutely dislike colored emoji for how much distracting they are. There is no font file called "EmojiOne Mozilla" to delete from Windows' fonts folder, unfortunately. And there is no relevant option in about:config list I could find. How do I disable colored emoticons? Let's block ads! بخوانید...
ادامه مطلب
I have two HP Z27s 4k monitors connected via DisplayPort to my hp PC running Windows 7. Due to issues related to font scaling, I've been running both for at least a month at 2560x1440 without significant problems. [I was getting some random banding that powering the monitor off and on fixed.] Today, one of the monitors started flickering ~2"-tall horizontal bands of noise at random places on the screen. In an effort to fix that, I set the Refresh rate to 30 Hz (it was 59 Hz on both monitors). Wh...
ادامه مطلب
I've installed a trial copy of MS Project 2010 on Windows 10 the other day, completed a task then uninstalled it, using the System settings dialog for programs and features. Now a few days later, Windows Update wants to install updates for Office 2010, such as Service Pack 2. I however have no Microsoft Office products installed in this machine, not currently and not before. How can I keep Windows Update from trying to update an install that's supposed to be not there? I've found proposed soluti...
ادامه مطلب
I've enabled a disk partition of around 8 GB to be dedicated for ReadyBoost. Windows keep waing me about that disk running out of space (Low Disk Space). How do I tu off that waing for THAT disk and ONLY that disk. I DO want that waing, I do not want it for that disk I specifically instructed windows to completely fill. I find it absurd that a Windows feature meant to completely fill a disk cause an annoying waing that you can't disable. Let's block ads! بخوانید...
ادامه مطلب
I am very new to this world. I have an ARM SoC and would like to choose a startup environment. What are things to consider? The two choices provided by the vendor are u-boot and UEFI. Is one easier to modify than the other? ...
ادامه مطلب
I have install nginx on ubuntu server. I am trying to open link Ex. http://yourserver.com/folder-name in folder-name having bulk data. while accessing link i am getting below error. [error] 30965#0: *3728 recv() failed (104: Connection reset by peer) while reading response header from upstream, Let's block ads! بخوانید...
ادامه مطلب
following is the link which I am trying to open in my Windows 8.1 laptop. http://navbharattimes.indiatimes.com/business/business-news/why-constitutional-amendment-for-gst/articleshow/53516496.cms?utm_source=facebook.com&utm_medium=referral&utm_campaign=GSTConst030816 Now whenever I open above link on Chrome I get following screen, How do I get rid of this problem and be able to read the articles as usual. I don't have any adblocker installed on my laptop. I have following extensions ho...
ادامه مطلب
I have a dial-up connection with a provider whose DNS server is offline erratically. When I change my DNS using the usual method with the Network and Sharing Center to Google DNS, it asks me to reconnect to apply the changes, but when I do so, everything is cleared. I have also used an app called DNS Jumper but that didn't work either. I would appreciate it if anyone could help me solve this issue. Thanks in advance. Let's block ads! بخوانید...
ادامه مطلب
After upgrading to Windows 10 I am encountering problems with frequent loss of (inteet) network (one problem is Network on home computer gets lost, adapter should be disabled/enabled to restore network access). I am solving this loss with disable/enable on 'Local are connection'. However somtimes disable completes succesfully and adapter is disabled but it is impossible to enable it again - any repeated call to 'enable' does nothing, adapter remains disabled. The last solution is restart of comp...
ادامه مطلب
I don't have any software to use. Help please what am I doing wrong.I have tried to create a user and it tells me can't find user. ...
ادامه مطلب
So, I have a dell laptop that was running Windows Vista Home Premium. I started installing Windows 7 Professional. However, it was hanging on "Completing Installation", and I read somewhere to hard reset it. Huge mistake. Now it will not boot at all. The setup manager keeps saying it needs to restart, and all I can press is "OK". And there is no repair option under the boot menu. Whenever I try to boot from the usb, I just get a black screen with a cursor. I can, however, access the command prom...
ادامه مطلب