@trading_pit_signal · Post #33784 · 02.02.2024 г., 14:01
WHO'S THE REAL KING. 👑 HELL YEAH BABY! 😎 That is how we do it! Who is the King baby? Let me know who is the King and send me those profit #screenshots! FEEDBACK
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #411 · 9 фев.
reload_flag="" if [[ -n "${DEBUG}" ]]; then reload_flag="--reload" fi if [[ -n "${WORKER_COUNT}" ]]; then workers=${WORKER_COUNT} else workers=2 fi gunicorn --workers ${workers} \ --bind 0.0.0.0:8000 \ ${reload_flag} main.wsgi Писали такие конструкции чтобы проверить наличие флага и сформировать команду правильно? На самом деле можно сделать тоже самое проще. Для этого используются операторы условной подстановки, доступные в оболочках семейства POSIX. :- для установки значений по умолчанию ${WORKER_COUNT:-2} Если переменная не объявлена, то будет дефолтное значение 2. :+ подставляет указанный текст, если переменная не пуста ${DEBUG:+--reload} Если что-то есть в переменной то распечатается текст после символа +, в противном случае - ничего. Удобно для опциональных флагов, как в нашем примере. Итого наш скрипт может выглядеть так: gunicorn --workers ${WORKER_COUNT:-2} \ --bind 0.0.0.0:8000 \ ${DEBUG:+--reload} main.wsgi Есть еще два оператора. := не только подставить дефолтное значение, но и присвоить его переменной, если она пуста # никаких переменных еще нет VAL1=${VAL2:=hello} # теперь доступны обе echo $VAL1 $VAL2 # hello hello :? остановить выполнение с ошибкой, если переменной нет. echo ${MISS:?is required} bash: MISS: is required Код выхода будет 1. #tricks#linux
Пребарај: #screenshots
@trading_pit_signal · Post #33784 · 02.02.2024 г., 14:01
WHO'S THE REAL KING. 👑 HELL YEAH BABY! 😎 That is how we do it! Who is the King baby? Let me know who is the King and send me those profit #screenshots! FEEDBACK
Hashtags
@trading_pit_signal · Post #33587 · 31.01.2024 г., 13:51
WHO'S THE REAL KING. 👑 HELL YEAH BABY! 😎 That is how we do it! Who is the King baby? Let me know who is the King and send me those profit #screenshots! FEEDBACK
Hashtags
@trading_pit_signal · Post #33082 · 23.01.2024 г., 13:47
WHO'S THE REAL KING. 👑 HELL YEAH BABY! 😎 That is how we do it! Who is the King baby? Let me know who is the King and send me those profit #screenshots! 🔠 🔠 🔠 🔠 🔠 🔠 🔠 🔡
Hashtags
@libreware · Post #1001 · 27.10.2021 г., 00:44
DisableFlagSecure Disable FLAG_SECURE on all windows, enabling screenshots in apps that normally wouldn't allow it. https://github.com/LSPosed/DisableFlagSecure/releases/ #DisableFlagSecure#LSPosed#screenshots
@Temipercaso · Post #103 · 15.02.2021 г., 15:06
https://t.me/addtheme/nightskymukkas @temipercaso🎨🧩 • #Android • #night#stars#gold#black#blue#dark⬆️ This theme is cool also with #fullcolor wallpaper RGB 213039, HEX #151E27 📲 Long #screenshots friendly
@githubtrending · Post #15474 · 07.02.2026 г., 11:30
#javascript#android#genymobile#gnirehtet#gui#hacktoberfest#hacktoberfest2025#hacktoberfest2026#linux#macos#mirroring#recording#scrcpy#scrcpy_engine#scrcpy_gui#screensharing#screenshots#windows Escrcpy lets you mirror and control your Android device on a computer with low-latency scrcpy tech, plus smart AI commands, multi-device management, wireless links, and automation. Install easily via releases or Homebrew on macOS. This helps you test apps, game smoothly on big screens, manage phones efficiently, and save time without rooting or ads—boosting productivity for developers, gamers, and users. https://github.com/viarotel-org/escrcpy