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: |

As such, the SC would like to remind investors to always exercise caution when evaluating investment opportunities, especially those promising unrealistically high returns with little or no risk. Investors should also never deposit money into someone’s personal bank account if instructed. Founder Pavel Durov says tech is meant to set you free Ukrainian forces successfully attacked Russian vehicles in the capital city of Kyiv thanks to a public tip made through the encrypted messaging app Telegram, Ukraine's top law-enforcement agency said on Tuesday. In 2018, Russia banned Telegram although it reversed the prohibition two years later. "Your messages about the movement of the enemy through the official chatbot … bring new trophies every day," the government agency tweeted.
from tw


Telegram commit -m "better"
FROM American