en /etc/mysql/mysql.conf.d/mysqld.cnf
o /etc/mysql/mariadb.conf.d/50-server.cnf
[mysqld]
default_time_zone='+00:00'
en /etc/mysql/mysql.conf.d/mysqld.cnf
o /etc/mysql/mariadb.conf.d/50-server.cnf
[mysqld]
default_time_zone='+00:00'
sudo ufw enable
sudo ufw disable
sudo ufw status
Source: http://www.repairmsexcel.com/blog/solved-microsoft-excel-file-is-locked-for-editing-in-use-issue
How to Fix Microsoft Excel File locked for Editing?
In order to solve this issue, we will disconnect the user from the file and allow another user to get the complete accessibility, follow the below given step:
Step 1: First you have to note down the path to the file, and the file name.
Step 2: Open the run dialogue box, press the Windows Key + R from your keyboard to open up the Run dialog box.
Visto aquí: https://dev.to/oneearedmusic/access-denied-reset-mysql-root-user-password-2hk4
sudo /etc/init.d/mysql stop sudo mysqld_safe --skip-grant-tables --skip-networking & mysql -u root
use mysql; UPDATE user SET authentication_string=PASSWORD("securepassword") where User='root'; UPDATE user SET plugin="mysql_native_password"; FLUSH PRIVILEGES;
select
p4.parties_id as parent4_id,
p3.parties_id as parent3_id,
p2.parties_id as parent2_id,
p1.parties_id as parent_id,
p1.id as party_id,
p1.name,
concat(
if(p4.parties_id,p4.parties_id,''),',',
Visto en: https://explainextended.com/2009/07/20/hierarchical-data-in-mysql-parents-and-children-in-one-query/
SELECT CONCAT(REPEAT(' ', level - 1), id) AS treeitem, parent, level
FROM (
SELECT _id AS id, parent,
@cl := @cl + 1 AS level
FROM (
SELECT @r AS _id,
(
Realiza un curl, recupera la respuesta, busca si aparece la palabra ERROR en la response, cuenta cuantas veces ocurre y si ocurre envía un exit 2 para que falle. Si 0 es que response no devolvió ERROR en ningún sitio.
echo "============> SonarQube's Quality Gate <============" &&
#Initializing two variables
ERR_COUNT=`curl http://127.0.0.1:9000/api/qualitygates/project_status?projectKey=MyAwesomeProjectKey -L | grep -Eo 'ERROR' | wc -l`
#Check whether they are equal
if [ $ERR_COUNT -eq 0 ]
then
Promise.prototype.finally = function (cb) {
const res = () => this;
return this.then(value =>
Promise.resolve(cb({state: "fulfilled", value})).then(res)
, reason =>
Promise.resolve(cb({state: "rejected", reason})).then(res)
);
};