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 […]

Introduction Drupal is a popular content management system (CMS) that is used to quickly deploy websites on sites in an easy to use framework. This guide will cover how to deploy multiple sites from within a single Drupal installation. We will be installing the latest version of Drupal as of this writing (7.23), on an […]

Changing the userdir You can specify the new location for the .netbeans userdir via the –userdir <path> startup option when starting NetBeans. New userdir location cannot be in Netbeans folder. See: FaqNetbeansConf. The <path> argument may refer to an existing or a new folder name. If pointing to an existing dirctory, it will be reused. […]

So after hours of tinkering with my oneplus one knowing full well my display was NOT going bad and reading many threads on this forum about it, i figured out how to fix the screen wake issue. if your screen wont wake up with power button or double-tap, do the following.. 1. Settings 2. Display […]

Download the superuser here