
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 ...
ادامه مطلب
I try to set a root password as follows: mysqladmin -u root password "root"; Then I make a connection to my MySQL server, the following command: mysql -u root -p Enter password: **** enter image description here ...
ادامه مطلب
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 'set...
ادامه مطلب
I have Fedora 24 installed using Hyper-V on top of Windows 10 (anniversary update) Trying to get the Hyper-V vGPU working, but Fedora does not recognizing it, and it doesn't even recognizing the video device if i don't have the vGPU enabled. Anyway to get some video acceleration or even just fullscreen working on this setup or should i look at different Hyper-visors? Side Question: Would i be better off testing this with Server 2016 - Which has pass through? I started this expedition after i not...
ادامه مطلب
I'm an L2 helpdesk guy and I have a user whose Lenovo L440 will not connect to wifi. The wifi icon in the notification area shows a red X and the "tu wireless on" button is greyed out in the Mobility Center. When she presses F8, it shows that wifi is on. The adapter is enabled and "allow to tu off to save power" is unchecked. We've reinstalled Pro/Set Wireless, and tried to install the adapter driver from the Device Manager. When I uninstalled the device there, checking the "remove driver" check...
ادامه مطلب
I cannot understand what should I write to the terminal according to step 4 here. Can you help me please? ...
ادامه مطلب
My site http://iosre.com is built upon discourse. It remains unreachable after setting up fail2ban. I've asked the question on their official forum, but their staff said it may be a general server problem and suggested superuser. I guess my website may be under attack, but since I'm not a server expert, I have no idea what to do the fix or track down the problem. Any ideas? Thanks! Let's block ads! بخوانید...
ادامه مطلب
I HV A 24 PORT SWITCH OF DLINK WHICH HV A OPTICAL WIRED CONNECTION AND ALL COMPUTER RUN ON LAN PROVIDED BY SWITCH , I WANT TO CONNECT THAT 24 PORT SWITCH TO MY MOBILE HOTSPOT ,MEANS IF THAT 24 PORT SWITCH CAN RECEIVE WIFI SIGNAL BY MY MOBILE MY QUESTION IS THERE ANY DEVICE (LAN WIFI RECEIVER ) THAT I CAN PLUG IN BY LAN PORT IN ANY PORT , IN MY 24 PORT SWITCH . THAT WILL RECEIVE WIFI SIGNAL FR MY PHONE AND ALL MY 23 COMPUTER WILL RUN ,WITH OUT ADDING INDIVISUAL WIFI RECEIVER IN 23 PC . Let's bloc...
ادامه مطلب
I just installed ionic following this guide. http://stackoverflow.com/questions/31041366/how-to-install-ionic-framework-on-ubuntu and also installed ionic / cordova using the command from ionic framework but when I start the app using this command ionic start todo example this message keep on showing up giving errors. I searched up and only found two threads talking about it but both of them just said restart the terminal. I even restarted my machine but still giving me this error. Can someone p...
ادامه مطلب
Use it in what capacity? Custom PCB design is out of scope for Superuser –xa0Ramhound 1 min ago Sorry, this is totally off-topic here, and a very vague question to boot. It might be on-topic on electronics.stackexchange.com , if you describe in detail what you want to do, and where you are having problems. –xa0sleske 31 secs ago Let's block ads! بخوانید...
ادامه مطلب
I'm planning to put together a 4k pc gaming rig, in research stage. I'm really confused with the graphic cards. I was thinking of getting Asus GTX 980ti oc. Then I started researching Asus GTX 1070 oc. I'm confused because the 1070 in Canada is over $200 cheaper. I would have thought since the 980ti was released first it would be cheaper. What am I missing? Could someone please shed some light on what the 980ti offers that the 1070 is missing? Which do you think it is better for 4k gaming? Let's...
ادامه مطلب
I have a pair of earbuds with a microphone that I would like to record with instead of the terrible inbuilt one. Unfortunately, when I plug it in it still uses the inbuilt one. The icon next to the jack indicates that it is speaker and microphone, and the end of my audio jack does have four rings. The microphone works fine on my Android phone, so I know it isn't the earbuds' fault. I remember when I first plugged them, there was a dialogue menu that asked what I wanted to connect it as, and I se...
ادامه مطلب
I'm running Ubuntu 14.04. I need someone to tell me the steps I need to take to fix this issue... It's not my Inteet problem because I'm able to wired in on my other laptop. So it's obviously something wrong with my laptop. It makes no sense that It was working perfectly fine yesterday and then today dead... I did not installed anything . Things to know My mac address is not blocked (contacted my Network Administrator) Wired connections works when I got home but not at work. Tested the wired ...
ادامه مطلب
Info: I'm using acer aspire 5733 (windows 8). I recently bought a new battery online that has a capacity of 112 Wh (which is double the original 48 Wh AS10D31 battery that the laptop came with). It came with the same voltage as the original one which is 10.8 V. Charger supplies 19 V 3.42 A 65W. Problem: I cannot charge the new battery past 43% even after two days of charging. I tried to calibrate the battery by draining it all the way and uninstalling Microsoft ACPI compliant control but all att...
ادامه مطلب
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...
ادامه مطلب
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 disconnected. 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...
ادامه مطلب