مثالهای زیاد و خوبی از دستور find
https://www.tecmint.com/35-practical-examples-of-linux-find-command/
https://www.tecmint.com/35-practical-examples-of-linux-find-command/
35 Practical Examples of Linux Find Command
The Linux Find Command is one of the most important and frequently used command command-line utilities to search and locate the list of files and directories.
قطع و وصل کردن player در حال پخش
با دستور playerctl
https://ostechnix.com/control-media-players-commandline-linux/
با دستور playerctl
https://ostechnix.com/control-media-players-commandline-linux/
OSTechNix
Control Media Players From Commandline In Linux - OSTechNix
In this guide, we will be discussing two simple utilities that can be used to control the media players from the Terminal in your Linux box.
ساخت hotkey های multimedia در لینوکس
https://medium.com/@jonas.elan/create-key-binding-for-media-control-on-linux-like-spotify-bdd60599145e
https://medium.com/@jonas.elan/create-key-binding-for-media-control-on-linux-like-spotify-bdd60599145e
Medium
Create key binding for media control on Linux (like Spotify)
If you don’t like controlling your music / videos with your mouse and don’t have multimedia keys to manage it, this tutorial is for you!
از ۲۰۱۷، فایرفاکس روند توسعهی pluginش رو بروزرسانی کرده. (به اسم WebExtensions API cross-browser technology)
میتونین از اینجا در موردشون بخونید:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions
میتونین از اینجا در موردشون بخونید:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions
MDN Web Docs
Browser extensions - Mozilla | MDN
Extensions, or add-ons, can modify and enhance the capability of a browser. Extensions for Firefox are built using the WebExtensions API cross-browser technology.
در مورد eval در javascript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
یه متد که کد js در قالب رشته میگیره (ران تایم) و اجرا میکنه.
خیلی نکوهیدهست استفاده ازش ولی مثلا یا یه خط میشه json parser نوشت!
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
یه متد که کد js در قالب رشته میگیره (ران تایم) و اجرا میکنه.
خیلی نکوهیدهست استفاده ازش ولی مثلا یا یه خط میشه json parser نوشت!
MDN Web Docs
eval() - JavaScript | MDN
The eval() function evaluates JavaScript code represented as a string and returns its completion value. The source is parsed as a script.
نوشتههای ترمینالی
در مورد eval در javascript https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval یه متد که کد js در قالب رشته میگیره (ران تایم) و اجرا میکنه. خیلی نکوهیدهست استفاده ازش ولی مثلا یا یه خط میشه json parser نوشت!
راه بهتر: استفاده از Function که میتونه همون کارایی رو ولی امن تر به ما بده.
چرا؟ چون کد رو در اسکوپ فعلی اجرا نمیکنه. بلکه یه تابع جدید با اسکوپ خودش میسازه.
https://stackoverflow.com/questions/4599857/are-eval-and-new-function-the-same-thing
چرا؟ چون کد رو در اسکوپ فعلی اجرا نمیکنه. بلکه یه تابع جدید با اسکوپ خودش میسازه.
https://stackoverflow.com/questions/4599857/are-eval-and-new-function-the-same-thing
Stack Overflow
Are eval() and new Function() the same thing?
Are these two functions doing the same thing behind the scenes? (in single statement functions)
var evaluate = function(string) {
return eval('(' + string + ')');
}
var func = function(string...
var evaluate = function(string) {
return eval('(' + string + ')');
}
var func = function(string...
هر مطلب jsی که میذارم یه نفر لیو میده.
به خدا خودمم دوستش ندارم ولی دیگه mainstreamئه :")
به خدا خودمم دوستش ندارم ولی دیگه mainstreamئه :")
برای خوندن char از اسکنر جاوا
https://stackoverflow.com/a/28008444/10999348
https://stackoverflow.com/a/28008444/10999348
Stack Overflow
Take a char input from the Scanner
I am trying to find a way to take a char input from the keyboard.
I tried using:
Scanner reader = new Scanner(System.in);
char c = reader.nextChar();
This method doesn't exist.
I tried taking c...
I tried using:
Scanner reader = new Scanner(System.in);
char c = reader.nextChar();
This method doesn't exist.
I tried taking c...
کتابخونهی 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.