Skip to main content


Showing posts from May, 2020

Best Practice for css naming conventions and BEM rules

The  Block, Element, Modifier  methodology (commonly referred to as BEM) is a popular  naming convention  for classes in HTML and CSS. Developed by the team at Yandex, its goal is to help developers better understand the relationship between the HTML and CSS in a given project. Here’s an example of what a CSS developer writing in the BEM style might write: /* Block component */ .btn { } /* Element that depends upon the block */ .btn__price { } /* Modifier that changes the style of the block */ .btn--orange { } .btn--big { } In this CSS methodology a  block  is a top-level abstraction of a new component, for example, a button:  .btn { } . This block should be thought of as a parent. Child items, or  elements , can be placed inside and these are denoted by two underscores following the name of the block like  .btn__price { } . Finally,  modifiers  can manipulate the block so that we can theme or style that particular component without inflicting changes on a completely unre

BlogPosting Schema Markup to Blog Posts


WS Free Tier FAQs Q: What is the AWS Free Tier? The AWS Free Tier provides customers the ability to explore and try out AWS services free of charge up to specified limits for each service. The Free Tier is comprised of three different types of offerings, a 12-month Free Tier, an Always Free offer, and short term trials. Services with a 12-month Free Tier allow customers to use the product for free up to specified limits for one year from the date the account was created. Services with an Always Free offer allow customers to use the product for free up to specified limits as long as they are an AWS customer. Services with a short term trial are free to use for a specified period of time or up to a one-time limit depending on the service selected. Details on the limits and services provided for free are detailed in each card on the Free Tier page. If your application use exceeds the free tier limits, you simply pay standard, pay-as-you-go service rates (see each service page for full pri

How to determine the size of MySQL databases and tables

SELECT table_schema AS "Database", ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema; To determine the sizes of all of the tables in a specific database, at the mysql> prompt, type the following command. Replace database_name with the name of the database that you want to check: SELECT table_name AS "Table", ROUND(((data_length + index_length) / 1024 / 1024), 2) AS "Size (MB)" FROM information_schema.TABLES WHERE table_schema = "database_name" ORDER BY (data_length + index_length) DESC;