miércoles, septiembre 27, 2023

Delete an AWS CloudFormation stack that has a DELETE_FAILED resource.

Click again the delete button, this time you will be able to skip the DELETE_FAILED resource.

Important: To avoid unnecessary charges, you must manually delete the resources that are retained when the stack is deleted.

https://repost.aws/knowledge-center/cloudformation-stack-delete-failed

lunes, septiembre 11, 2023

Active Presenter my favorite Screen Recorder

  • No time limit, ad-free.
  • Record full screen, window, region, webcam, microphone, computer sound.
  • Basic video editing features: trim, cut, split, change speed/volume, add closed captions, zoom-n-pan, annotations, multimedia, transitions, animations, and more.
  • Advanced video editing features: blur effect, green-screen effect, audio fade in/out, noise reduction, audio normalization.

Goodfellas and a criminal life with no regrets

Goodfellas starts with


And ends with Henry Hill sadness for no longer being a ganster

And Sid Vicious singing My Way

Regrets, I've had a few
But then again, too few to mention
I did, what I had to do
And saw it through with out exemption
I planned each chartered course
Each careful step along the highway
And more, much more than this
I did it my way

For what is a prat, what has he got
When he wears hats and he cannot
Say the things he truly feels
But only the words, of one who kneels
The record shows I took the blows
And did it my way

sábado, septiembre 09, 2023

"Australia no es tan color de rosa como pintan las agencias": La realidad de muchos estudiantes internacionales

"Australia no es tan color de rosa como pintan las agencias": La realidad de muchos estudiantes internacionales

How-to check AWS current month costs

You're seeing the charges until yesterday. There is a delay of 24 hours between the usage of a resource and AWS showing its cost to you.


Current month costs

Go to the main page and check the Cost and Usage widget


Charges per day

Click the link Go to AWS Cost Management, and you will see your charges per day.


Click on View in Cost Explorer and then on Dimension select Service, and you will see the charges per day and per Service. Other useful options are usage type and API Operation.


Current month costs detailed per service and account

Go to AWS Billing > Bills and check the tabs Charges by service and Charges by account


martes, septiembre 05, 2023

NOT in the AWS free tier

It's very hard to understand what is and what is not in the AWS free tier. This is a list of the things I was charged using AWS free tier, and so after that I learned that are not part of it

VPC

  • NAT gateway
  • VPC Endpoint

EC2

  •  Elastic IP

  • Backup Storage

Data transfer

  • EBS snapshot copy between AWS Regions


See also

Please fix the AWS Free Tier before somebody gets hurt

lunes, agosto 28, 2023

How to try to avoid unexpected charges when using AWS

In AWS you see the charges until yesterday. There is a delay of 24 hours between the usage of a resource and AWS showing its cost to you.

Create a budget

Go to AWS Billing > Budgets and create a budget to receive notifications if your spending reaches it.


Change the Billing preferences

Go to AWS Billing > Billing preferences and active 

  • PDF invoices delivery by email
  • AWS Free Tier alerts
  • CloudWatch billing alerts


Check the current month costs

On a constant basis go to the main page, and on the Cost and Usage widget check your current month costs and forecasted month-end costs. Also think about deleting all the widgets, but this one.


Usage and charge information is shown after 24 hours

"The Billing and Cost Management console takes about 24 hours to update usage and charge information for active resources." https://repost.aws/knowledge-center/resources-unexpected-charges


See also

NOT in the AWS free tier

martes, agosto 22, 2023

Daily sugar intake: 25 grams

"A WHO guideline recommends adults and children reduce their daily intake of free sugars to less than 10% of their total energy intake. A further reduction to below 5% or roughly 25 grams (6 teaspoons) per day would provide additional health benefits." https://www.who.int/news/item/04-03-2015-who-calls-on-countries-to-reduce-sugars-intake-among-adults-and-children

lunes, agosto 21, 2023

Line box the reason why text-align and vertical-align are very different

text-align, useful if you have a block element and need to horizontally align the inline elements inside of it.

vertical-align, useful if you have an inline element(e.g. an image) and need to vertically align it inside its line box.

Example

See the Pen text-align and vertical-align are very different by Wilson Camilo Uribe Neira (@kmilo0) on CodePen.


If you're confused with the vertical-align example an explanation about line box could be what you need.

Line box

The code

<p>
    Good design will be better.
    <span class="a">Ba</span>
    <span class="b">Ba</span>
    <span class="c">Ba</span>
    We get to make a consequence.
</p>
    

Will generate 3 line-boxes:

  • the first and last one each contain a single anonymous inline element (text content)
  • the second one contains two anonymous inline elements, and the 3 <span>
A <p> (black border) is made of line-boxes (white borders) that contain inline elements (solid borders) and anonymous inline elements (dashed borders)

See also

miércoles, agosto 16, 2023

How-to center a div and how-to center the content inside of it

You could center a div with

margin: auto


And you could center its content using

text-align: center;


Example

See the Pen Untitled by Wilson Camilo Uribe Neira (@kmilo0) on CodePen.

martes, agosto 08, 2023

Political violence in the late roman republic

"Tiberius’s supporters packed the area near the Temple of Jupiter on the Capitoline Hill to ensure they controlled the voting space. Accompanied by bodyguards, Tiberius himself arrived and was greeted by cheers and applause from the crowd. When opponents of Tiberius arrived, they found themselves unable to push through the pro-Gracchan mob. Prevented from accessing the voting stalls, when the anti-Gracchan voters heard the call for the tribes to begin voting, scuffles erupted on the edge of the crowd as opponents tried to push their way in. The fighting halted the voting.

Meanwhile, the Senate convened for a session in the Temple of Fides, located just around the corner on the Capitoline. Rumors swirled that Tiberius had deposed all the other tribunes and was preparing to assume regal powers. The consul presiding over the Senate that morning was none other than Mucius Scaevola—one of the authors of the Lex Agraria. Nasica and the hard-liners in the Senate demanded Scaevola do something, but the consul replied that “he would resort to no violence and would put no citizen to death without a trial; if, however, the people, under persuasion or compulsion from Tiberius, should vote anything that was unlawful, he would not regard this vote as binding.”

This was not good enough for the incensed Nasica, who rose in response and said, “Let those who would save our country follow me.” Nasica then donned the formal attire of the pontifex maximus and put himself at the head of a mob of like-minded senators and clients. Together they marched to the Temple of Jupiter. As weapons were not permitted to be carried inside the Pomerium—the sacred city limits—Nasica and his followers armed themselves mostly with table legs and other bludgeons. Though the coming attack was not premeditated, it was clear they were willing to use force to beat back the mob trying to make Tiberius Gracchus king of Rome.

Meanwhile, up on the rostra, Tiberius was warned about the approaching mob. Tiberius’s men turned and readied for battle, but hesitated when they saw the mob included senators and was led by the pontifex maximus himself. Though the Gracchans started to give way, Nasica’s men aggressively pushed and beat the crowd anyway. Once the shoving and hitting began, Tiberius’s supporters naturally fought back, leading to a line of clashes throughout the Assembly. The casualties in the resulting mêlée were entirely one-sided—Tiberius’s people were unarmed and made easy targets for Nasica’s gang. Trapped in the confined space in front of the Temple of Jupiter, many people were trampled underfoot or fell to their deaths off the steep cliffs of the Capitoline. When the dust cleared three hundred people lay dead.

The principal target of the attack was, of course, Tiberius himself, and it didn’t take long for the reactionary senators to locate their prey. Near the entrance of the Temple of Jupiter, Tiberius tripped over the body of a man who had already fallen and before he could get up, he was set upon by a fellow tribune and a senator. Though he was a tribune and allegedly sacrosanct, these two men proceeded to beat Tiberius Gracchus to death with the legs of a bench. As the historian Appian records: “So perished on the Capitol, and while still tribune, Gracchus, the son of that Gracchus who was twice consul, and of Cornelia, daughter of that Scipio who robbed Carthage of her supremacy. He lost his life in consequence of a most excellent design too violently pursued; and this abominable crime, the first that was perpetrated in the public assembly, was seldom without parallels thereafter from time to time.”" The Storm Before the Storm: The Beginning of the End of the Roman Republic


jueves, julio 27, 2023

Debugging CSS: find undefined classes in your HTML

Problem

You write

btn-secundary

but the class name is

btn-secondary

now your HTML doesn't have the right style and there are no warnings or errors to help you.

Solutions

miércoles, julio 26, 2023

Actualidad politica Colombiana en youtube y sus seguidores en 2023

Grandes medios

  • 5.81M seguidores Noticias Caracol
  • 2.49M seguidores Revista Semana
  • 2.12M seguidores El Tiempo
  • 1.34M seguidores La Pulla
  • 1.23M seguidores Noticias Uno
  • 1.03M seguidores Noticias RCN
  • 900K seguidores El Espectador

Independientes

  • 840K seguidores F*cksNews
  • 567K seguidores Notiparaco
  • 442K seguidores Wally Opina
  • 2.1K seguidores Presunto podcast

Es impresionante como F*cksNews con sus 840K seguidores ya casi alcanza al Espectador un periodico de 136 años y propiedad de una de las familias mas ricas de Colombia, los Santo Domingo.