If you remove all the files in /etc/yum.repos.d you may see this error. You can restore using the way below.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
[22:09][~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
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, I do not like this brand, but I gave them a chance to try. I bought the model XiaoMi Mi A1 64GB Black on 11 November 2017 at IT City Fashion Island. Since this is the first Android One product from them, I use this for test for my APP development.
Most of the time I just put the phone on my office table and seldom use it unless I update and test for my APP.
Last week, 11 Feb 2019, I found out that the phone cover broken up, and I make a closer look and saw that is the battery expend the size and push the cover up. I’m feel lucky because the battery not yet explode.
So, I try to find out where is their service center. I found out that they do not have any official service center in here, so I have to take it back to the place that I purchase the phone for the service.
That time I passed to them, the LCD screen is still workable and the staff there turn off it and check it, and told me just need to change the battery. Then he charge me for 482 Baht. I thought it is the battery price at first.
So I provide the screenshots for the conversation, let you know what is going on.
Some people said that it is reseller problem, but before that I’ve contacted the Service Company that listed in Xiao Mi Website, https://www.mi.com/th/support/repair/
They told me IT City is a drop point and will send to them for service.
Why I didn’t go to the service company directly ? First you need to understand the working hour traffics in Bangkok is terrible.
The location of the VST ECS is far from my place, around 30KM, and the IT City is just 10KM from my place, sure I chose to take to the drop point.
No matter they fix your phone or not, you will get charged, this is their policy.
The battery maybe explode after a year of using period.
They do not have official service center in here.
They want to charge you more and ask you change for the LCD.
If you never contact them, they will just put you aside until you contact them, they will never call you.
Their service is slow, it can take 2 weeks and 2 weeks.
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.
define( 'AUTOSAVE_INTERVAL', 60*60*60*24*365 ); // Set autosave interval to a year
define( 'EMPTY_TRASH_DAYS', 0 ); // Empty trash now: Zero days
define( 'WP_POST_REVISIONS', false ); // Do not save any revisions
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 the dev library of mysql:
sudo apt-get install libmysqlclient-dev
On Red Hat/CentOS and other distributions using yum:
I’ve save down the most basic widget code for WordPress, you can copy this to your plugin and modify it to start your first widget. You can save time on this tutorial to help you create wordpress widget from scratch.
Tinyproxy is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems.
Designed from the ground up to be fast and yet small, it is an ideal solution for use cases such as embedded deployments where a full featured HTTP proxy is required, but the system resources for a larger proxy are unavailable.