Telegram Group & Telegram Channel
commit -m "better"
В фоне продолжаю заниматься своей home #lab. Там уже 3 ноды, автоматическая наливка с 0, нормальная сеть между всеми узлами (2.5gb), IaC для выкладки (конечно же, на основе #ix), сервисы сами рассказывают про себя через mdns, и вообще, красота. Коллеги,…
Мне тут сказали, что я не смогу запилить херобору, которая бы решала эту задачу, за 5 минут.

Вызов был принят, и вот результат:

Это демон, может быть запущен на нескольких хостах:

pg# cat run.sh
#!/bin/sh

set -xue

while true; do
sleep 1

etcdctl get --keys-only --prefix /tasks/ | grep '/' | while read l; do
etcdctl lock ${l} -- /bin/sh -c "(etcdctl get ${l} | tail -n +2 | /bin/sh) || true; etcdctl del ${l}"
done
done


Это клиент:

etcdctl put /tasks/${RANDOM} 'ls -la'


По ссылке - результат:

https://gist.github.com/pg83/3528e80835386fac13175aec353e5d3a
🔥16👍54❤‍🔥2🤯1🐳1



group-telegram.com/itpgchannel/1752
Create:
Last Update:

Мне тут сказали, что я не смогу запилить херобору, которая бы решала эту задачу, за 5 минут.

Вызов был принят, и вот результат:

Это демон, может быть запущен на нескольких хостах:

pg# cat run.sh
#!/bin/sh

set -xue

while true; do
sleep 1

etcdctl get --keys-only --prefix /tasks/ | grep '/' | while read l; do
etcdctl lock ${l} -- /bin/sh -c "(etcdctl get ${l} | tail -n +2 | /bin/sh) || true; etcdctl del ${l}"
done
done


Это клиент:

etcdctl put /tasks/${RANDOM} 'ls -la'


По ссылке - результат:

https://gist.github.com/pg83/3528e80835386fac13175aec353e5d3a

BY commit -m "better"




Share with your friend now:
group-telegram.com/itpgchannel/1752

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

What distinguishes the app from competitors is its use of what's known as channels: Public or private feeds of photos and videos that can be set up by one person or an organization. The channels have become popular with on-the-ground journalists, aid workers and Ukrainian President Volodymyr Zelenskyy, who broadcasts on a Telegram channel. The channels can be followed by an unlimited number of people. Unlike Facebook, Twitter and other popular social networks, there is no advertising on Telegram and the flow of information is not driven by an algorithm. Investors took profits on Friday while they could ahead of the weekend, explained Tom Essaye, founder of Sevens Report Research. Saturday and Sunday could easily bring unfortunate news on the war front—and traders would rather be able to sell any recent winnings at Friday’s earlier prices than wait for a potentially lower price at Monday’s open. But because group chats and the channel features are not end-to-end encrypted, Galperin said user privacy is potentially under threat. Telegram boasts 500 million users, who share information individually and in groups in relative security. But Telegram's use as a one-way broadcast channel — which followers can join but not reply to — means content from inauthentic accounts can easily reach large, captive and eager audiences. The last couple days have exemplified that uncertainty. On Thursday, news emerged that talks in Turkey between the Russia and Ukraine yielded no positive result. But on Friday, Reuters reported that Russian President Vladimir Putin said there had been some “positive shifts” in talks between the two sides.
from hk


Telegram commit -m "better"
FROM American