سلام دوستان ان شالله که تعطیلات نوروزی خوش گذشته باشه به همتون. سالی پر از موفقیت رو برای یکایک شما آرزومندم. ✌
به امید خدا از ابتدای هفته آتی ۱۸ ام فروردین کانال به روال سابق خود بر خواهد گشت. 💪
به امید خدا از ابتدای هفته آتی ۱۸ ام فروردین کانال به روال سابق خود بر خواهد گشت. 💪
In order to hide threads, to see real proccess in
#linux #htop #threads #threading
htop
, press H
to toggle between showing/hiding filter.#linux #htop #threads #threading
If you grep a keyword in a text file and wants to print line number of the found keyword use
#linux #grep #line_number
-n
with your grep command:grep -n "hello world" *
#linux #grep #line_number
There is a mechanism in firefox that you can record some user activities on your site in order to test it from 0 to hero! Katalon Recorder (Selenium IDE for Firefox 55+) is an add-on that can be used to record tests on firefox and export it into a file. You can use these test cases to play automated test cases on your server.
To download and install it on your browser head over to link below:
- https://addons.mozilla.org/en-US/firefox/addon/katalon-automation-record/
#firefox #katalon #selenium #test #test_automation
To download and install it on your browser head over to link below:
- https://addons.mozilla.org/en-US/firefox/addon/katalon-automation-record/
#firefox #katalon #selenium #test #test_automation
addons.mozilla.org
Katalon Recorder | Automated Selenium Tests Genera – Get this Extension for 🦊 Firefox (en-US)
Download Katalon Recorder | Automated Selenium Tests Genera for Firefox. Selenium IDE alternative to record and export Selenium scripts. Provides reports & screenshots. Fast & open-sourced.
با درود خدمت تمامی متخصصین نرم افزار
اینجانب به نمایندگی از گروه مشاورین مالی قرن طلایی فعال در حوزه استراتژِی نوین مالی هوشمند
در جهت تولید و بروزرسانی محصولات جدید در این حوزه.
به دنبال شناسایی و جذب و همکاری با دو نفر از دوستان برنامه نویس آزاد و خلاق هستم.
شرایط کاری بسیار منصفانه و مبتنی بر اصل برد برد و منافع تیمی خواهد بود .
بدین وسیله از دوستان فعال در سه مورد زیر دعوت به همکاری و گفتگوی اولیه می نمایم:
داده کاوی: Data Mining
معماری نرم افزار و الگوها
زبان های: Javascript _ Python
لطفا با شماره همراه 09126046229 تماس یا پیامک با ذکر تخصص ارسال نمایید
#job_offer #job #تبلیغات
In python you can use
A sample would be like:
Now another issue happens and a
#python #requests #InsecureRequestWarning #verify #urllib3
requests
to connect to an endpoint an fetch result or create a new endpoint and so on. When you GET
result from an endpoint which has an invalid https, the library will give an error. In order to solve this problem you can pass verify=False
to requests.get()
.A sample would be like:
payload = requests.get(url, auth=HTTPBasicAuth(username, password), verify=False)
Now another issue happens and a
WARNING
message appears in your log InsecureRequestWarning
. You can surpass this message as well by the command below:from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
NOTE:
I have done this on a local server behind a firewall, be extremely cautious in case you want to do this on your production server.#python #requests #InsecureRequestWarning #verify #urllib3
If you have an script and you want to clear the terminal before executing your script you can use the below control characters:
The above command will clear the screen by using
#python #chr #terminal #clear_terminal
print(chr(27) + "[2J")
The above command will clear the screen by using
Python
#python #chr #terminal #clear_terminal
سوال نرمش ذهن :)
میخواهیم یک دنباله از اعداد را به دو دسته تقسیم کنیم:
فرض کنید ورودی به شما nعدد میدهد، نام این لیست از اعداد را aبگذاریم.
میخواهیم aرا به دو لیست bو cتقسیم کنیم که اولا اعضای bو cبا یکدیگر اشتراک نداشته باشند،
ثانیا هر عضو از aدر یکی از لیست های bیا cباشد. مقدار مجموع اعداد لیست bرا Bو مقدار مجموع
اعضای لیست cرا Cنامگذاری میکنیم. میخواهیم این بخش بندی طوری صورت گرفته باشد که مقدار
B-Cبیشینه باشد.
ورودی:
ابتدا یک عدد nبه عنوان تعداد اعداد لیست aبه شما داده میشود، سپس در nخط بعدی اعضای
لیست aبه عنوان ورودی داده میشود: a1, a2, …, an
1 ≤ n ≤ 100
-100 ≤ a1, a2,…, an ≤ 100
خروجی:
مقدار B-Cرا چاپ کنید.
مثال:
Input
4 1 2 -3 0
Output
10
توضیح: بخش بندی بهینه به این صورت میشود:
b = {4, 1, 2, 0} وc = (-3}
در صورت رسیدن به جواب، پاسخ رو به @Pickle_Ali ارسال کنید.
میخواهیم یک دنباله از اعداد را به دو دسته تقسیم کنیم:
فرض کنید ورودی به شما nعدد میدهد، نام این لیست از اعداد را aبگذاریم.
میخواهیم aرا به دو لیست bو cتقسیم کنیم که اولا اعضای bو cبا یکدیگر اشتراک نداشته باشند،
ثانیا هر عضو از aدر یکی از لیست های bیا cباشد. مقدار مجموع اعداد لیست bرا Bو مقدار مجموع
اعضای لیست cرا Cنامگذاری میکنیم. میخواهیم این بخش بندی طوری صورت گرفته باشد که مقدار
B-Cبیشینه باشد.
ورودی:
ابتدا یک عدد nبه عنوان تعداد اعداد لیست aبه شما داده میشود، سپس در nخط بعدی اعضای
لیست aبه عنوان ورودی داده میشود: a1, a2, …, an
1 ≤ n ≤ 100
-100 ≤ a1, a2,…, an ≤ 100
خروجی:
مقدار B-Cرا چاپ کنید.
مثال:
Input
4 1 2 -3 0
Output
10
توضیح: بخش بندی بهینه به این صورت میشود:
b = {4, 1, 2, 0} وc = (-3}
در صورت رسیدن به جواب، پاسخ رو به @Pickle_Ali ارسال کنید.