Skip to content

Instantly share code, notes, and snippets.

View claudiobusatto's full-sized avatar
💻

Claudio Busatto claudiobusatto

💻
View GitHub Profile
@claudiobusatto
claudiobusatto / wait_for_http_200.sh
Created December 22, 2021 13:27 — forked from rgl/wait_for_http_200.sh
Wait for an HTTP endpoint to return 200 OK with Bash and curl
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9000)" != "200" ]]; do sleep 5; done'
# also check https://gist.github.com/rgl/c2ba64b7e2a5a04d1eb65983995dce76

Aligning images

left alignment

This is the code you need to align images to the left: