Simple CSS trick to Make Table Responsive

Working on the OptionsBrew.com project (website is powered by Drupal 8) I faced the following responsive table issue while browsing content with a table on smaller screens (phone)Broken Table on a smaller screenLuckily there is a simple CSS workaround:in the .css file add the following to table properties: display: block;
overflow-x: auto;like this:table{
border-collapse: separate;
border-spacing: 0;
width:100%;
margin: 25px 0 40px;
display: block;
overflow-x: auto;
}here is how it looks nowResponsive tableYou can see a live example here: Top 20 Most Active Stock Options May 2020

Drupal Development |

Poppy fields near Marneuli

We love poppy fields, we have featured them a couple of times here at the Piece of Life seriesBeautiful Poppy Field Near P104 (Jaunpils-Tukums) Road (Latvia)Railroad crossing in Skrunda municipality, LatviaToday we are going to share a brief photo story with poppy field near Marneuli, next to the Милена Оптовый Магазин (Milena mall)It was one of the first days when travel restrictions between Georgia's inner cities were lifted and we decided to head to the Marneuli side looking for poppy fields (my partner have seen online some beautiful photos of poppies the day before). I love these wandering around days.We didn't find the special poppy field, instead we found poppies.…

Georgia |

Drupal 7 Fix: SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'.

I was migrating Drupal 7 website to a newer infrastructure (PHP 7.4) and during the migration process when tried to connect to the MySQL database  I faced following error - SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'.

Here is the error code:


Resolve all issues below to continue the installation. For help configuring your database server, see the installation handbook, or contact your hosting provider.

Failed to connect to your database server. The server reports the following message: SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of '…

Drupal Development |

May 2020 Dividend Income Report - $225.17

Welcome to the thirty-seventh (#37) dividend income report, covering earnings I've made from dividend-paying stocks and peer to peer lending in May 2020.Just like the previous month of April, in May we also spent in a self-isolation (because of Covid-19) here in Georgia. Some of the strict lockdown measurements were lifted (like using a private vehicle and going from city to city)  we did a few road trips here in Georgia.  Baby girl is doing her online class, learning about animals, shapes, continents, and even planets. Quite fascinating what a 22-month-old can do. Development is very rapid.Saint Dimitri Tesalonikeli Fathers Moanstery near…

Dividend Income |

How To Swap / Transfer IP address with Linode VPS

Recently I was rebuilding a compromised VPS on the Linode - this was a small web server serving some 3 established websites. It took me a few hours from A-Z  - launch a new Linode, install a new webserver on it, then transfer data from one host to another.Once all migration works were done, there was an option to change DNS entry to point to the new server. Nothing complicated. But there is a neat feature from Linode called - Swap IP (IP Transfer). That's a little perk from Linode and quite good for SEOYou can get a cheap VPS starting just $5/mo from Linode. That's what I did - bought a new Linode just for $10If you have two Linodes in the same…

Servers & Config |

How To Block IP Address in Drupal 8

Unlike in Drupal 7 version where IP banning is enabled by default, with Drupal 8 version, there is one more step added - IP banning must be enabled from the extend section.

Here is how. (source)


Log into your Drupal 8 admin interface.
From the top menu bar, click on the menu tab and then the Extend tab from the second menu bar.
You are now on the modules list page. The Ban module is listed under the Core category. To enable it, simply click on the checkbox to the left of the module.
Once selected, scroll to the bottom and click on the Save Configuration button to enable the module. Now that you have the Ban module enabled,…

Drupal Development |

Under The Georgian Sun / King Davids Tower (s)

It was on the evening of April 27, 2020, I decided to switch glass (from the kit lens to telephoto) and make some photo for the month of April to put in the description in the monthly dividend income report.The photo of the month turned out to be a sunset in Tbilisi with skyscraper in the foregroundKing David Towers in TbilisiFrom the KDR websiteTwo landmark towers King David Residences and King David Business Center are harmonically united in an exclusive multifunctional complex King David.King David creates a five-star lifestyle within exceptionally elegant residential and business towers with beautifully designed amenity spaces organized enticingly as a multistory urban resort and…

Living in Georgia |

How To HTTPS Secure Drupal 8 Running Nginx with Let's Encrypt on Ubuntu 18.04

Let's Encrypt have done some very good job, providing SSL certificates that everyone can use absolutely for free. Encrypted HTTPS websites should be default in 2020.

I have been implementing HTTPS secure websites for years. Until now I mostly worked with Drupal 7 websites and for securing them I have been using this guide, back from 2016 - Linode: How To Secure Nginx with Let's Encrypt on Ubuntu 12.04

Now, in 2020, working on a new, Drupal 8 powered, website after then initial web development was completed,  I was looking for an easy way to implement a free SSL certificate from Let's Encrypt.

And here comes this tutorial from Digital Ocean in help: How To…

Drupal Development |

How to Install Drupal 8 with Nginx, PHP-FPM 7.2, MySQL, phpMyAdmin on Ubuntu 18.04 - Linode Guide

In this article, you will learn how to setup Drupal 8 with Nginx, PHP-FPM 7.2, MySQL and phpMyAdmin on Ubuntu 18.04

For the following tutorial, I used very much the information from my previous guide with Ubuntu 16.04, but decided to rewrite it for Ubuntu 18.04 version as when I tried to setup my latest project about stock trading 0dtespxtrading.com  with Drupal 8.8.5  on Ubunut 16.04 machine an error from Drupal that PHP version shipped with Ubuntu 16.04   was outdated and instead of upgrading that box I decided to go with a new server from scratch, 

Prerequisites


Ubuntu 18.04 
Root privileges.


You can get a cheap VPS starting just $5/mo…

Drupal Development |

April 2020 Dividend Income Report - $78.40

Welcome to the thirty-sixth (#36) dividend income report, covering earnings I've made from dividend-paying stocks and peer to peer lending in April 2020.Last April we spent in a self-isolation (because of Covid-19) here in Georgia. Baby girl is doing her online class, learning about animals, shapes, continents, and even planets. Quite fascinating what a 21-month-old can do. Development is very rapid.King Davids Tower (s) in TbilisiIt was on the evening of April 27, 2020, I decided to switch glass (from the kit lens to telephoto) and make some photo for the month of April to put in the description for the monthly dividend income report.From the perspective of…

Dividend Income |

Rundāle Palace and Garden

Rundāle Palace  is one of the two major baroque palaces built for the Dukes of Courland in what is now Latvia, the other being Jelgava Palace. The palace was built in two periods, from 1736 until 1740 and from 1764 until 1768. It is situated at Pilsrundāle, 12 km west of Bauska.The palace and its garden are among the top 10 destinations to visit in Latvia. We have been heading to Rundāle once in a while, when in Latvia, preferably in Summer.Rundala palace and its gardenIn 1735 Duke of Courland Ernst Johann von Biron bought land in Rundāle with an old medieval castle in the territory of a planned summer residence. The old…

Latvia |

Guest House Old Wall in Lagodekhi

Offering a barbecue and children's playground, Guest House Old Wall is situated in Lagodekhi.Property is set within the historic walls of the old castle Lakuasti. Guests can enjoy the on-site bar. Free WiFi is available throughout the property and free private parking is available on site.This was our first stay in Lagodekhi, during a recent trip to the region (September 2019), we arrived here after a nice and comfy stay at Akhasheni Wine Resort near Gurjaani. Guest House Old Wall in LagodekhiIt was decided to use this guesthouse as a base to reach the Ninoskhevi waterfall. And seems the guest house is one of the top choices for travelers from all around the World to get…

Georgia |

Top 12 Laptops with NVIDIA Quadro Graphics Card

From stunning industrial design to advanced special effects to complex scientific visualization, Quadro is the world’s preeminent visual computing platform.Trusted by millions of creative and technical professionals to accelerate their workflows, only Quadro has the most advanced ecosystem of hardware, software and tools to transform the disruptive challenges of today into business successes of tomorrow.Quadro delivers desktop-class performance to mobile workstations in incredibly powerful, thin, and light form factors. Access the power of RTX anywhere — tackle complex datasets with ease, render photorealistic images interactively, and develop life-like VR experiences on the goIn this…

Laptop & Gadget Reviews |

Akhasheni Wine Resort

Akhasheni Wine Resort is located near the town of Gurjaani, Georgia.This 4-star resort offers a 24-hour front desk. Guests can chill out in the outdoor swimming pool. We booked this hotel at the start of September and paid about $95 for a one night stay.  Top Gurjaani Hotels & Guest HousesRoom at Akhaseni wine resortSimple and cozy. One of the main features of this hotel is it outdoor pool with warm water, taking a swim in the middle of vineyards, yes this is quite possible here.Outdoor swimming pool As it was rtveli time, I asked permission to go inside the vineyards to try grapes from the field. mhm, it tasted so good. Boasting free bikes…

Georgia |

Top 10 Laptops with 128GB RAM (Mobile WorkStations)

Just like 64GB RAM laptops, laptops with 128 GB RAM are specially upgraded to meet the needs for very demanding processing.Most of the 128 GB RAM laptops come with the latest Intel Core i9 processors, but also Intel core 7 is featured quite frequently. . These beastly powerful mobile workstations come with a price attached, expect to spend at least $3,000 up to $7.000 for a 128 GB RAM laptopA quick note: This article contains affiliate links to Amazon.com, by clicking on links on this page and by making a purchase on Amazon site, I might earn an affiliate income from that. Prices for laptop computers listed on this page are retrieved …

Laptop & Gadget Reviews |

Hotel 'San Francisco' Milan

Hotel San Francisco is a 5-minute walk from the Politecnico di Milano University. Rooms offer free Wi-Fi and a TV. Loreto Metro Station is just 300 m away.We booked this hotel for a one night stay during our trip to Italy, Switzerland back in November 2019. The price we paid was not very high (some $60 or $80 per night)The hotel is pretty much centrally located, as we arrived here wit a rental car we parked in on the nearby street and were paying about EUR 3 per day (they charged parking fee from 9AM tlll 13AM). This is one of the lowest parking fees in Europe I've ever seen.Hotel San Francisco in Milan, ItalyOur room featured a small balcony with a street view.From here we were…

Italy |

Top 20 Laptops with 64GB RAM (Gaming / Business)

64GB RAM laptops mostly are specially upgraded by third-party resellers to meet the needs of demanding gaming experience.Most of the 64 GB RAM laptops come with the latest Intel Core i7 processors, also the Intel core 9 is gaining momentum. Though not as popular as less RAM-enabled models, these models will find their audience among gaming enthusiasts and business usersFor a better gaming performance or high-end business, use expect to spend at least $1,500 up to $4.000 for a 64 GB RAM laptopKeep reading to find out TOP 20 laptops with 64 GB RAM memory, alternatively, see Top 20 Laptops with 32GB RAM (Gaming / Business)Top 15 Laptops With 24GB RAM Memory - For Better Gaming…

Laptop & Gadget Reviews |

Taverna in Bauska

Taverna is a restaurant,  centrally located in the Bauska town, Latvia, serving traditional Latvian cuisine.I have been coming to this place once in a while (if in the area), so did happen last time, back in July 2019, while we were en route to the famous Rundale castle, we made a stop in Bauska, and Taverna time it was.Restaurant Taverna in BauskaIn a busy season (Summer) order taking could take some time and meal preparation can take about an hour, Outdoor deckThe long wait can be compensated with a lovely sceneryTraditional Latvian cuisine - pork chops  

Latvia |

March 2020 Dividend Income Report - $163.01

Welcome to the thirty-fifth (#35) dividend income report, covering earnings I've made from dividend-paying stocks and peer to peer lending in March 2020.Last March we spent both in Latvia and Georgia, due to the Covid19 outbreak we have put ourselves into a self-isolation here in Tbilisi.Since March 17 there is a lockdown in Georgia, As preschool is canceled our daughter now is actively taking her online class. Amazing what a 20-month old can do.Our Tbilisi balcony in HDR on the last day of March 2020Seems we are going to spend a lot of time here for the next weeks/months, as the weather gets better, everything already starts to blossom. Pretty awesome scenery. From…

Dividend Income |

One Day in Istanbul

Istanbul has been on my travel map ever since I remember (Okay, I first were here back in 2009).Time after time we like to take layover flight via Istanbul, and so did happen last time, at the end of February 2020 - we booked a connected flight Tbilisi - Istanbul - Riga with Turkish Airlines so we have a chance to spend at least a day in IstanbulAfter taking a hammam in our centrally located Istanbul hotel (Best Point Hotel Old City Istanbul (Sultanahmet)), in the next morning after breakfast we took a little walk to nearby tourism objectsWhat to do and see in Istanbul in less than 24 hoursTurkish tea for sale near Blue MosqueWe went through a small market which was still…

Turkey |