teleren/devto huggingface dataset:
شركة الامريكية
Tags: css, news, showdev, cloud
Published: 2022-03-10 12:02:44

توفر الشركة الامريكية الكثير من الخدمات المنزلية الضرورية  كتركيب المكيفات و خدمات العزل و غيرها من الخدمات المنزلية الاخرى.

يعتبر التكييف من أساسيات الأجهزة الكهربائية في المنزل بسبب درجات الحرارة المرتفعة، لذلك يحرص الجميع على تنظيفه باستمرار من الأتربة أو الشوائب للحفاظ عليه من الأعطال والتلف. 
مع تقدم فصل الصيف يصبح الحاجة لاستخدام التكييفات امر ضروري ومن لديه تكييف يقوم على اعادة تشغيله وتصليحه كي يكون جاهزا في طقس الصيف الحار ، و لذلك تعمل العديد من الشركات في المدينة المنورة على تقديم العديد من خدمات تركيب التكييفات والصيانة للمكيفات.
و هذه الشركة تعمل على توفير العديد من الخدمات للمنازل و الشركات ، و هذه الخدمات تتمثل في تركيب التكييفات ، هذا فضلا عن العديد من الخدمات التي تتمثل في عدد من احتياجات المنزل ، و التي تشمل مختلف أنواع الصيانة و التي تناسب كل أنواع التكييفات ، كل نوع على حدة ، هذا فضلا عن توفير خدمات نقل و تركيب التكييفات و ذلك في مختلف أنواع المكيفات السبليت و المكيفات الشباك و المخفي و الشيلر و غيرها العديد من الأنواع ، كما أن الشركة توفر العديد من الخدمات المتميزة ، و التي تشمل الخدمات المضمونة و التي توفر معدل سلامة مضمون لكافة أفراد الأسرة . 

[شركة تركيب مكيفات سبليت بجدة]( https://usa-cleanwater.org/%d8%aa%d8%b1%d9%83%d9%8a%d8%a8-%d9%85%d9%83%d9%8a%d9%81%d8%a7%d8%aa-%d8%b3%d8%a8%d9%84%d9%8a%d8%aa-%d8%ac%d8%af%d8%a9/)

تعرض العديد من المنازل للضرر والانهيار نتيجة العديد من العوامل التي تواجهها ، وحتى لو لم نستسلم لهذه الأضرار ، فقد توصلنا إلى طريقة لمعالجة هذه المشاكل ، وأهمها الترميم ، و ونقصد بذلك الأماكن المتضررة في المباني سواء كانت أسقف أو حوائط حدثت فيها الكثير من الخدوش أو الشقوق أو الأعطال. التي تؤثر على نظام السباكة والأنابيب والكهرباء ، أو تلف الأرضيات والسيراميك ، أو تغيير في الدهانات والديكورات ، وكل ذلك يمكن معالجته من خلال عملية ترميم المنازل.
تعمل الامريكية في مجال تجديد المنازل منذ سنوات عديدة ، وهذا يساعدها على معرفة أفضل السبل التي يمكنها من خلالها أداء مهمة ترميم المباني على أعلى مستوى ، حيث تضم مجموعة من المتخصصين من بينهم مصممي الديكور الداخلي الذين لديهم القدرة على جعل المنزل مكانا مميزا من خلال الاعتماد على أحدث وأجمل الألوان ، كما أنه يعالج جميع المشاكل الموجودة في المنزل.

[شركة ترميم منازل بجدة]( https://usa-cleanwater.org/%d8%b4%d8%b1%d9%83%d8%a9-%d8%aa%d8%b1%d9%85%d9%8a%d9%85-%d8%a8%d8%ac%d8%af%d8%a9/)
Application monitoring for serverless applications
Published: 2022-03-10 12:01:45

Apilytics is the tool you've been waiting for to montor your applications running in serverless environments. Our way of logging the application metrics directly from an API middleware makes it a perfect solution for any serverless application.

### Monitor individual functions
With Apilytics you have the freedom to monitor individual serverless functions or you can set up a broader middleware that monitors all of your functions.

### Works with every cloud provider
You can be sure that Apilytics works in every serverless environment so you will never face a vendor-lock situation.

### Combine with other APIs
If your application is consisting of multiple APIs, some of which might be running in serverless environments, you can simply use the same API key to monitor them and you will see metrics from them as separate endpoints in the same dashboard.

Check out our live demo at: [apilytics.io](https://www.apilytics.io/origins)
Docker Network
Tags: docker, network
Published: 2022-03-10 11:58:35

---
title: Docker Network
published: true
description: 
tags: Docker,network
series: Docker
cover_image: https://res.cloudinary.com/practicaldev/image/fetch/s--RlqwldxD--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ehd9wcdwrvrn9bu5g4z5.jpg
---

Docker has a lot of networks! There are some networks:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xa5kvtq2x7s3j7agl1id.jpg)

I will try to list them and try my best to explain them.

## None

Well! This is easy, none means none! None network for docker container, right?

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/03kh68yk774ytzx177bl.jpg)

Although that we can use network in host, we cannot use network in docker container.

But we can use docker daemon to talk with container when we are in host.

```shell
$ docker run --net=none <image>
```

## Host

The second network is host. It will just use the host's network. Sometime it will be danger but it is really easy to use and it has better network I/O speed!

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wvxufqqmzc2brappqq8j.jpg)

But if you are not sure that you really need it, please do not use it in production environment.

```shell
$ docker run --net=host <image>
```

## Bridge

Bridge is usually a hardware that works on the [Link Layer](https://en.wikipedia.org/wiki/Link_layer). It is used to make two or more networks into just one.

And it is also the default network mode.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ph6rsztn9zy86kti2oq1.jpg)

(The card in the host machine is the network card)

But in docker, we can have a bridge works in Linux kernel. Well it is cool.

At first, docker will create a virtual bridge, named `docker0`. If you use the command `ip a` in shell, you will find the bridge `docker0` created by docker.

And bridge mode is default mode.

To use the network, the container will have an mocked Ethernet network card. It's name is `eth0`, which is linked to `docker0` bridge to communicate with host and the great Internet!

```shell
$ docker run <image>
```

## Overlay

## At the end

Thank you Krita! I enjoy draw picture with open source application!
Terminal komandalar | 2
Tags: beginners, programming, terminal, uzbek
Published: 2022-03-10 11:54:41

##`build-essential`
- Bu komanda C/C++ tillarini kompliyatorga o'rnatadi
- `sudo apt-get install build-essential`
##`nano` bo'limi orqali `code` yozasiz masalan;
```cpp
#include <iostream>
using namespace std;
int main() {
cout << "Hello world!" << endl;
return 0;
```
- Bu codeni saxranit qilish uchun `ctrl x` tugmasi bosiladi
- Bundan so'ng *yes* tugmadi bosiladi
- Terminalga qaytib `code` yozilgan file ichiga kirasiz
- o'sha fileda sizni codeingiz ko'rsatiladi.
#1 How to find a particular character in string?? (*The thought process)
Tags: javascript, programming, tutorial, webdev
Published: 2022-03-10 11:24:50

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6fr5xl2uihrddqltj7in.png)

The above code snippet might be total utter for the beginners. 

I myself struggled a lot while learning code(still struggling '-'). But I've improved myself over the ears(my eyesight was in negative though ngl)...  sorry years by copying same code again and again.

Just kidding ...but most of us do right? Copying same thing again and again but still struggling. SO why is that?

What I've learning is that copying code is not bad but not putting thoughts in it is bad. 

As you can see the code below

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/no9f676h90g189fmwxrg.png)

## I'm gonna explain my thought process here.

1. As we are seeing in first line there's a variable str storing string in it.

2. I want to extract only fullstops (.)(.)...hehe (note* 2 fullstops for plural) .  Yea so we only want fullstops from the string.

3. So what can I do?

4. First I want to know the ascii code of each character.

5. So I googled it.

6. I got the results.

7. Then I just compare the ascii code to integer value. If matched then print it to console. Oh..... you can use trim function to trim the space.

At the end I just wanna say focus on finding the solution rather then code. You can always google the code for it if you have the solution. Break it in steps. Do things step by step. It will help you in long run. Google code not solution!!!!
اعلانات الكويت
Tags: javascript, productivity, opensource, discuss
Published: 2022-03-10 11:14:42


نقدم أسهل طريقة لصيانة وفتح جميع أنواع الأقفال.
يحافظ الفريق على المواعيد ويقدم خدمة فريدة من نوعها في المجال ، بأحدث وأكبر المعدات لإكمال العمل اللازم
السرعة والبراعة في أداء المهام لأن لدينا خبرة واسعة في هذا المجال وقادرون على التعامل مع الأقفال المختلفة دون التسبب في كسرها.

[فتح اقفال]( https://adsqw.com/blog-page_4)

التخصص والتميز أسس إتقان أي مجال وهذا ما يقدمه النجار الكويتي لعملائه الكرام
التركيب الاحترافي للألواح الخشبية وتركيب أنواع مختلفة من الرفوف وتركيب الإطارات.
كما توفر فنيين مؤهلين تأهيلا عاليا لتقديم الخدمة. هدفنا هو تقديم أفضل خدمة في جميع الجوانب المتعلقة بالمنتجات الخشبية لإرضاء العملاء والنتائج الفريدة. 

[نجار الكويت]( https://adsqw.com/%d9%86%d8%ac%d8%a7%d8%b1-%d8%a7%d9%84%d9%83%d9%88%d9%8a%d8%aa/)

تقدم الشركة خدمات عزل الأسطح بأعلى جودة للمواد والدقة اللازمة. إذا حدث خطأ ما ، على مدار السنة
لدينا المهارات للتواصل مع عملائنا ولدينا أعلى مستوى من خدمة العملاء ، مما يسهل على جميع عملائنا الوصول إلينا.

[عازل اسطح]( https://adsqw.com/%d8%b9%d8%a7%d8%b2%d9%84-%d8%a7%d8%b3%d8%b7%d8%ad-%d8%a7%d9%84%d9%83%d9%88%d9%8a%d8%aa/)
How To manage collection data in laravel?
Tags: laravel, collection, webdev, tutorial
Published: 2022-03-10 11:05:45


![How To manage collection data in laravel](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eqcn259mgagqq1w8x7o2.png)
The Collection class provides a convenient wrapper for working on an array of data. we are to manage collection in laravel. Below is an example of a collect helper which creates a new collection of instances, processes upper case on the element, and removes the nullable element.
```
$collection = collect(['taylor', 'abigail', null])->map(function ($name) {
    return strtoupper($name);
})
->reject(function ($name) {
    return empty($name);
});
```
## Creating Collection-
The collect helper returns a new collection instance for the given array. Every Eloquent query returns collection instances. Afterward, we will manage collection data in laravel.
```
$collection = collect([1,2,4]);
```
[Read More](https://www.devrohit.com/manage-collection-in-laravel/)
Connect PS5 or PS4 with Discord (PC, iPhone or Android)
Tags: discord, playstation
Published: 2022-03-10 11:02:57

In May of last year (2021) PlayStation announced its collaboration with Discord and therefore committing itself to PS4 and PS5 users being able to use the Discord Chat platform from their video game console system. However, since then PlayStation users have been waiting for Discrod's integration with PS4 or PS5 to take place. Well, after several months without news, the integration is finally ready and now you can use Discord on your PlayStation.

It should be noted that this integration is done through Discord and Playstation Networ (PSN) and although it began to be available in the United Kingdom and the United States, it is now available to users from all over the world, including Spain, as it could not be otherwise.

It should also be mentioned that at the moment the integration is quite limited, as currently the PS and Discord link is limited to displaying your PSN username and the username of the game you are currently playing on your Discord account. , as it does with PC games. However, this does not mean that in the future this collaboration will allow you to chat with your Discord friends directly from the console during your games. It may just be a matter of time.

Once these details have been clarified, in this tutorial we will show you in detail how to connect your Discord account with PS5 and PS4 through PSN (PlayStation Network) :

Link your Discord account with your PS5 or PS4 game console from PC or Web.
Open the Discord app on your computer or the web version of the platform.

When you are in the interface, you will have to click on the gear icon next to your username (bottom left of the interface)

This will take you to the Discord settings.

In the menu on the left, go to the section: Connections

Now you will see how in the central part there is a list of platforms with which to connect your Discord account. Among them you will find the icon of: PlayStation (PS)

After clicking on this icon, a new tab will open in your web browser where you will need to log in to your PlayStation (PSN) account.

As soon as you have logged into your PS account, you will need to verify and accept the link details.

As mentioned before, once the two platforms are linked, you can enable the ability to display not only your PSN username on your Discord profile, but also the name of the game you're currently playing. on your PS5 or PS5.

Connect Discord with your PS5 or PS4 game console from the iPhone or Android app.
Open the Discord app on your iPhone or Android.

Within the interface, click on your profile picture section.

Here you have to select: Connections.

On the next screen click on: Add (upper right corner)

The list of available platforms will be displayed in which you have to select: PlayStation Network

You will be redirected to the Sony website where you need to sign in to your PlayStation account.

After logging in, you will be shown the details of the link, which you must accept.

You will automatically be sent back to the Discord app where you can decide whether or not you want to display information such as:
Cancel your Xbox Game Pass subscription
Tags: xbox, subscription
Published: 2022-03-10 11:01:02

The Xbox and Windows video game experiences have been improving considerably, becoming fully integrated. Nowadays, thanks to the Xbox Game Pass, you can enjoy a multitude of video games both on the Xbox game console and on your Windows 11 computer. However, the Xbox video game pass is a subscription plan which can be canceled at any time.


XBox Game
The Xbox Game Pass is a subscription to a service that gives you access to hundreds of games for "free" both on your computer and on your Xbox game console. In addition, many of these video games have an option called Xbox Cloud Gaming, which is a cloud gaming service. All this makes it very attractive to subscribe to Xbox Game Pass.

The Xbox Game Pass subscription is charged monthly so, if at any time you stop using it, or you simply do not want to continue paying the subscription, you can cancel the subscription so that this cost is not charged to your bank account again.

Canceling your Xbox Game Pass subscription can be done from virtually any device with internet access since you will only have to use a Web browser, so this tutorial can be carried out both from a computer and from a mobile device.

Having said that, here is a tutorial in which you will learn how to cancel your Xbox Game Pass subscription from your computer or mobile phone.

How to cancel your Xbox Game Pass subscription from your computer or mobile.
Open the web browser on your PC or mobile phone.

Once here you will have to access the following URL: account.microsoft.com/services

If you don't have automatic sign-in set up, sign in with your Microsoft account.

After accessing the service section you will have to locate your: Xbox Game Pass

Just to the right of it, you will find the option that you will have to click: Manage

This will take you to a new screen with all the details of the Xbox Game Pass subscription and just below them you will see the option: Cancel the subscription

A new screen will be displayed in your browser, in which you will again have to confirm your action by clicking the Blue button: Cancel Subscription

To finish, on the last screen you have to choose how you want to cancel your subscription:
Do not charge me until the following month.
Cancel immediately and receive a refund

Select the desired option and then click on the blue button: Cancel subscription.
This will finally cancel your subscription under the terms of the selected method.
Enable two-step verification on Discord
Tags: discord
Published: 2022-03-10 10:59:26

we have already talked on many occasions about the popularity that Discord has reached, especially in the video game sector, however, we have not yet talked about the security measures offered by the platform to protect user data. In fact, Discord allows you to activate two-factor authentication to log in to your user account.


Discord users usually save personal and potentially sensitive information, especially because through this platform we can have conversations through chats. Many of these chats will be practically irrelevant, however, in many other personal or sensitive information can be shared that you do not want to end up in the hands of third parties.

To prevent sensitive information from your Discord account from ending up in the hands of third parties, the first thing we should do is improve the security of the login. As is evident, the first thing that every Discord user should do is use a password of more than 8 characters that includes uppercase and lowercase letters, numbers, and special characters.

How to enable discord two step verification
What many Discord users know is that we can still improve the security of our account, activating Discord's two-step authentication which adds another layer of security. Once Discord's two-step verification is activated, in addition to requiring the user password, you will also have to use a random and expired code generated by third-party apps such as Google Authenticator.

That said, below, we want to show you step by step how to activate two-step verification in your Discord account to increase security and prevent third parties from accessing your user account if your login is stolen:

How to enable two-step authentication on your Discord account (Google Authenticator)
Open the Discord program or access the Web version of the platform.

Sign in with your user account.

Once inside your Discord account, you must click on the gear icon next to your username (bottom left of the interface)

This will take you to the Discord settings screen.

Here you have to go to the option: My Account.

Now you will see how the Two-Factor Authentication section is displayed in the main part of the screen.

In this section you will have to click on the button: Enable two-factor authentication .

In order to activate it, you will have to enter the password of your Discord user account.

This will cause a pop-up window to open displaying the QR code as well as the manual activation key.

At this point, you will need to scan the QR code with the Google Authenticator app or enter it manually.

Once the new security code generator for Discord is added, you must use the code shown and valid for 30 seconds to enter it in the QR code screen that is displayed in Discord.

Next line you will have to click on the button: Activate.

From this moment on, the two-step verification will be activated and therefore, in order to access your Discord user account you will have to use the Google Authenticator security codes in addition to the user password.
Make my first project !
Tags: beginners, python, tutorial
Published: 2022-03-10 10:54:21

Hey there !

I don't know why but I want to tell you all that I just finished my first real project in development !

I'm a very noob dev who wants to learn, learn and learn everyday. I was lost at the begining so I decided to follow a Python RogueLike Tutorial here on dev.to 
I have code everyday a bit. In three weeks, I've finished this tutorial and modify the code as I wanted. Add somes items, monsters etc. 

I think I don't assimilated 100% of the tutorial but I earned some knowledge and skills and I'm proud of me.

I don't know what to do next and wish some advices from all of you. What should I do ? Keep following new tutorials ? Read some lessons ? 

Anyway, I wish you all a very good day/night wherever you are on this planet
Синхронизация файлов без регистрации и СМС - lsyncd
Tags: lsyncd, rsync, inotify
Published: 2022-03-10 10:52:33

В одном из проектов RNDSOFT появилась необходимость обеспечить высокую надежность продукта при работе со сторонним софтом. И не просто с софтом, а таким, который работает с файлами - в самом что ни на есть ["файловом"](https://www.quobyte.com/storage-explained/posix-filesystem) виде. Далее я рассмотрю решение и подводные камни, о которые можно распороть пятку…

Читать тут: [https://blog.rnds.pro/024-lsyncd/](https://blog.rnds.pro/024-lsyncd/?utm_source=devto&utm_medium=post)
Python - Using a virtual environment.
Tags: tutorial, python, devjournal, beginners
Published: 2022-03-10 10:50:00

## Introduction - Why use a virtual environment?

Using a virtual environment allows you to avoid installing Python modules globally which could break system tools or other projects. 💥

---

## Installation

If you are using Python 3.3 or newer the "venv" module is the preferred way to create and manage virtual environments. 

You can check what version of Python you have via:

```bash
python --version
```

If the version is older than 3.3 you can install the "virtualenv" module:

```bash
pip install virtualenv
```

---

## Creating the virtual environment

Creating the virtual environment is easy and can be done via:

```bash
# venv
python3 -m venv env

# virtualenv
virtualenv env
```

---

## Activating the virtual environment

Before you can start installing modules etc, you need to activate the environment. Activating the virtual environment will put the environment specific "python" and "pip" executables into your shell's path.

```bash
source env/bin/activate
```

You can check if the path has been updated via echoing it.

```bash
echo $PATH
```

You should see the virtualenv directory being listed at the front. 😎

---

## Deactivating the virtual environment

Once you are done with the virtual environment you can simple deactivate it.

```bash
deactivate
```

Simples. 😎

---

## Should you commit the virtual environment directory?

I personally wouldn't recommend it. 

I'd recommend putting the modules you need in a "requirements.txt" file, creating the virtual environment on the deployment server and then installing the modules needed via:

```bash
pip install -r requirements.txt
```

Don't forget to add the virtual environment directory to your ".gitignore" file. 😃 

- - - -

Like me work? I post about a variety of topics, if you would like to see more please like and follow me.
Also I love coffee. 

[![“Buy Me A Coffee”](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ethand9999)