How to push your image on AWS ECR

How to push your image on Amazon ECR registry

How to setup ssl encrypt in ubuntu server

Both tutorials are provided from

Mysql: ensure than one of two columns has a value

 You have two columns that accept new values, but at least one of them must not be null: CREATE TRIGGER tr_Col1Col2 BEFORE INSERT ON myTable FOR EACH ROW BEGIN IF (NEW.Col1 IS NULL AND NEW.Col2 IS NULL) THEN SIGNAL SQLSTATE '45000' SET ME

Background zoom on hover

How to zoom a background image but not overflow on the current size. This is the html, we need an inner div that has the image and an oute div that wont let it override. <div class="zoom"> <div class="image" style="background: url(bg.png

Github master push protection

Pushing directly to master is a bad habid. This is how you can avoid it.

Weblinks 2019#1

Interesting posts or tutorials from the web.

How to install MySql 5.6 or Mysql 6.7

New versions of ubuntu and debian come with mariadDB as predefined mysql server. But if we need to run a version of MySQL we can do it with the following steps.

How to setup mysqln_ms extension for php 7.x

Mysqlnd_ms is a handy php extension to automaticaly send the read queries to slave mysql servers and writes to the master.

Mysql replication in Virtual Machines

A quick guide of how to setup master-slave mysql replication in virtual machines.

Mysql create column if not exists

You want to check if a table exists before you add it to the table.

January19 Links

  HTTPS In Development: A Practical Guide Basic Color Theory for Web Developers

My Top Drupal themes

Here is a list of drupal that I found and look awesome