Skip to content

Instantly share code, notes, and snippets.

@jfayad
jfayad / ZAQ-os-CLA.md
Created June 6, 2026 19:30
ZAQ OS CLA

Contributor License Agreement

Thank you for contributing to ZAQ.

By submitting a Contribution to this repository or by accepting this Agreement through a ZAQ-designated contribution process, you agree that this Agreement applies to your past, current, and future Contributions to ZAQ, to the extent you have the right to grant the licenses described here.

1. Definitions

@jfayad
jfayad / docker-compose.yml
Last active April 21, 2026 17:46
Zaq Local - Quick setup
services:
paradedb:
image: paradedb/paradedb:0.23.0
container_name: zaq-paradedb
environment:
POSTGRES_DB: zaq_prod
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- pgdata:/var/lib/postgresql
defp aegir_commad(command) do
# open ssh connection to terminal
case ssh_connect do
{:ok, connection} ->
#str = SSHEx.stream connection, '#{command}', exec_timeout: 120000
ping = "ping -c " <> to_string(:rand.uniform(5)) <> " www.google.com"
IO.puts ping
str = SSHEx.stream connection, '#{ping}'
IO.inspect str