Docker Cheatsheet
Clear logs:
truncate -s 0 /var/lib/docker/containers/*/*-json.logLogin into a restarting container:
docker compose run --rm --entrypoint /bin/bash SERVICE.
Clear logs:
truncate -s 0 /var/lib/docker/containers/*/*-json.logLogin into a restarting container:
docker compose run --rm --entrypoint /bin/bash SERVICE.
(We prefer bootstrap.css for there is no other good option. We don't like tailgate. As for versions, we use both bootstrap 4 and 5, undecided as of yet.)
Breakpoints:
/* Bootstrap 4 */
@media (min-width: 576px) {} /* xs */
@media (min-width: 768px) {} /* sm */
@media (min-width: 992px) {} /* lg */
@media (min-width: 1200px) {} /* xl */.
Instructed to answer in cablese — the telegraph operators' compressed dialect (drop the articles and filler, keep every fact) — a single one-sentence instruction, no examples and no codebook, elicits 40–49% fewer billed output tokens on the API's own meter, and models across four families still recover the information at full fidelity. For machine-to-machine traffic, that is half the output bill at any major API, today. The Victorian economics of the cable, reborn as token economics: the Telegraph Test benchmark.
on linux:
find . -type f -printf '%s %p\n' | sort -nr | headon a mac:
find . -type f -exec du -h {} + | sort -hr | head.
These days, I believe you have to automate social posting, you always had to do marketing in a somewhat automated way, and today more especially so. Below are some ideas on how to achieve social posting automation.