How do I make doctrine support timestamp columns AHK 10:38Problem: [Doctrine\DBAL\DBALException] Unknown column type "timestamp" requested. Any Doctrine type that you use has to be regi... Read More
[6.0] Where is the command app:name? AHK 12:01Problem The app:name command, no longer available in laravel 6.0, there is some way to change the namespaces, as was being done with that co... Read More
The most common HTTP Status codes AHK 13:13As we write API calls, we've also added t he status codes to our endpoint response. This lets us explicitly return JSON data and send ... Read More
How to Install Multiple PHP(7.3 and 8) Versions on Ubuntu > 20 AHK 11:50 Step 1: System Update First, log in to Ubuntu via console. Then update the Apt cache and upgrade the current packages of the system using t... Read More
Run Composer versions 1 and 2 simultaneously AHK 11:26Composer 2 is great. But it is not compatible with PHP versions lesser than 7.2. So if you're maintaining legacy projects that require o... Read More
Laravel: Transform Request to custom validation request AHK 11:41Laravel: Transform Request to custom validation request we can convert any request to any other request, as long as it extends from Illumina... Read More
Resolved: “Could not store password” for MySQL workbench community + ubuntu AHK 11:33If MySQL Workbench not saving passwords in the keychain In order to resolve Could not store password: An AppArmor policy prevents this sende... Read More
Install MySQL workbench in ubuntu AHK 11:30Install MySQL workbench in ubuntu sudo snap install mysql-workbench-community Run the below command for a password-saving issue sudo snap co... Read More
Generating random CSS hex color code using PHP md5() function AHK 11:26 <?php $rand_color = "#".substr(md5(rand()), 0, 6); echo $rand_color; ?> In the above code, we have taken the PHP rand() fun... Read More
Find all triplets in an array that add up to a given sum - Brute Force Technique AHK 10:37Hello everyone, Welcome to Sprint Master! In this post, we are going to look at solving the following coding question "Find all tripl... Read More
Cannot run Apache2.4 with xampp AHK 13:28The Apache service named reported the following error: httpd.exe: Syntax error on line 520 of C:/xampp/apache/conf/httpd.conf: Syntax error ... Read More
How do you convert between 12 hour time and 24 hour time in PHP? AHK 13:00$time = '5:36 pm'; // 24-hour time to 12-hour time $time_in_12_hour_format = date("g:i a", strtotime($time)); // 12-hour ... Read More
javascript:array to string in javascript:enclosed with single quotes AHK 11:12 array to string in javascript: var array = ["power","education"]; var string = array.toString(); Result: power,e... Read More
How to Create User With all Privileges in MySQL from the command line AHK 13:45 Create user with all privileges in MySQL CREATE USER '<username>'@'localhost' IDENTIFIED VIA mysql_native_password... Read More
Change ownership of directory and all contents to a new user from root AHK 10:17 Use the chown command to change file owner and group information. adduser haank passwd haank # set the password chown -R haank /var/ww... Read More
.gitignore exclude specific file AHK 20:26 In contrast to what the name "ignore" might suggest. .gitignore is only consulted when you git add files: in other words a file a... Read More
How to add existing project to Github or BitBucket ? AHK 15:58 You are a developer and creating a sample projects for your learning or for samples that can help you in future. Then why you don’t upload... Read More
How to Increase Import Size Limit in phpMyAdmin AHK 16:51 I had the same problem with my working correctly by doing the following changes into the php.ini file post_max_size = 800M upload_max_... Read More
Jquery href Click AHK 16:11 HTML Code <a class="sign_new" href="#sign_up" data-value="110">Sign up</a> JavaScript+jQuer... Read More
How to delete a user in linux AHK 10:21 Step 1: Delete the User userdel myuser If you want to remove all of the files for the user, then use -r: userdel -r myuser Step 2: Remove ... Read More