Skip to content

Instantly share code, notes, and snippets.

View georgikoemdzhiev's full-sized avatar
Working from home

Georgi Koemdzhiev georgikoemdzhiev

Working from home
View GitHub Profile
@tibu
tibu / get-zone.sh
Created January 29, 2018 09:58
Download zone file in bind format from AWS Route53
#!/bin/bash
# download zone from AWS Route53
zonename=$1
hostedzoneid=$(aws route53 list-hosted-zones | jq -r ".HostedZones[] | select(.Name == \"$zonename.\") | .Id" | cut -d'/' -f3)
aws route53 list-resource-record-sets --hosted-zone-id $hostedzoneid --output json | jq -jr '.ResourceRecordSets[] | "\(.Name) \t\(.TTL) \t\(.Type) \t\(.ResourceRecords[].Value)\n"'
WHEN WILL BROWSERS BE COMPLETE?
A short exploration into the end game of web browsers.
This article may seem to be about bashing Google but it isn't. It's just about
reflecting on the current state and how much longer we should see ourselves
here.
So what is the Web? Well we can agree the Web is a conglomerate of standards
proposed by the W3C. So what do those standards define?
@toricls
toricls / SF-Fargate-Task.md
Last active April 29, 2021 13:39
Resilient Fargate task scheduling with Step Functions and EventBridge

image

What is a Bootloader?

Think of your Android phone or iPhone... Once in a while the firmware on your phone needs to be updated to support new features or to fix security vulnerabilities.

The phone downloads the new firmware over WiFi or 4G. Then it restarts to install the new firmware.

Remember that firmware is just a program... A program can't possibly overwrite itself while it's running!

We solve this problem by introducing a second program... the Bootloader. When you power on your phone, the first thing it runs is the Bootloader. When the Bootloader finds a new version of the firmware that's stored on the phone, it overwrites the old firmware with the new one. Then it starts the new firmware.