Get a full summary of available and used disk space usage of the file system on Linux system. If you are using AWS (amazon web server), I also included a link about how to extend the volume size for the AWS EC2.
Step 1: (make sure java jdk-8 is installed)
To install Solr Java Runtime Environment (JRE) version 1.8 or higher is needed.
This command will help us find all files which contain specific text on Linux:
grep -rnl "/var/path/samplefolder" -e "sampletext"
If you would like to know what that line looks like and get the line number, use the following command:
grep -rnw "/var/path/samplefolder" -e "sampletext"
-r is recursive
-n is line number
-l (lowercase L) returns the file name which contains the text you need
-w gives the line which contains the whole matching word
This blog is about how to integrate Angular2 Frontend with Wordpress Backend. I also list all the references I followed during my setup. For example, how to link WordPress API with your WordPress website.
This blog is about how to install Common UNIX Printing System (CUPS) on AWS remote server Ubuntu 14.04. At the end of this blog, I will point out some solutions about how to solve ERR_CONNECTION_TIMED_OUT & "bad request" error.
sudo apt update sudo apt install cups
My ubuntu server's timestamp is around 15 mins later than my local time. Here is the solution to correct the wrong system time.
I got lots of @types/lodash error after "npm install". Example: "/node_modules/@types/lodash/index.d.ts (16807,33): Cannot find name 'Many'." This problem can be solved by "npm install --save @firstname.lastname@example.org"
Recently, we tried to build a form on a pop-up layer. But when we tested on the real phone, we found that the cursor cannot be focused inside of the input field on iPhone 6 (that's the only iPhone version we have currently). We were using some CSS code to fix this bug.
iPhone safari is not very stable once you use "position: fixed" and "input" at the same time.
Get "Unable to send e-mail. Contact the site administrator if the problem persists." error message after config the Drupal in the new Ubuntu Server
This blog is about how to render block in custom page tpl.php (Drupal 7)