You may accidentally add the node_modules or you forgot to add the node_modules directory to .gitignore list, no worry, you may remove it after you pushed to the git. First, add the node_modules in to the .gitignore After added the /node_modules and save it.
Author Archives: juzhax
How to use internal css in WordPress
One of the way to load CSS in your WordPress plugin. You no need to worry about caching while developing your code and no need to separate one more file.
How To Get Parent Category Name In WordPress
It is not difficult to get the name using the build in function from WordPress. You may use this for build your own plugin or list out the related post using the category data from the parent category. Here is the PHP Code that can display out the name of the parent category.
How to rebuild /etc/yum.repos.d in CentOS
If you remove all the files in /etc/yum.repos.d you may see this error. You can restore using the way below. Check your version and reinstall using this way.
How to Solve WordPress asked for FTP credentials
I know it is very annoying when you are going to install a PLUGIN in WordPress. I like the way, one click and install for PLUGINS and THEMES in WordPress. Here is the way that I’m using: Edit your wp-config.php and add the line into it.
Why You Should Never Ever Buy XiaoMi Products ?
I’m not happy with their product, that’s why I write this article to let you know the service and the service policy of their product. If you are using their product and is working fine, then you are good luck. If there is any problem with their product, you are in big trouble. For personally, Continue reading “Why You Should Never Ever Buy XiaoMi Products ?”
How to disable AutoSave in WordPress ?
Sometimes we do not need the auto save function in the editor in WordPress, it will increase your database or slow down you editing experience while you are in slow internet connection. Here is the solution to disable it, if you need to re-enable it just comment them away.
Publishing Failed in WordPress
When you post in WordPress with over 5MB text post, you may receive this error with red color. or you found in your php error log This is because WordPress need more time to execute and process and formatting your post over the maximum execution time. You may use the way below to solve this. Continue reading “Publishing Failed in WordPress”
An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.
Gem files will remain installed in /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/mysql2-0.5.2 for inspection. Results logged to /var/www/discourse/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/mysql2-0.5.2/gem_make.out An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Make sure that gem install mysql2 -v ‘0.5.2’ –source ‘https://rubygems.org/’ succeeds before bundling. In Gemfile: mysql2 I found the best way to solve the problem. I think that you may missing Continue reading “An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue.”
`require’: cannot load such file — php_serialize (LoadError)
I’m running some of the Ruby script inside Docker and it show me this error. The solution I use to solve it using the way below. First, goto the path of your Gemfile echo “gem ‘php-serialize’” >>Gemfile bundle install
