
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 and use a closure. Artisan::command('migrate', function () { // }); This would essentially stop the migrate command from doing anything. You could then print a message out: Artisan::command('migrat...
ادامه مطلب
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 Let's block ads! بخوانید...
ادامه مطلب
I have 2 crucial sticks in my ASUS P8Z68-V LX atm. I'd like to go to 8GB and wanted to know if the lower voltage Kingston sticks would be compatible? ...
ادامه مطلب
Let's say I work for XYZ Ltd and our email addresses are [email protected] . I have three colleagues [email protected]. [email protected], [email protected] . However I get spam with spoofed sender addresses say (apparently) from [email protected] and [email protected] and other obviously randomly generated names. So can I create an Outlook rule to only allow the three or four valid names from the domain and spam folder the rest? Let's block ads! بخوانید...
ادامه مطلب
I have a room full of machines that I have been upgrading from home to pro (Windows 10). All machines that are NOT aiversary update 1607 can be joined to a domain with no issues. All that are the aiversary update will allow me to join to the domain and it restarts and asks for the useame and password. Put in my credentials and it provides a generic "caot log you in" error message. I've also noticed lusrmgr.msc is missing (Local users and groups) in all of these 1607 upgrades. The earlier build -- no issues and lusrmgr is available. It's my understanding pro should be able to be joined to a domain. Is this not the case? Thanks ahead of time! :) Let's block ads! بخوانید...
ادامه مطلب
Ok, I already read how to swap fn / ctrl in bios. I enter bios, then go to Keyboard / Mouse, then Enabled Fn and Ctrl Key swap and also enabled fn key as primary function. Success. Now I can easily do f1-f12 without use fn key, that's good, can use ctrl f3 (or fn f3 actually because already swapped) example to increase sound. But.... still have issue, how do I click ctrl + f9 real (example in some IDE / editor, if you want to compile, you have to press ctrl + f9), but ctrl + f9 will trigger 'setting' or gear icon in my notebook (that mean is after swap fn / ctrl, if i click ctrl f3 or fn f3 the result will be same, fn f3). This is a big problem for me, since I am do many ctrl + f1-f12 key an...
ادامه مطلب
I caot understand what should I write to the terminal according to step 4 here. Can you help me please? ...
ادامه مطلب
Is that possible? Would it be possible to simply run the 1600 MHz module on a slower speed (e.g. 1333 MHz)? ...
ادامه مطلب
I just bought a new Lenovo Thinkpad Yoga 14, and Office 2016 which includes Outlook 2016. I've have to different email accounts added. When I click on one or the other, a page flashes (see the attached pic). I hope you can see the picture through the link. I appreciate any input. Thanks, Kathy Henter image description here Let's block ads! بخوانید...
ادامه مطلب
I run a ubuntu nas with raid6, mdstat does not indicate that anything is wrong, but when i try to read files on the raid volume, i am only able to read about 1/4 of the file, and the file transfer fails/freezes. I have tried multiple ways of reading files on the array (copy, ftp, http lamp server, but it always fail. The same happens to every file i try to read. The raid array have been ruing for months with no problems, and i cant seam to find what is wrong. I hae also done a memory test which found no errors. Could this be dead harddrives that have not been detected by mdadm? Here is the output of mdstat: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10...
ادامه مطلب
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 up without me clicking on its taskbar icon. Is it possible to disable scrolling behaviour in the Windows 7 taskbar? Let's block ads! بخوانید...
ادامه مطلب
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 aiversary 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->Restart-> UEFI FIRMWARE SETTINGS. The option is still grayed out. So I wonder how I can disable secure boot. Do I have to do anything with the Secure Boot Keys? Let's block ads! بخوانید...
ادامه مطلب
Currently I was making some graphs and manipulating some data. It looks pretty good so far. Problem is : I left my work computer at work, and need to have some graphs tommorow. The work computers generally all have Excel 2007. I was having some problems earlier today making the graph on my work computer and got home and dabbled around and finally got my desired graph. Now I'm not sure whether or not this is because Excel 2016 optimizes some things better, or I just formatted my data much better. Is there a way I can "test" how my graph and data would look if I opened it in Excel 2007, without actually having it? I dont see .xls Let's block ads! بخوانید...
ادامه مطلب
I am using a self-generated certificate for my mail server to which I coect 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 chain, which is a clear indicator that this change is related to the upgrade of ESET NOD32 virus scaer to version 9 I performed yesterday. A similar question for Avast suggests that this is not much of an...
ادامه مطلب
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 coection 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 disabling rule without actually removing it from table so that it's still visible in iptables -L but not functional. In MTK you can type something like set 40 disabled=yes and then later set 40 disabled=no...
ادامه مطلب
So as the title says, I bricked my laptop. I'm not that good at explaining but let me try. I reformatted my laptop and installed the drivers given by the acer support, driver and manual site. and noticed my speakers aren't working. I opened my laptop to check if the speakers are still okay or the pins might have been discoected. So it was still okay, after a couple of minutes searching, I found out I needed to update my BIOS. and so I did (yes I checked the version first). everything was doing well as plaed except for some reason there was an error on memory block 0xFFFFF100. it didn't give me any more details except Error on Memory Block 0xFFFFF100 and decided to shut it self down. I re sta...
ادامه مطلب
After 3 years of use, Windows indicates a problem with the BIOS and the machine is unable to boot with a linux rescueCD. Attempts to upgrade the BIOS indicate success, however, the machine does not seem to boot the BIOS. Monitor indicates no signal If the BIOS is foobar, what can be done to correct or re-install? What diagnostic can be performed? Procedures / actionable suggestions are appreciated. Let's block ads! بخوانید...
ادامه مطلب
BACKGROUND HP DC7600 Desktop circa 2005: received in 2012 Symptoms are new and have not been observed before Symptoms observed with 2 different SATA disks Boot from USB stick fail: boots from HDD Fails to boot with sysrescueCD 0.3.5. => Blinking Keyboard: Caps and Scroll Lock LEDs Screenshot: SYMPTOMS BIOS SETTINGS Because the BIOS settings have not been problematic in the last 3 years I do not think they are the problem, however, if they are a problem: QUESTIONS REQUESTS Are there any other additional test / diagnostics to determine root cause of problem? If you have seen / solved this problem please indicate this in your response If your diagnosis is mapped to corrective action alre...
ادامه مطلب
I have a Dell Latitude E6540, Windows 7 Pro SP1; installed programs list includes "Intel(R) PROSet/Wireless Software for Bluetooth(R) Technology". If I right-click on that in Control Panel / Programs and Features, I get options for "Change" and "Repair". If I choose "Repair", it operates for a couple of minutes, then tells me that "Bluetooth Device Monitor failed to start"; it suggests I ensure that I have sufficient privilege to start system services (which I do; I run out of an admin account all the time on this machine). It then notifies me it is "backing out" of the installation, and informs me that it did not complete successfully. If I select the option for "Repair", it asks me if I wa...
ادامه مطلب
Since upgrading to 1607, i have lost the ability to access a few of my USB drives, most spessifically and urgently, my Garmin Foreruer 15 GPS watch. The motherboard is an ASUS Sabertooth 990fx with the AMD 990FX/SB950 chipset. I have tried the watched plugged in to USB2 and USB3 ports. I have the latest drivers from both windows update and AMDs catalyst updater. When i plug the watch in, i get the drive letter, but when i attempt to access it, i get "Please insert a disk into (G:)". Though if i right click and go to properties on the drive, and then go to "Hardware", i can see that it has my watch listed by name, along with its correct capacity (1mb). Everything worked fine prior to 1607, an...
ادامه مطلب