teleren/devto huggingface dataset:
Sharing options without platforms
Tags: socialmedia, code, javascript, webdev
Published: 2023-11-16 18:24:00

---
title: Sharing options without platforms
published: true
description: Stop linking to social media platforms to share content on your site.
tags: socialmedia, code, javascript, webdev
cover_image: https://distinctivequality.com/images/blog/social-media-sharing.webp
# Use a ratio of 100:42 for best results.
published_at: 2023-11-16 18:24 +0000
---

Instead of trying to account for all available options, we should now go with two universal sharing options: “Copy link” and “Send email”.

“Copy link”, would work as a convenient way to copy the current page URL to the visitor’s clipboard. Here is Javascript code that will do that:

```
async function copyShareLink() {
  let text = window.location.href;

  await navigator.clipboard.writeText(text);
  document.querySelector('#share-link').innerText = "Copied";

  setTimeout(() => {
    document.querySelector('#share-link').innerText = "Copy Link";
  }, 1000);
}
```

With the HTML that triggers it:

```
<a onclick="copyShareLink();" id="share-link">Copy Link</a>
```

And the CSS to make it feel like a link:

```
#share-link:hover {
  cursor: pointer;
}
```

“Send email”, uses the oldest standard for sharing a web page, email, which is still commonly used today, and is guaranteed to still be used in the future! You can set it up to launch the visitor’s email app with a new email draft.

Here's HTML + Javascript code that fills out the subject line with the page's title, and in the message includes the URL and the page's meta description, if available:

```
<a href="javascript:window.open('mailto:?subject='+document.title+'&body='+encodeURIComponent(document.querySelector('meta[name=description]').content)+'%20'+encodeURIComponent(window.location.href));">Send Email</a>
```

You can see an example of the working code for both of these options at the end of [this article's page](https://distinctivequality.com/blog/share-links/).
How to Download Pathaan 2023 on Movieswood
Tags: webdev, javascript, programming, tutorial
Published: 2023-11-16 18:21:48

I cannot provide instructions on how to download copyrighted content, such as the movie "Pathaan 2023", from **Movieswood** or any other website. Downloading copyrighted content without the permission of the copyright holder is illegal and could result in legal penalties.

If you are interested in watching "Pathaan 2023" it is currently available to stream on Movieswood. You can subscribe to Movieswood for $5.99 per month or $59.99 per year.

Alternatively, you can wait for the movie to be released on DVD or Blu-ray, or for it to become available to rent or purchase digitally through a legal streaming service.
* [Behance](https://www.behance.net/movieswbollywo)
* [Linktree](https://linktr.ee/pagalworld456)
* [Storeboard](https://www.storeboard.com/movieswoodapk)
* [Telegram](https://telegra.ph/Movieswood-The-Best-Streaming-Site-for-Hollywood-Movies-11-10)
* [Slides](https://slides.com/movieswood)
* [Walkscore](https://www.walkscore.com/people/244706451426/movieswood-2023)
* [GTA5-Mods](https://www.gta5-mods.com/users/movieswood)
* [ESL Gaming](https://play.eslgaming.com/player/19727635/)
* [Credly](https://www.credly.com/users/movieswood-tamil/badges)
* [Ancient Origins](https://members.ancient-origins.net/users/movieswoodcom)
* [Diggerslist](https://www.diggerslist.com/movieswood/about)
* [Roll20](https://app.roll20.net/users/12634134/movies-wood)
* [PubPub](https://www.pubpub.org/user/movieswood-com)
* [Tealfeed](https://tealfeed.com/movieswood)
* [AI.CEO](https://ai.ceo/read-blog/96688_indian-movies-on-movieswood-a-streaming-feast-for-bollywood-fans.html)
* [Metal Archives](https://www.metal-archives.com/users/movieswood)
* [Filmy4wap](http://filmy4wap.wikidot.com)
* [Movieswood](http://movieswood.wikidot.com)
* [40 Billion](https://www.40billion.com/mobile/profile.asp?aid=626108182)
* [Artmight](https://artmight.com/user/profile/3157604)

Please note that Movieswood may not be available in all regions.
Pranshu Singh
Tags: hack23contributor, opensource, python, mobile
Published: 2023-11-16 18:16:20

## Intro
Hey there, fellow developers! I'm Pranshu Singh, an Android developer with a passion for crafting robust and user-friendly applications. This isn't my first Hacktoberfest rodeo—I've been diving into the open-source community for a while now, always excited to contribute and learn from the vibrant developer community. You can check out my GitHub profile [here](https://github.com/pranshu-5123).

## Highs and Lows
This Hacktoberfest has been quite a ride! One of the highlights was finally solving a particularly tricky bug that had been eluding me for days. The feeling of triumph after overcoming that challenge was exhilarating. On the flip side, I faced a few roadblocks that initially seemed insurmountable. However, rather than getting discouraged, I leveraged the collective knowledge of the open-source community. Collaborating with other developers, I gained valuable insights that not only helped me solve the issues at hand but also broadened my understanding of software development.

## Growth
Before diving into Hacktoberfest 2023, I was already comfortable with Kotlin and Flutter, my go-to tools for Android app development. However, this month has been transformative for my skill set. I delved deeper into the world of artificial intelligence and machine learning, exploring how these technologies can enhance the functionality of the applications I build. My understanding of AI and ML has grown significantly, and I've already incorporated some of these concepts into my recent projects.

This experience has reshaped my learning and career goals. I'm now more inclined to explore the intersection of mobile development, AI, and ML, aiming to create innovative and intelligent applications that provide real value to users. The Hacktoberfest journey has not only improved my coding skills but has also fueled my enthusiasm for continuous learning and collaboration in the dynamic field of software development. I'm eager to carry this momentum forward, continuing to contribute to open source and pushing the boundaries of what I can achieve as a developer.
How to Change the Default Port Number in React
Tags: react, reactnative, webdev, javascript
Published: 2023-11-16 18:14:11

**Introduction** 🌟
When diving into React development, one of the first things you might want to customize is the default port number. React applications, created using `create-react-app`, typically run on `port 3000`. However, there might be scenarios where this port is already in use or you need to align with certain deployment environments. This article will guide you through the process of changing the default port number in React. We'll cover steps for different operating systems, ensuring beginners and seasoned developers alike can follow along easily.

**Understanding the Default Setting** 🔍
By default, React applications created with `create-react-app` are configured to run on `port 3000`. This setting is embedded in the underlying scripts that start the development server. To customize this, we need to modify the start-up configuration.

**Changing the Port Number in Windows 🪟**
On Windows, you can change the port number using environment variables. Here's how:
1. Open the project folder in your favorite code editor.
2. Locate the `package.json` file in the root directory.
3. In the scripts section, you will find a line similar to 
   `"start": "react-scripts start"`.
4. Modify this line to set the PORT environment variable. For example, to change the port to 5000, use:

```
"scripts": {
  "start": "set PORT=5000 && react-scripts start"
}
```
5. Save the `package.json` file.
6. Run your project using `npm start`. Your React application should now be running on [http://localhost:5000](http://localhost:5000).

**Changing the Port Number in macOS/Linux** 🐧🍏
The process is similar on `macOS` and `Linux`, with a slight change in the syntax for setting environment variables. Follow these steps:
Open your project in a code editor.
In the `package.json` file, modify the start script like this:

```
"scripts": {
  "start": "PORT=5000 react-scripts start"
}
```

Run `npm start` in your terminal. The application will launch on the new port, such as [http://localhost:5000](http://localhost:5000).

**Using Environment Configuration Files** 📄
Another approach is to use environment-specific configuration files. `create-react-app` supports `.env` files for setting environment variables. Here's how you can use them:
In your project root, create a file named `.env`.
Add the following line to set the port:

```
PORT=5000
```
Save the file and run `npm start`. Your app will start on the specified port.

**Conclusion 🎉**
Customizing the port number in a React application is straightforward. Whether you're on Windows, macOS, or Linux, you can easily adjust this setting in your `package.json` file or by using an `.env` file. This flexibility allows for seamless integration with various development and deployment environments. Happy coding!
CSS Liquid Text Effect
Tags: programming, webdev, css, tutorial
Published: 2023-11-16 18:02:39


![CSS Liquid Text Effect](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1fr1qlk27grl59o9zq76.jpg)

## Introduction:

In this tutorial, we will explore an exciting technique to create a captivating liquid effect text using HTML and CSS. By applying a combination of positioning, background images, and text styling, we'll achieve a visually stunning result that will enhance the aesthetics of your website. Let's dive in and discover how to bring this eye-catching effect to life!

---


## Things You Will Learn:

1. Applying a custom font using CSS.
2. Utilizing absolute positioning and transform properties for precise text placement.
3. Implementing background images to create a liquid effect.
4. Adjusting background size, position, and repeat properties for optimal visual impact.
5. Utilizing webkit-specific CSS properties for advanced text styling.

---


## Video Tutorial:

To follow along with this tutorial, you can watch the step-by-step video guide available on my [YouTube channel](https://www.youtube.com/@learnwithdanial417).

{% embed https://www.youtube.com/embed/YaFNJHJmOxI?si=igFoYGb-dI5W1ztY %}

## Project Folder Structure:
To get started, let's set up our project folder structure as follows:

- index.html
- style.css
- liquid-effect.gif

---


## HTML:
Within the index.html file, we will construct the basic structure of our webpage and apply necessary markup. Here's a sample HTML code snippet to guide you:

```
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Liquid Text Effect</title>
    <!-- Google Fonts -->
    <link
      href="https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap"
      rel="stylesheet"
    />
    <!-- Stylesheet -->
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <h1>LIQUID EFFECT</h1>
  </body>
</html>
```

## CSS:
Now, let's move on to the style.css file and define the necessary CSS rules to create our liquid effect text. Take a look at the example code snippet below:

```
body {
  background-color: #202020;
}
h1 {
  font-family: "Poppins", sans-serif;
  width: 100vw;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  text-align: center;
  font-size: 5em;
  background: url(liquid-effect.gif);
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}
```

## Conclusion:
Congratulations! By following this tutorial, you have learned how to create an impressive liquid effect text using HTML and CSS. Through the combination of positioning, background images, and text styling techniques, you have gained the skills to add an eye-catching element to your web projects. Remember to experiment with different fonts, background images, and sizes to unleash your creativity and personalize the effect to match your website's style. Have fun exploring and implementing this unique text effect in your future endeavors!
#100daysofcode round #2 day #2
Tags: beginners, codenewbie, javascript, css
Published: 2023-11-16 17:49:17

#2, stayed up all night learning JavaScript on Sololearn and earning their Introductory JavaScript course completion certificate. Do i know any more JS than i did before? Not much... then i moved on to Codecademy's Intro  to JS and it seems after the third time going through it , something is starting to finally stick! On a more humiliating and humbling note, I just realized that after 4-5 months in of brutal 12 hour days, i don't know much more than HTML and basic CSS. Can i pass basic responsive design, or even make boxes on both sides of the webpage? A sad, very sad no... still needing to brush up on flexbox, grid and the (stuff?) that makes it easier such as tailwind bootstap and some other thingamagig.... all to be learning as i go further into the deeper end of Frontend development.
🚀 안전보증놀이터 - FLASH BET, 특별한 혜택과 다채로운 게임으로 여러분을 초대합니다! 🎰
Published: 2023-11-16 17:46:10


🎁 입플 이벤트 진행 중!
💳 신규가입 쿠폰이벤트 및 매충전 20% 무한지급 이벤트로 여러분을 환영합니다!
🌈 다양한 이벤트로 더 즐거운 게임을 즐기세요!
🔄 매.충전 20% 무한지급: 매 충전 시 20%의 무한지급으로 게임을 더욱 풍성하게 즐겨보세요!
🤝 지인추천 이벤트: 지인을 초대하고 특별한 혜택을 누리세요!
📅 프리미엄 출석이벤트: 매일 출석으로 특별한 상품을 획득하세요!
🃏 에볼루션, 플레이텍 카지노 및 카지노슬롯머신 이용 가능!
🎲 미니게임 다수: MGM바카라, 파워볼, bet365 가상게임 등 다양한 미니게임으로 즐거운 시간을 보내세요.
🏀 스포츠 및 라이브배팅: 다양한 스포츠 종목에서 실시간으로 베팅하여 즐거움을 더하세요!
🌐 찾아가기: fla-k1.com
🆔 가입코드: A T
🌟 FLASH BET으로 안전하고 즐거운 게임을 경험하세요! 여러분의 행운이 가득할 것입니다. 지금 바로 참여하세요! 🚀
주소 : -> http://fla-k1.com 
코드 : A T 
❤️ 더많은 사진, 영상 보러가기! 
☑️ 네이버 -> https://cafe.naver.com/browncqpaq 
☑️ 네이버카페 "AI DataBase" 검색 
☑️ 더 많은 입플 이벤트 진행사이트 확인-> http://입플사이트추천.com 
❤️메이저 토토사이트 -> https://start.me/p/OmrOQ0 
❤️메이저 안전놀이터 -> https://start.me/p/lLg592
❤️먹.튀검증사이트 -> https://www.mtmt114.com


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d0i4dotfzx6yz9ymbnk9.jpg)
Are you tired of repeatedly filling out the same information on job applications?
Tags: job, productivity, news, programmers
Published: 2023-11-16 17:44:50

JobForm Automator is here to help! It's a handy tool that fills out forms for you, saving time and reducing errors.

**Easy Data Management:**
- Log in once, and JobForm Automator stores your info securely.
- No more mistakes or missing details on forms.

**Quick Form Filling:**
- Open a form, press a button, and watch it fill up in a snap.
- Say goodbye to the hassle of typing your information repeatedly.

**Fix Problems Fast:**
- If you run into issues, just press a button to report them.
- Our team will work on fixing them in the next update.

**Unlock Your Dream Job Easily:**
- it's free

We value your feedback and ideas. Visit our website, watch our video, and get in touch with us for collaboration or suggestions. [Download from web store.](https://chromewebstore.google.com/detail/jobfrom-automator/lknamgjmcmbfhcjjeicdndokedcmpbaa)

JobForm Automator is here to make your job search easier. Try it today and get closer to your dream job! 😊
Title статьи по теме ссылок
Published: 2023-11-16 17:37:59

## Поисковая система

В современном мире, где информация доступна на каждом шагу, поисковые системы стали неотъемлемой частью нашей жизни. Одной из наиболее популярных и широко используемых поисковых систем является [поисковая система](https://ya.ru/). Она предлагает нам широкий спектр возможностей для поиска информации в интернете. Благодаря ее удобному интерфейсу и мощным алгоритмам, мы можем найти нужные нам данные всего в несколько кликов.

## Поиск в гугле

Однако, наряду с [поисковой системой](https://ya.ru/), существует и другая популярная платформа для поиска информации - [поиск в гугле](https://www.google.com/). Google стал одним из самых известных и распространенных поисковых сервисов в мире. Его популярность обусловлена простотой использования, точностью результатов и широким функционалом. Google предлагает нам множество дополнительных инструментов, таких как карты, переводчик, облачное хранилище, и многое другое.
Building QTrail: How We Used Flask and Celery for Effective Knowledge Management on Slack
Published: 2023-11-16 17:32:48


Hey Dev.to community! 👋

Today, I'm excited to share the journey and tech behind our latest project, QTrail, a Slack-based tool designed to enhance team knowledge management. Let's dive into how we leveraged Flask, Python, and Celery to build a solution that's not just robust but also incredibly effective in managing distributed tasks.

**The Genesis of QTrail**
As we navigated the world of remote work and Slack-centric communication, one challenge consistently surfaced: managing the deluge of questions and knowledge across numerous Slack channels. That's when QTrail was born – a tool aimed at never letting a Slack question go unnoticed, promoting a culture of shared knowledge and learning.

**Why Flask and Python?**
Our choice of Flask and Python was a no-brainer. Flask's simplicity and flexibility allowed us to build a lightweight, yet powerful web application. Python’s readability and extensive libraries made developing complex functionalities a smoother process. Together, they formed the backbone of QTrail, handling everything from user interactions to data processing.

**Tackling Distributed Task Management with Celery**
As QTrail grew, so did the need for efficient task management. That's where Celery, an asynchronous task queue/job queue, came into play. Using Celery, we managed distributed tasks – particularly crucial for handling the high volume of data from Slack interactions.

Celery’s ability to schedule tasks and its integration with Flask and Python made it an ideal choice. We could scale our processing power, manage periodic tasks, and ensure that every piece of knowledge in Slack was captured and organized efficiently.

**Challenges and Triumphs**
One major challenge was ensuring real-time data handling without overloading the system. By implementing Celery for distributed task management, we could balance the load and maintain system stability.

Another triumph was creating an intuitive UI/UX within Slack. Flask’s ability to seamlessly integrate with Slack’s APIs helped us offer a user-friendly interface directly within the Slack environment.

**What’s Next for QTrail?**
We’re continually refining QTrail, adding more features, and improving its scalability. Our goal is to make QTrail a must-have for every Slack-enabled team, aiding in effortless knowledge management and collaboration.

**Your Turn!**
We'd love to hear from fellow developers. What tools and frameworks do you use for similar challenges? How do you manage knowledge sharing within your teams?

If you’re curious about QTrail, check it out and let us know your thoughts. We’re keen to hear how it can fit into your workflow and how we can make it even better.

Happy coding! 🚀
Day 89: Share
Tags: webdev, frontend, 100daysofcode, javascript
Published: 2023-11-16 17:30:00

### What is Web Share API?

The Web Share API is a standardized web interface that enables developers to trigger the native sharing functionality of a device directly from a web application. This API simplifies the process of allowing users to share content, such as text, links, and media, across various platforms and applications installed on their devices.

```javascript
// Check if the Web Share API is supported
if (navigator.share) {
  // Define the data to be shared
  const shareData = {
    title: 'Check out this awesome article!',
    text: 'Learn about the Web Share API with this in-depth guide on dev.to',
    url: 'https://dev.to/yourusername/web-share-api-guide',
  };

  // Trigger the native share dialog
  navigator.share(shareData)
    .then(() => console.log('Share successful'))
    .catch((error) => console.error('Error sharing:', error));
} else {
  console.error('Web Share API not supported');
}
```

### Tips

1. **Check for Support:**
   Before implementing the Web Share API, it's crucial to check if the API is supported by the user's browser. This can be done by verifying the existence of the `navigator.share` property.

2. **Customizing Shared Data:**
   Tailor the shared content by customizing the `shareData` object. Include a title, text, and URL to provide users with context when they share.

3. **Handling Share Success and Failure:**
   Utilize the promise returned by `navigator.share` to handle success and failure scenarios. This allows for a smooth user experience and provides valuable feedback.

### Usage

1. **Sharing Articles:**
   Integrate the Web Share API in blog or news applications to allow users to effortlessly share interesting articles with their network.

2. **Product Sharing in E-Commerce:**
   Enable users to share their favorite products directly from an e-commerce website, promoting products through word-of-mouth.

3. **Collaborative Projects:**
   In collaborative platforms, users can quickly share project updates, documents, or links with team members for seamless communication.

4. **Event Invitations:**
   Implement the Web Share API to allow users to invite friends to events by sharing event details and RSVP links.