teleren/devto huggingface dataset:
Open 2 channels or chats at the same time in Slack
Tags: slack, tabs, opentwotabs
Published: 2022-03-10 13:12:48

Slack is increasingly used by work teams focused on one or several projects at the same time. In addition, it should be noted that Slack is compatible with other platforms, so it can be perfectly integrated with other services and tools that complement the functions and make work easier. However, Slack comes with many features by default, such as the ability to display two Slack channels or chats at once.


Slack
If you have ever had several simultaneous conversations through Slack, you may be annoyed by having to switch between these conversations using the mouse through the menu on the left side of the interface. Well, Slack has a built-in option called: Split View.

What happens is that Slack will split the view of the interface showing 2 columns of content. This way you can keep two chats open at the same time in the same Slack window. This will allow you to have two conversations simultaneously without having to select one and the other each time you want to send a message.

If you are interested in using the split view in Slack that allows you to have 2 conversations at the same time on the same screen, here is how to do it in the Slack program for Windows, Mac or from the Web version:

How to use Slack's split view to have two chats open on the screen.
Open the Slack program for Windows or Mac or if you prefer, access Slack on the web version from your browser.

Once you have logged in, you will need to click on any of the items on the left section of the screen.

This will make for example a chat to be shown in the main part.

The next thing will be to hold down the Ctrl key on Windows or the Cmd key on Mac.

Without releasing the key, you must click on any other element on the left side of the interface.

After clicking, for example, on a channel, you will see how this channel opens on the right side of the program's interface, leaving the previous conversation visible plus the new one selected.

By default the second element that we open in Slack will be shown somewhat narrower, however, you can modify the size of any of the columns by simply clicking and holding on the separation between the two columns and dragging it to the right or left .

When they have the desired width, release the mouse and now each conversation will have the desired size.

how to have two chats open at the same time on the slack screen

Now you can chat in two conversations at the same time without having to switch between them.

On the other hand, if you press the key again and select another item from the left menu, it will replace the chat that is further to the right.

If at any time you want to return to the individual view, you will only have to click on the X icon in the column on the right side of the screen.
Prevent Steam from opening when starting Windows or MacOS
Tags: steam
Published: 2022-03-10 13:11:03

Steam is the most popular video game platform in the world. Although it has a Web version, the truth is that to install video games and enjoy them, you must install the desktop client. This client does not consume many resources of your computer in case you are not playing video games, however, most users do not want the program to run in the background, which is a problem because by default Steam opens automatically with the start of the Windows or MacOS operating system on your computer.

Starting Steam automatically when your computer starts up is not to the liking of all users. Fortunately, there are a few ways to prevent this from happening by disabling it in the Steam client or by changing the Settings for programs that start at startup of the Windows 10 or macos operating system.

Therefore, if you are worried about the slow start of your operating system, it is highly recommended to disable the opening of Steam during the startup of your computer since your computer will not spend resources opening the program and will only focus on the startup of your computer.

In this tutorial you will learn how to disable the startup of the Steam program during the startup of your computer's operating system, which can cause slower startups by having to use hardware resources at the startup of the program instead of the startup of the computer.

If you want to know how to prevent Steam from opening on startup automatically, especially if you are concerned about slow startup times, you can follow the steps below:

How to disable Steam launch during startup of your Windows or Mac computer.
Open the Steam program for Windows 10.

In the program interface you will have to click on the tab: Steam

When the menu is displayed you will have to select the option: Parameters

In the new window that opens you have to go to the section: Interface

Now you have to make sure to uncheck the option: Load Steam when the computer starts

Finally, to save the new configuration you only have to click on the button: Accept

Done, now Steam will not start automatically when we start our Windows 10 computer.

Prevent Steam from opening during startup of your Windows 10 computer
Windows 10 has a specific setting to enable or disable the programs that should be loaded/started during the boot of the operating system. If we disable Steam in this setting, the program will not run at startup even if the specific settings of the program are different.

To disable Steam from the Windows 10 startup settings, the following link shows in detail how to do it: How to remove or add startup programs in Windows 10
Disable the Chromecast function in Google Chrome
Tags: googlechrome, windows
Published: 2022-03-10 13:10:02

Web browsers, such as Google Chrome, allow you to send content to your television or screen through broadcasting or retransmission devices such as Chromecast. This allows you to send any content from your computer to the screen or television. However, many users do not want or want to disable this remote content delivery feature.


Chromecast function
Sending content remotely is done through the send function represented as the Cast icon. Google Chrome allows you to send any open tab in your browser or even send everything that is displayed on the desktop of your Windows 10 computer to your TV. In addition, there are many websites such as YouTube that allow you to send videos directly to your TV or monitor via Chromecast.

This is usually a very useful function for example to watch movies played on your computer directly on a television or screen wirelessly through the local internet network. However, it may happen that some user does not want this function to remain active.

The decision to disable the function of sending content through Google Chrome to a screen or TV is a very personal one. However, the most common reason why users may decide to disable the sending of content from your Chrome browser is parental control or to avoid accidentally sending content from your computer to the TV unexpectedly and interrupting what you are doing. viewing at that time.

That said, below we will show you step by step how to deactivate the function of broadcasting content from your Google Chrome browser to a television or screen through a Broadcast device such as Google Chrome:

How to disable Chromecast function in Google Chrome.
Open your Google Chrome browser.

In the taskbar you must enter the following:

chrome://flags/

Once in the flags configuration you will have to search for the term:

Now in the search results the configuration of the function that we want to deactivate will be displayed.

Just to the right of said configuration you must display the menu and select the option: Disable

Finally, you only have to save the changes by clicking on the button: Relaunch

Once the Google Chrome browser has been restarted, the Chromecast function will be disabled and you will not be able to send content from your Google Chrome browser to a TV or Monitor through ChromeCast.
Dativejs {{#if}} block
Tags: dativejs, javascript, webdev, programming
Published: 2022-03-10 12:50:14

When building a project with dativejs you might want to conditionally render a tag / anything

Then 🤯 You might be like 
> 🤔 How can I achieve that

Don't worry `dativejs` has it 

That's why we introduced the `{{#if}}` block


### Usage

```html
{{#if isOpen}}
  <h1>It's open</h1>
{{/if}}
```


What if you also need to show some stuffs if the condition value is false

There is also an ``{{:else}}`` and ``{{:else if}}``


They work just same as the JavaScript `if`,`else`,`else if`

### Usage

```html
{{#if isOpened}}
  <h1>😇</h1>
{{:else}}
  <h1>😔</h1>
{{/if}}
```

You can add the `{{:else if}}` also
```html
{{#if isOpened}}
  <h1>😇</h1>
{{:else if isHated}}
  <h1>😐</h1>
{{:else}}
  <h1>😔</h1>
{{/if}}
```



Thanks for reading


Next tutorial will be on the `{{#each}}` block
🗃️ Install Git on Windows
Tags: git, beginners, tutorial, programming
Published: 2022-03-10 12:43:17

## What is Git?
GIT is a version control system designed by Linus Torvalds with the efficiency, reliability, and compatibility of application versioning in mind when applications have many source code files.

## How to install Git?
First, we need to check if we have Git installed on our PC, by typing the following command in the terminal.
```console
git --version
```
If nothing appears, we will continue with these steps.

To get started, go to the [Git](https://git-scm.com/) page, click the **Download for Windows** button.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/opdtb34l6fn56u56njar.png)
After clicking **Download for Windows**, you will have to choose depending on the architecture of your PC.

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

Una vez ya descargo el archivo *Git-version.exe,* al principio preguntará por los permisos de administrador para ejecutar el instalador, por lo cual, debemos responder con un “SI u Ok”.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vgbjud5m1zrep84jga1h.png)
Once I download the Git-version.exe file, at first it will ask for administrator permissions to run the installer, so we must answer with a “YES or Ok”.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nwba61pw0vq7160jrs46.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z627mja66n6s9u0gjmbc.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6tuxoebsk14ey0zkurfr.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fzhj0c1p4jeea64htxdh.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jsikbfqw0krxflmpl8zt.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ubbbxokzziky5iizj74b.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oyp20leib710q3pacfb6.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7emux3drj4nzui3xkbcd.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/021kdfazsna0oh5uw3rb.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hvfgbwfqu0ps7ub6j1uq.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0sanb827btilherwqcz0.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h9klhb8lk4exwniqvrpg.png)

Once the configuration is finished, it will start installing Git on our system.

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

At the end of the installation, it will give us the option to open Git Bash to finish.

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

With this, we will have Git installed in its latest version.
GROUP BUY SEO TOOLS
Tags: group, buy, tools, seo
Published: 2022-03-10 12:41:52

[Group Buy Tools](https://groupbuytools.us/)
Group buy SEO tools refers to the practice of multiple individuals sharing the cost of a premium SEO tool in order to split the cost among themselves and access its features at a fraction of the price. The idea behind group buy SEO tools is to offer digital marketers, businesses, and SEO professionals an affordable way to access the most advanced SEO tools and software that would otherwise be too expensive to purchase individually.

[Group buy SEO tools](https://groupbuytools.us/) typically offer a wide range of features, including keyword research, site analysis, backlink analysis, on-page optimization, and rank tracking. The goal of these tools is to provide a comprehensive suite of tools that can help you improve your website's visibility and search engine ranking, resulting in increased traffic and higher conversion rates.

One of the main benefits of group buy SEO tools is the cost-effectiveness of the service. By sharing the cost of the tool, you can access the same powerful features as a single user would, but at a fraction of the cost. This makes it a great option for small businesses, digital marketers, and individuals who are looking to improve their website's search engine ranking but do not have the budget for an individual subscription.

Another benefit of group buy SEO tools is the convenience factor. Instead of having to navigate multiple different tools and software to get the information you need, you can get all the data you need in one place. This saves you time and effort and makes it much easier to track your website's progress over time.

Additionally, group buy SEO tools often have a user-friendly interface, which makes it easy for anyone to use, regardless of their technical expertise. This means that you do not have to be an SEO expert to use the tool effectively, which makes it a great option for anyone looking to improve their website's visibility and search engine ranking.

In conclusion, group buy SEO tools are a great option for anyone looking to improve their website's visibility and search engine ranking. With its cost-effectiveness, convenience, and user-friendly interface, it is a great way for businesses and individuals to access premium SEO tools at a fraction of the cost.

[Group Buy Tools](https://groupbuytools.us/)
[Group Buy Seo Tools](https://groupbuytools.us/)
[Group Tools SEO](https://groupbuytools.us/)
[Seo Group Tools](https://groupbuytools.us/)
Research Implementation
Published: 2022-03-10 12:35:48

hi how are you hope are you doing well,  I have good experience in Artificial Intelligence, machine learning, deep learning, big data and data mining and also good experience in research implementation work if anyone person intersted implementation research work and also research paper write so I can do this. please kindly contact my inbox anyone fake person stay away and also I am share what's up personal number +92347-3534486 and time pass, fake person stay away.
 https://www.fiverr.com/zohaib_khan2020?public_mode=true
Regarding Job
Published: 2022-03-10 12:29:43

Hi, How are you hope are you doing well. I  am Muhammad Zohaib Khan Alhamdulillah I have Completed Master Of Computer Science and also I am researcher and I have more than three years experience in multiple Organization and also work in fiverr and upwork as a freelance. Now I am looking good opportunity in foreign country if anyone IT or Computer Science  any Organization avaiable job so kindly inbox me and also i am share what's up personal number +92347-3534486 and time pass, fake person stay away.
https://www.fiverr.com/zohaib_khan2020?public_mode=true
GitHub Actions with unstable Go
Tags: go, github
Published: 2022-02-26 08:34:47

Upcoming Go 1.18 release brings very interesting new features (including generics and fuzz testing). Libraries can get prepared for the release by supporting and exploring new features in advance, this also helps gaining preliminary experience.

Standard GitHub Action `actions/setup-go` allows using pre-releases with `stable: false` flag.

Example:
```yaml
jobs:
  test:
    strategy:
      matrix:
        go-version: [ 1.16.x, 1.17.x, 1.18.0-rc1 ]
    runs-on: ubuntu-latest
    steps:
      - name: Install Go
        uses: actions/setup-go@v2
        with:
          stable: false
          go-version: ${{ matrix.go-version }}
```

In some cases you may want to run tests against `gotip` which is a head of development tree. Standard action does not support `gotip`, but it is easy to install it manually from build snapshots. 

```yaml
jobs:
  test:
    strategy:
      matrix:
        go-version: [ 1.16.x, 1.17.x, 1.18.0-rc1, tip ]
    runs-on: ubuntu-latest
    steps:
      - name: Install Go
        if: matrix.go-version != 'tip'
        uses: actions/setup-go@v2
        with:
          stable: false
          go-version: ${{ matrix.go-version }}
      - name: Install Go tip
        if: matrix.go-version == 'tip'
        run: |
          curl -sL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz
          ls -lah gotip.tar.gz
          mkdir -p ~/sdk/gotip
          tar -C ~/sdk/gotip -xzf gotip.tar.gz
          ~/sdk/gotip/bin/go version
          echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
```

The `Install Go tip` step here would download pre-built Go for a latest commit in `master`. There is a caveat though, for a very recent commit the build might be not finished by the time of download and this may result in CI failure. It does not happen very often and retry usually helps.
Codechef 4 🌟 | How to become better in competitive programming| DSA for placements (Part-3)
Tags: codenewbie, programming, codechef, career
Published: 2022-03-10 12:23:08

Hi,
Hope you are doing well 🙂.
I began coding in my 2nd year of my engineering.

I was not at all consistent 😔 in the initial phase.

Later on I realised that , if you aspire for a good product based company and a 💰 secure career, then you have to do programming 🖥️ DSA.

## Things to keep in mind before stepping into competitive programming


1. Competitive programming is a sporting activity, don't judge yourself just belive in consistency

2. **Find a DSA Community** Birds of the same feathers flock together. Don't find critics just find a good mate

3. **Stuck at 1 platform only.** We usually make multiple IDs on platforms but that's very damaging thing. You give focus on one platform

4. **Never miss any competition** every single day count

5. STL, Greedy , DP are most asked so focus on mastering them.

6. It's okay to **discuss with your peers during the competition** it gives you better learning experience

7. **Practice from Geeks for Geek and Codeforces A2OJ **. Make a daily habit of practice

8. **Watch video solution after each contest**

Do upvote :)

Comment if you want me to form a DSA COMMUNITY.
FOR PEER STUDY?
[novice's stupid error]Why my Formik validation doesn't work
Tags: javascript, react, formik, beginners
Published: 2022-03-10 12:16:19

I was trying to learn how to use Formik in a React project of mine, and I was strictly following the official tutorial: https://formik.org/docs/tutorial

I came to the part where validation mechanism was introduced, I thought the idea was that I create a function, GIVE IT ANY NAME I LIKE, specifiy all the rules in this function and then finally return an error object, then this error object will be stored in a formik instance for me to use.

Since formik said `let's specify a CUSTOM validation function and ...`, I took the liberty of naming it to a custom function with a custom name that I saw fit.

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

My validation _didn't work_.

I thought maybe I put the submit buttons out of the` <form></form> `range, which I did before, led to the validation failure. It wasn't 

After a long time struggling and not finding any useful information online, I gave up on being special and tried to copy EXACTLY what the tutorial did, I named the custom function as: **validate** instead of **validateFunc**.

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

_Worked_.

Go back to the tutorial, it said: ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2xzgpa6cx02cwcle7drq.png) Another day of wasting a lot of my life on a stupid error
Site translations
Published: 2022-03-10 12:04:56


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

Hello, your site translations are translated from English to Turkish. I have shared many sites by translating for free. You can see our posts on our webmasterturkiye.com site.
Easiest way to create secure and random strings for your JWT, session and cookie secrets.
Tags: javascript, jwt, node, security
Published: 2022-03-10 12:04:29

While in development or even in production, I just find it difficult to come up with secrets for my JWTs, cookies, sessions, etc...

I first came across `openssl rand` command in next-auth's docs.

It is as simple as 
```bash
openssl rand -base64 40
```

But, can we build on it to make our lives easier with `xclip` to copy the output directly it into the clipboard.

```bash
openssl rand -base64 40 | xclip -r -selection clipboard
```
### Explaining `openssl`

- The `openssl` program is a command line tool for using the various cryptography functions of OpenSSL's crypto library from the shell.
- `rand` : Generate pseudo-random bytes.
- `-base64` : Converts the bytes into base64 encoded string.
- Length : In the example, I've used 40 which just means 40 random bytes will be generated and that will be encoded into base64.

### Explaining `xclip` -tags

- `-r` or `-rmlastnl` : When the last character of the selection is a newline character, remove it. Newline characters that are not the last character in the selection are not affected. If the selection does not end with a newline character, this option has no effect. This option is useful for copying one-line output of programs like `pwd` to the clipboard to paste it again into the command prompt without executing the line immediately due to the character `pwd` appends.
- `-selection` : Specify which X selection to use, options are "primary" to use `XA_PRIMARY` (default), "secondary" for `XA_SECONDARY` or "clipboard" for `XA_CLIPBOARD`. I usually use clipboard, since I haven't found a good use case for the other options in my workflow.