Tech C**P
14 subscribers
161 photos
9 videos
59 files
304 links
مدرس و برنامه نویس پایتون و لینوکس @alirezastack
Download Telegram
We deployed a server for MongoDB due to the slowness we talked before. The new deployment of MongoDB with server customization was 250 Times faster than before! And 6 Times smaller than the previous database size!

#mongodb #mongo #dba
Tech C**P
#2 The Money Episode w_ Minted's Mariam Naficy.mp3
مصاحبه با مریم نفیسی co-founder سایت eve و یکی از کارآفرینان مطرح آمریکا در مورد نحوه رشد شرکت و جذب سرمایه گذار و...
Tech C**P
#3_Beauty_of_A_Bad_Idea_w__Walker.mp3
Here it is discussed that when you have a bad idea that people laugh at, it seems that it's a good idea. :)

Some real world examples are given here that some bad ideas went successful.
Have you seen that when you want to query from MongoDB in shell it just prints the last 10 records and prompts to enter it in order to see more? Well in MongoDB shell you can issue the below command to say how many records to return:


DBQuery.shellBatchSize = 3000


If you enter the above command in MongoDB shell and use find to query a collection that has more than 3000 documents, 3000 documents will be returned at once.

#mongodb #mongo #shellBatchSize #limit
Tech C**P
WaitWhat – #4 Facebook's Mark Zuckerberg in Imperfect is Perfect
در این پادکست ارزشمند خواهید شنید چگونه مارک زاکربرگ از سنین 10-11 سالگی شروع به برنامه نویسی کرد و چگونه فیسبوک در دوران دانشگاهش شکل گرفت. آیا خود زاکربرگ فکرش را می کرد فیسبوک به اینجا برسد؟ شعار فیسبوک از ابتدا چه بوده است؟

جواب این سوالات همه در پادکست "مصاحبه با زاکربر" از زبان خالق فیسبوک
سلام دوستان ان شالله که تعطیلات نوروزی خوش گذشته باشه به همتون. سالی پر از موفقیت رو برای یکایک شما آرزومندم.

به امید خدا از ابتدای هفته آتی ۱۸ ام فروردین کانال به روال سابق خود بر خواهد گشت. 💪
In order to hide threads, to see real proccess in 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 -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
با درود خدمت تمامی متخصصین نرم افزار
اینجانب به نمایندگی از گروه مشاورین مالی قرن طلایی فعال در حوزه استراتژِی نوین مالی هوشمند
در جهت تولید و بروزرسانی محصولات جدید در این حوزه.
به دنبال شناسایی و جذب و همکاری با دو نفر از دوستان برنامه نویس آزاد و خلاق هستم.
شرایط کاری بسیار منصفانه و مبتنی بر اصل برد برد و منافع تیمی خواهد بود .
بدین وسیله از دوستان فعال در سه مورد زیر دعوت به همکاری و گفتگوی اولیه می نمایم:
داده کاوی: Data Mining
معماری نرم افزار و الگوها
زبان های: Javascript _ Python

لطفا با شماره همراه 09126046229 تماس یا پیامک با ذکر تخصص ارسال نمایید

#job_offer #job #تبلیغات
In python you can use 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