Recent Questions

متن مرتبط با «xkcd com» در سایت Recent Questions نوشته شده است

How to disable Laravel console commands

  • نیلوبلاگ

    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...

    ادامه مطلب
  • [Updated] Feedback Form Wizard: improved PHP 8 (8.0, 8.1, etc) compatibility

  • نیلوبلاگ

    The script generated by the Feedback Form Wizard has been updated to improve compatibility with PHP 8 (eg, 8.0, 8.1, etc). Note: if you have generated your form and script after 1 January 2023, you already have this version (ver 3.2.0). ...

    ادامه مطلب
  • Running Docker on M1 Mac - docker: compose is not a docker

  • نیلوبلاگ

    When upgrading from an Intel mac to an Apple Silicone I noticed docker fails to run. I'm using Laravel Sail when Sail is installed or when a sail up command is attempted I get an error:  docker: 'compose' is not a docker command The reason for this is a docker-compose is now a plugin. Docker needs docker-compose to be installed. Use brew to install docker-compose brew install docker-compose Once installed sail will function normally without any extra setup. بخوانید...

    ادامه مطلب
  • How to Generate the Free Let's Encrypt SSL Certificate on Your Own (Windows) Computer

  • نیلوبلاگ

    Find out how to generate an SSL certificate for a website on your own computer. (For those wondering, SSL certificates are needed so that your site can be accessed using HTTPS instead of HTTP.) ...

    ادامه مطلب
  • Best way to become successful YouTuber

  • نیلوبلاگ

    YouTube is the second biggest search engine in the world and the 2nd most popular website in the world with over 2 billion monthly active devices. YouTube has grown pretty quickly and overtaken Facebo...

    ادامه مطلب
  • Combine multiple disks to one 'big' disk on my external HDD

  • نیلوبلاگ

    I run into a problem with my exteal HDD, i used it for backups but when i reinstalled windows (and forgot to remove the HDD) my HDD got whiped. After the whipe suddenly my HDD splitted itself into multiple Disks. Ive tried evrything and googles alot but no succes. I would like to bring it back to one disk, just like it was when i bought it. Can anyone help me out, or give me some tips on how to achieve this? Here is an image of the partitions, if you need any extra details of information let me know and i will post it! Disk management img = https://s18.postimg.org/gflw73z3d/Untitled.jpg Let's block ads! بخوانید...

    ادامه مطلب
  • Are Kingston DDR3 1333mhz and Crucial DDR3 1600mhz 2GB RAM sticks compatible?

  • نیلوبلاگ

    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? ...

    ادامه مطلب
  • using command prompt how can i change my gmail username on my local account back to microsoft

  • نیلوبلاگ

    Using command prompt, how can I change my Gmail address useame on my local account back to Microsoft. It doesn't let me sign in. You see my Gmail address but when I put my password in, it said to change my Microsoft password to sign in. But it's not a Microsoft account. Somehow I ended up with my Gmail address as my sign in local account. I also don't see the option of changing my useame. I can only sign in as a built-in administrative. Let's block ads! بخوانید...

    ادامه مطلب
  • How can I create a list of numbers in a combobox?

  • نیلوبلاگ

    I have a client who has asked for a number of dropdowns in their form which can be any value between 1 and 240 months. I assume there must be an easier way to set this up than typing the numbers 1 - 240 multiple times? Alteatively - in fact preferably - is there a better control to use for this than a combobox? It seems to me that scrolling down a list of 240 items is not a very good user experience. Let's block ads! بخوانید...

    ادامه مطلب
  • How to find the 'Run' command that opens a specific process on Windows?

  • نیلوبلاگ

    I am using Windows 10 (well, the version is irrelevant I believe) and I would like to execute my programs through 'Run' just for convenience. My problem is, where do I look for each software's Run keyword ? For example, to open paint, you can run 'mspaint', to open Notepad++ I luckily figured out you can run notepad++ but what about other processes ? For example, I have no clue how to open Sublime text 3 with Run or paint.net and many other software. If you are willing to help, please also provide a way to FIND the run keyword for any software. Maybe there is a way to see it through task manager ? Through cmd maybe ? There should be a way ! Ideally, I would love to have a solution that doesn...

    ادامه مطلب
  • Command executed differently from terminal or in bash script

  • نیلوبلاگ

    I'm trying to automate a backup script with attic, but I'm stuck on this issue: the actual attic command performs differently when executed from the script and when executed directly in the terminal. The script builds and executes the command: /usr/bin/attic create --stats --verbose --exclude '/home/.cache' /media/attic-backup/paolo.attic::2016-08-27 /home the command outputs the files backuped up from attic: /home /home/.attic /home/.attic/keys /home/.cache /home/git /home/git/.bash_history etc etc The /home/.cache directory should have been skipped... However, if I execute the same command from the terminal I get: $ /usr/bin/attic create --stats --verbose --exclude '/home/.cache' /m...

    ادامه مطلب
  • compile and install GTK3 libraries in CentOS 6.4

  • نیلوبلاگ

    I caot understand what should I write to the terminal according to step 4 here. Can you help me please? ...

    ادامه مطلب
  • What is the effect of a power surge on a protected desktop computer?

  • نیلوبلاگ

    I am asking because some minutes ago my month-old Lenovo Y700 desktop (ruing windows 10) suddenly restarted itself. This is the first time anything like this has happened before. No blue screens and no errors. I know it wasn't due to temperature or strain on my GPU as the only programs I had open at the time were Opera and Adobe Acrobat DC. The only other thing I can think of is a power surge as we've had that once before and it fried my laptop several years back. I've installed a surge protector on the electrical outlet so my question is was a power surge responsible for the sudden restart or should I look elsewhere? I've attached the event logs here and here Let's block ads! بخوانید...

    ادامه مطلب
  • During Ping command what kind of packet they are going to send?

  • نیلوبلاگ

    During Ping command what kind of packet they are going to send ? I got output like this: 19 packets transmitted, 19 received, 0% packet loss, time 18006ms so what is strategy behind this . also I want to know how I come to know that my packet is receiving at remote destination. Let's block ads! بخوانید...

    ادامه مطلب
  • FirstLogonCommands only works on 32bit architecture

  • نیلوبلاگ

    I've got 2 Windows installations which are identical, the same settings, the same programs. The only difference is that the Windows architecture is different, the one is 32bit and the other one is 64bit. When having sysprepped my 32bit installation with the following answer file: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="u:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance...

    ادامه مطلب
  • Having trouble communicating to a FT232R device

  • نیلوبلاگ

    I have a FT232R device controlled by a VXM Stepping Motor Controller. I was able to communicate with the device on Mac(using Matlab). But I'm having trouble doing it on Windows. I installed the VCP driver for Windows 64-bit from here: http://www.ftdichip.com/Drivers/VCP.htm I already checked that the driver is properly installed. Here is my code: #include <windows.h> #include <setupapi.h> #include <stdio.h> int main() { char command[34] = "I2M10,R"; HANDLE hSerial = CreateFile( "\\.\COM8", FILE_SHARE_READ | FILE_SHARE_WRITE, 0, NULL,//pass path as a parameter instead of \\.\COM6 OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); ...

    ادامه مطلب
  • What is the command to cd to a removable media (usb)?

  • نیلوبلاگ

    I want to cd to USB without specifying it because it changes its letter on every other computer. ...

    ادامه مطلب
  • Adding libpcap librar to openwrt cross compiler

  • نیلوبلاگ

    I spend two days trying to compile my code with header as cross compiler for OpenWrt I am using LinksysWRT54GL, and mipsel architecture. I download the libpcap from OpenWrt and tried to generate the MakeFile using ./configure --prefix=$TOOLCHAIN --build=mipsel-openwrt-linux-gnu --host=mipsel-openwrt-linux-uclibc --with-pcap=null and I got this error when I ran make pcap-usb-linux.o: could not read symbols: File in wrong format collect2: ld retued 1 exit status make: *** [libpcap.so] Error 1 Thans for all Let's block ads! بخوانید...

    ادامه مطلب
  • Windows 10 Command Prompt Stuck in Legacy Mode and Won't Start

  • نیلوبلاگ

    That "legacy console" option should only be available on a shortcut to cmd.exe, not on cmd.exe itself. So hopefully something is wrong with your shortcut and not with the actual cmd.exe. Try browsing to c:windowssystem32 (or whatever your system dir is), then ruing cmd.exe directly from there. Alteatively, press WIN+R and run c:windowssystem32cmd.exe directly. If that works like normal, then just delete the existing shortcut that's giving you the problems and create a new shortcut, that should fix it. If ruing cmd.exe directly also doesn't work like normal, here are some other ideas: update your windows updates try system restore to the most recent point before this problem appeared try ruin...

    ادامه مطلب
  • How to delete all system files using command prompt

  • نیلوبلاگ

    I want to know which cmd command can i use to delete all files on my computer(including all system files and especially the Windows folder). Actually i want to clean my whole Hard drive and put new one. I tried using del but it doesn't delete my system files. Let's block ads! بخوانید...

    ادامه مطلب
  • برچسب‌های مرتبط

    combine multiple disks into one | itunes combine multiple disks | linux combine multiple disks | using command prompt | using command prompt windows 10 | using command prompt windows 7 | using command prompt to hack | using command prompt to fix windows 8 | using command prompt to navigate folders | using command prompt to access files