Uncategorized

  • Flutter: There should be exactly one item with [DropdownButton]’s value

    Flutter: There should be exactly one item with [DropdownButton]’s value

    Error: Solution: The error you’re encountering suggests that there’s an issue with the DropdownButton and its selected value. It seems that there might be duplicate values in the list of items for the DropdownButton. Here are steps to resolve the issue: Step 1. Check colleges List: Ensure that the colleges list does not contain duplicate…

  • How to extend or make a custom PasswordBroker sendResetLink() method in Laravel 10?

    How to extend or make a custom PasswordBroker sendResetLink() method in Laravel 10?

    In Laravel, the PasswordBroker class is responsible for handling password reset functionality. If you want to extend or customize the sendResetLink() method, you can follow these steps: Step 1. Create a Custom PasswordBroker: Make a new class that extends the PasswordBroker class in Illuminate\Auth\Passwords. You can accomplish this by adding a new PHP file, such…

  • [Solved] Target class Controller does not exist

    [Solved] Target class Controller does not exist

    Error “Target class Controller does not exist” issue comes in Laravel 8. One simple trick can solve this issue. The reason for this problem in the latest version of Laravel is that the route groups into which your routes are loaded are not receiving the namespace prefix. The $namespace property was present in the RouteServiceProvider…

  • How to use killall command on Linux

    How to use killall command on Linux

    Use killall to end a process by name on Linux How does the killall command work? The killall command kills a process by name. For example, if you have a SSH daemon (which runs under the process name of sshd) on your system and need to end it, the following command would be used. The all in “killall”…

  • How to Convert Any Website to Android App in Android Studio?

    How to Convert Any Website to Android App in Android Studio?

    We are going to apply for the “GeeksForGeeks” website right here. We will be able to learn how to turn a website into an Android application by creating this application and following a few easy steps. You can learn something new and apply this idea to your own website as well. Simple Steps to Convert…

  • How to change the color of Action Bar in an Android App?

    How to change the color of Action Bar in an Android App?

    There are two ways to change color. 1. By changing styles.xml file styles.xml activity_main.xml MainActivity.java 2. Through Java file by defining ActionBar object: MainActivity.java activity_main.xml Output:

  • Android | Creating a Splash Screen

    Android | Creating a Splash Screen

    Typically, an app’s splash screen is the initial screen that appears when it is opened. It is a static screen that shows up for a certain period of time and usually appears when the app is launched for the first time. Just before the app runs fully, the splash screen is used to provide some…

  • How to Change the Default Icon of Android App?

    How to Change the Default Icon of Android App?

    The default icon of the app can be modified if you wish to get it published in shops like the Google Play Store, Amazon App Store, etc., or if you just want to customise it. Using Android Studio itself, we may modify the Android app’s icon by doing the actions listed below: Step 1: Create…

  • Android | How to Create/Start a New Project in Android Studio?

    Android | How to Create/Start a New Project in Android Studio?

    Upon installing and starting Android Studio for the first time, several options will pop up as seen in the pictures below. The procedures to launch and configure a new Android project in Android Studio are listed below. Select the first option to start a new android project. The application name is displayed as “MyApplication” by…

  • The argument type ‘File’ can’t be assigned to the parameter type ‘List‘.dartargument_type_not_assignable

    The argument type ‘File’ can’t be assigned to the parameter type ‘List‘.dartargument_type_not_assignable

    Error: Solution: To fix this issue, you need to modify the argument passed to the createQuote method to be a list containing the single image file. Here’s how you can do it: Replace this part of the code: with: This modification ensures that you are passing a list of files, even if it contains only…

  • Top Websites for City Events and Tourist places

    Top Websites for City Events and Tourist places

    Gujaratorbit.com stands as the undisputed leader and a dedicated digital haven, seamlessly weaving together the vibrant tapestry of city events and tourist destinations sprawled across the enchanting landscape of Gujarat. As the preeminent website in its domain, Gujaratorbit.com has etched its identity as the go-to platform, diligently capturing and presenting a comprehensive array of city…

  • InvalidArgumentException: Validation rule digits requires at least 1 parameters.

    InvalidArgumentException: Validation rule digits requires at least 1 parameters.

    Error: Solution: Change to   ‘phone’ => ‘required|min:7|max:15’, After that error is solved.

  • List of My Blogs Written in November 2023

    List of My Blogs Written in November 2023

    1. Target class [Fideloper\Proxy\TrustProxies] does not exist. 2. XAMPP: Starting Apache…fail.XAMPP: Another web server is already running. 3. How to Install XAMPP on your Ubuntu 4. How to Install COMPOSER on your Ubuntu and run phpmyadmin 5. How to set password for access the phpmyadmin in ubuntu  6. How to change username(root) the phpmyadmin in…

  • Laravel 10, artisan commands error: Failed to parse dotenv file due to an invalid name

    Laravel 10, artisan commands error: Failed to parse dotenv file due to an invalid name

    Error: Solution: go to the .env file and delete the .env file delete the .env file and recreate another with the same content. After that error is solved

  • How to Install and Set up Android Studio on Windows?

    How to Install and Set up Android Studio on Windows?

    Based on JetBrains’ IntelliJ IDEA software, Android Studio is the official IDE (Integrated Development Environment) for developing Android apps. Among the many fantastic features that Android Studio offers to increase productivity when creating Android apps are: System Requirements Installation Guide Step 1: Head over to this link to get the Android Studio executable or zip file.  Step 2: Click…

  • “Call to undefined function str_slug()” in Laravel 10

    “Call to undefined function str_slug()” in Laravel 10

    Error: Solution: f you have gone through the upgrade guide then you must know that String and Array Helpers have been removed from the Core Framework So if You need to use the helper install the package and all the helpers are moved to this package after that run Composer install

  • error: Your local changes to the following files would be overwritten by merge:

    error: Your local changes to the following files would be overwritten by merge:

    Error: error: Your local changes to the following files would be overwritten by merge: .env.example Please commit your changes or stash them before you merge. Aborting Solution: You can either commit your changes before you do the merge, or you stash them: Then, add your changes and push to master:

  • Unable to prepare route [api/user] for serialization. Uses Closure

    Unable to prepare route [api/user] for serialization. Uses Closure

    Error I’m writing my project on Laravel. When I optimize the project, I have a problem : Solution: Step 1: and also in web.php file route::group is also closure and also comment them for test Php routing cache command :

  • How to extend or make a custom PasswordBroker sendResetLink() method in Laravel 10?

    How to extend or make a custom PasswordBroker sendResetLink() method in Laravel 10?

    Error: Solution: Go to mhn-core-ms\app\Services\CustomPasswordBroker.php And change this line all The base class Illuminate\Auth\Passwords\PasswordBroker contains the sendResetLink function with the following signature: And change all the place request to callback All code here After that run this command

  • How to get SSL certificates and Enabled HTTPS for any domain and websites in Apache?

    How to get SSL certificates and Enabled HTTPS for any domain and websites in Apache?

    Step 1: Stop Apache for this command Step 2: Generate PRIVATE KEY. usually, we do use an open SSL tool Generate PRIVATE KEY. usually, we use the Open SSL tool Step 3:  Generate a CSR file using the same key. usually, we do use an open SSL tool Step 4: Send a .csr file to…