xomodo

Joined 9 years ago

Karma
16
Submissions
20
Member since
Oct 2
dev from DK
View on Hacker News

Recent submissions

Comment · 11 months ago
Comment · 11 months ago
> How would you package this inside a Git repo?

There are many ways to do that. Start with a simple repo and spin up a VM instance from the cloud provider of your choice. Then integrate the commands from this article into a cloud-init configuration. Hope you get the idea.

Comment · 1 year ago
Thx. The only problem I have with litestream binary is ~31Mb !?

This why I prefer to take backup stuff in a side container, eg: https://github.com/atrakic/gin-sqlite/blob/main/compose.yml

As a side note, you might consider revisiting your dockerfiles and skip litestream build steps, eg. in your final stage just add line like this:

COPY --from=litestream/litestream /usr/local/bin/litestream /bin/litestream

Comment · 2 years ago
man chattr
Comment · 2 years ago
I don't mind json outputs, but pls keep cli options as low letters, eg.: 'kubectl get pods -o json'.
Comment · 2 years ago
Comment · 2 years ago
Sounds complicated. What object storage you use? If on aws, 's3 sync' might help.
Comment · 2 years ago
Thx. Timeline shows attack begun by adding ignore entry in .gitignore file. That is hard to detect nowadays.
Comment · 2 years ago
So true. Even small children are having same attitude. This is why many of us had to move abroad.
Comment · 3 years ago
Thx. I have extended a bit as a script:

    # !/bin/bash
    ARG1=${1:-'select Date from stdin order by USD asc limit 1;'}
    curl -o - -Ls https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.zip \
  | funzip | sqlite3 -csv ':memory:' '.import /dev/stdin stdin' "${ARG1}"

    # Usage:
    $ ./run.sh 'select * from stdin limit 1;'
Comment · 3 years ago
Root-module: contains resources, sub-modules, incl. remote module calls.

Stack: deployable with hardcoded tfstate and tfvars configs.

Comment · 3 years ago
Use 'terraform destroy' during CI phase. That is your pre-prod.
Comment · 5 years ago
Have you tried emacs org mode?
Comment · 5 years ago
Interesting approach. Do you mind sharing link with repos?
Comment · 5 years ago
How could one selfhost localhost.run setup on own wildcard domaine?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton