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

Emerson Brooking, a disinformation expert at the Atlantic Council's Digital Forensic Research Lab, said: "Back in the Wild West period of content moderation, like 2014 or 2015, maybe they could have gotten away with it, but it stands in marked contrast with how other companies run themselves today." The Russian invasion of Ukraine has been a driving force in markets for the past few weeks. NEWS "Markets were cheering this economic recovery and return to strong economic growth, but the cheers will turn to tears if the inflation outbreak pushes businesses and consumers to the brink of recession," he added. The perpetrators use various names to carry out the investment scams. They may also impersonate or clone licensed capital market intermediaries by using the names, logos, credentials, websites and other details of the legitimate entities to promote the illegal schemes.
from ye


Telegram commit -m "better"
FROM American