کتابخونهی click پایتون، یه ابزار راحت تر از argparse برای توسعه برنامههای کامندلاینی
https://pypi.org/project/click/
https://pypi.org/project/click/
PyPI
click
Composable command line interface toolkit
در مورد actor model
https://doc.akka.io/docs/akka/current/typed/guide/actors-intro.html
https://doc.akka.io/docs/akka/current/typed/guide/actors-intro.html
doc.akka.io
How the Actor Model Meets the Needs of Modern, Distributed Systems • Akka Documentation
Akka is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.
Forwarded from Geeky Career (Mohammad Moallemi)
#ubuntu #python #sysadmin #apt #pip
SPOILER ALERT:
Upgrading the Python version on Ubuntu breaks some packages like apt and pip in your system!
[Bleeding SysAdmin crawling]
In this article we’re going to upgrade python and fix the issues.
https://mmoallemi99.com/blog/how-to-upgrade-to-python-3-9-0-on-ubuntu-18-04-lts-without-internal-bleeding/
SPOILER ALERT:
Upgrading the Python version on Ubuntu breaks some packages like apt and pip in your system!
[Bleeding SysAdmin crawling]
In this article we’re going to upgrade python and fix the issues.
https://mmoallemi99.com/blog/how-to-upgrade-to-python-3-9-0-on-ubuntu-18-04-lts-without-internal-bleeding/
Geeky Career
How to upgrade to Python 3.9.0 on Ubuntu 18.04
Upgrading the Python version on Ubuntu breaks some packages like apt and pip in your system! in this article we’re going to upgrade python and fix the issues
اگه هنوز شروع نکردی به یادگیری گیت، این لینک خیلی خوب توضیح داده.
https://medium.com/hackernoon/a-gentle-introduction-to-git-and-github-the-eli5-way-43f0aa64f2e4
و فارسی از زومیت
https://www.zoomit.ir/computer-learning/266427-git-github-fundamentals-tutorials/
https://medium.com/hackernoon/a-gentle-introduction-to-git-and-github-the-eli5-way-43f0aa64f2e4
و فارسی از زومیت
https://www.zoomit.ir/computer-learning/266427-git-github-fundamentals-tutorials/
Medium
A gentle introduction to Git and GitHub — the ELI5 way
Get started with streamlining your software development workflow using Git and GitHub in an easy to understand way.
نوشتههای ترمینالی
https://stackify.com/premature-optimization-evil/
چقدر امروز باهاش درگیر شدم :)))
کورس گمشده شما در دانشگاه
آموزش پایههای لینوکس/ اسکریپتنویسی و همه چیزهای جالب
انگلیسی:
https://missing.csail.mit.edu
(در حال ترجمه) فارسی
https://cs-fum.github.io/
ویدیوها
https://www.aparat.com/playlist/406966
آموزش پایههای لینوکس/ اسکریپتنویسی و همه چیزهای جالب
انگلیسی:
https://missing.csail.mit.edu
(در حال ترجمه) فارسی
https://cs-fum.github.io/
ویدیوها
https://www.aparat.com/playlist/406966
کاربرد
به طور خلاصه: اگر چیزی بعد از
https://unix.stackexchange.com/a/11382/420672
--
در bash به طور خلاصه: اگر چیزی بعد از
--
بیاد، دیگه به عنوان option اون command در نظر گرفته نمیشه.https://unix.stackexchange.com/a/11382/420672
Unix & Linux Stack Exchange
What does "--" (double-dash) mean?
I have seen -- used in the compgen command.
For example:
compgen -W "foo bar baz" -- b
What is the meaning of the -- in there?
For example:
compgen -W "foo bar baz" -- b
What is the meaning of the -- in there?
نوشتههای ترمینالی pinned «کورس گمشده شما در دانشگاه آموزش پایههای لینوکس/ اسکریپتنویسی و همه چیزهای جالب انگلیسی: https://missing.csail.mit.edu (در حال ترجمه) فارسی https://cs-fum.github.io/ ویدیوها https://www.aparat.com/playlist/406966»
چرا نباید از صفحه وب چیزی توی ترمینال کپی کرد
https://akhondali.ir/security/pastejacking-%DA%86%D8%B1%D8%A7-%D9%86%D8%A8%D8%A7%DB%8C%D8%AF-%D8%A7%D8%B2-%D9%88%D8%A8%D8%B3%D8%A7%DB%8C%D8%AA-%D9%87%D8%A7-%DA%86%DB%8C%D8%B2%DB%8C-%D8%B1%D9%88-%D9%85%D8%B3%D8%AA%D9%82%DB%8C/
https://akhondali.ir/security/pastejacking-%DA%86%D8%B1%D8%A7-%D9%86%D8%A8%D8%A7%DB%8C%D8%AF-%D8%A7%D8%B2-%D9%88%D8%A8%D8%B3%D8%A7%DB%8C%D8%AA-%D9%87%D8%A7-%DA%86%DB%8C%D8%B2%DB%8C-%D8%B1%D9%88-%D9%85%D8%B3%D8%AA%D9%82%DB%8C/
جعفر آخوندعلی
PasteJacking - چرا نباید از وبسایت ها چیزی رو مستقیم به ترمینال کپی کنیم؟ ~ جعفر آخوندعلی
زمان مطالعه: 2 دقیقه اگر نمیدونی مشکل چیه، کافیه این متن رو کپی کنی و توی ترمینال (یا هرجای دیگه) paste کنی. وات؟ یه حمله خیلی سادهِ قدیمیِ شهرستانی اما کمتر شناخته شده وجود داره معروف به Pastejacking. قضیه از این قرارِ که با جاوا اسکریپت این امکان وجود داره…
اگر اسکریپت bash مینویسید سعی کنید حتما
هم داشته باشید اولش
کارش اینه که اگه دستوری با خروجی غیر ۰ (یعنی error) پایان یافت، اسکریپت شما رو هم میبنده.
کاربردش اینه که اگه دستوری خراب شد و چیز ها مطابق چیزی که خواسته بودید پیش نرفت (مثلا یه cd ناموفق بود) همه چی خراب نشه.
set -e
هم داشته باشید اولش
کارش اینه که اگه دستوری با خروجی غیر ۰ (یعنی error) پایان یافت، اسکریپت شما رو هم میبنده.
کاربردش اینه که اگه دستوری خراب شد و چیز ها مطابق چیزی که خواسته بودید پیش نرفت (مثلا یه cd ناموفق بود) همه چی خراب نشه.