Go to Settings > Search for “Hardware” > Turn off “Use hardware acceleration when available”  

Run diskutil list external If you want to fully zero out or randomize your SD card, you can run: $ diskutil unmountDisk disk2 …and then: $ diskutil zeroDisk disk2

Install ubuntu server with vagrant, follow steps at https://phoenixnap.com/kb/how-to-install-vagrant-on-ubuntu Copy and paste the following content of vagrant file here, then change IP address 192.168.1.99 to wished IP address. # -*- mode: ruby -*- # vi: set ft=ruby : # All Vagrant configuration is done below. The “2” in Vagrant.configure # configures the configuration version (we […]

Problem: run, then error occurred composer require drush/drush: Solution: run composer with the following pattern instead: php -d memory_limit=-1 /usr/local/bin/composer update  ….. 

Problem: Change directory to Drupal 8/9 instance, and run composer require drupal/console  Then, this error occur: Solution: Install 2 missing modules by running the below composer commands: composer require symfony/filesystem:”4.4.8 as 3.4.35″ composer require symfony/finder:”4.4.8 as 3.4.35″ Then run the composer require drupal/console  again.

Problem: After install Drupal 8, and install Drush for that Drupal 8 instance. The error below occur after running drush cr Solution: sudo mkdir /var/mysql cd /var/mysql sudo ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock Related Issue: https://blog.kylehuynh.com/sqlstatehy000-2002-no-such-file-or-directory/

When you run a command in Drupal console, ie. drupal gm and encounter the error: [ERROR] SQLSTATE[HY000] [2002] No such file or directory                                                                   […]

When install Drupal with composer by command: composer create-project drupal/recommended-project ./drupal Then, these output is encountered: Installing drupal/recommended-project (9.0.3)     Failed to download drupal/recommended-project from dist: The zip extension and unzip command are both missing, skipping. Your command-line PHP is using multiple ini files. Run `php –ini` to show them.     Now trying […]

Make sure to upgrade Ubuntu’s repositories: sudo add-apt-repository ppa:ondrej/php # Press enter to confirm. sudo apt update Install 7.3 core apt install php7.3-bcmath php7.3-bz2 php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-mbstring php7.3-readline php7.3-xml php7.3-zip Install 7.3 for website apt install php7.3-fpm apt install libapache2-mod-php7.3 Copy and paste, then run php -v to confirm PHP 7.3 (CLI) is […]

To solve the annoying issue when swiping left and right in Mac trackpad (with two fingers), it trigger back and forward to previous page in Google chrome Open Terminal app, and paste the command. defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE Then restart Google Chrome for it to take effect.

Source: https://stackoverflow.com/questions/36300446/ssh-permission-denied-publickey-gssapi-with-mic When trying to login vagrant ssh  ssh -p 2222 vagrant@localhost vagrant@localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). Setting PasswordAuthentication to yes, is not the best way to go , is not as secure as using private and public keys for authentication ! First make sure that that you have the fallowing permissions set, on the server […]

Encountered this issue with this Git:  remote: Counting objects: 1702, done.remote: fatal: unable to create thread: Resource temporarily unavailableerror: git upload-pack: git-pack-objects died with error.fatal: git upload-pack: aborting due to possible repository corruption on the remote side.remote: aborting due to possible repository corruption on the remote side.fatal: protocol error: bad pack header Reason:  A repository […]

View mail queue:  sudo mailq In order to flush mail queue, need to start/make sure mail server running:  sudo postfix status sudo postfix start sudo postfix flush Note: clear mail history:  Scenario 1 : Remove particular mail queue id (on running mailq command,you will get mail queue id) postsuper -d mail_queue_id Scenario 2: Remove ALL mails […]

Let’s say you want to AUTOMATICALLY delete all “Promotions” emails from your Gmail after 90 days. Step 1: Go to Settings -> Filters -> Create a new filter Step 2: Type the following into “Has the words” field: category:promotions Step 3: Click “Create filter with this search“ Step 4: Select “Delete it” and finally click “Create […]

1.Open the Applications folder. 2. Open the Utilities folder within Applications. Open Disk Utility. 4. Click File. 5. Select New Image. 6. Select Image from Folder. 7. Select the folder you wish to protect and click Open. 8. Click on the Image Format option menu and select read/write. 9. Click on the Encryption menu and click 128-bit AES encryption. 10. Enter the password for this folder twice, […]

The following will guide you through the process of enabling SSL on a Apache webserver The instructions have been verified with OSX El Capitan (10.11.2) running Apache 2.4.16 The instructions assume you already have a basic Apache configuration enabled on OSX, if this is not the case feel free to consult Gist: “Enable Apache HTTP server […]

Problem: Solution: I have selected >Configuration > Performance> OR {{ base_url }}/admin/config/development/performance Deselect Aggregate CSS files Deselect Aggregate JavaScript files

Enable VirtualHosts The first thing you’ll need to do is open the file /Applications/XAMPP/xamppfiles/etc/httpd.conf in your favourite text editor. Look for the following lines: # Virtual hosts  #Include /etc/httpd-vhosts.conf Replace /etc/httpd-vhosts.conf with /Applications/XAMPP/etc/extra/httpd-vhosts.conf and Uncomment the second line by removing the hash (#), so that Apache loads your custom VirtualHosts configuration file. Follow exactly the following page. https://www.drupal.org/docs/7/multisite-drupal/multi-site-on-windows-using-xampp

PC Keyboard Hold down F12 as you restart the computer until the CD ejects itself. USB Mouse Hold down the left mouse button as you restart the computer until the CD ejects itself.