All Articles
Docker Cheatsheet
Clear logs:
truncate -s 0 /var/lib/docker/containers/*/*-json.logLogin into a restarting container:
docker compose run --rm --entrypoint /bin/bash SERVICETail logs from "now":
docker compose logs --since 0s -f <servicename>.
CSS SCSS Bootstrap Cheatsheet
(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 */.
Write Like It's 1866: LLMs Relearn Telegraphese
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.
Linux Utils: find largest files in a folder, and more
on linux:
find . -type f -printf '%s %p\n' | sort -nr | headon a mac:
find . -type f -exec du -h {} + | sort -hr | head.
Tools: Automated social posting
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.
Drupal Sites have been updated, city.ad rebuilt
2026-08-18: bumping this up. The site has been updated once again; every site in the directory has been updated.
I'm in the process of deploying a cluster of new Drupal marketing sites. I'm writing extensive automation to manage the cluster. Meanwhile, the list of Drupal sites developed and maintained by Wasya Co has been updated.