teleren/devto huggingface dataset:
React Plugins?
Tags: webdev, javascript, react, opensource
Published: 2023-09-26 17:32:34

Gone are the days when adding features to your React applications meant spending hours searching for the perfect library or building it from scratch. Welcome to the era of "Plug and Play" for React!

🌟 **WebCrumbs**: A revolutionary framework that facilitates seamless integration of plugins into React applications. This is not just about importing a library; it's about empowering developers with community-driven, ready-to-use features.

**Why WebCrumbs?**
1. **Community-Powered**: Every plugin is a testament to the collective genius of the developer community. Your input can shape the future of React development.
2. **Ease of Use**: With WebCrumbs, integrate features with just a few clicks. No more long hours spent on setup and configuration.
3. **Vast Array of Plugins**: From UI components to complex backend integrations, the possibilities are limitless. And with the ever-growing community contributions, the sky's the limit.

**Get Involved**
- ⭐️ **Star** the project on GitHub: [WebCrumbs Repo](https://github.com/webcrumbs-community)
- 🗣️ **Discuss** features, suggest plugins, or just chat with the community.
- 👨‍💻 **Contribute**: Have a plugin idea? Or perhaps some enhancement suggestions? Every pull request, no matter how small, can have a big impact!

Together, we're not just building a framework; we're changing the way React applications evolve. Dive into the WebCrumbs community and be a part of this groundbreaking journey!
Best app/website for online community
Tags: discuss, community
Published: 2023-09-26 17:31:49

From my observations I see two groups of apps/websites, one being feed based communities/social media and the other being more communication based platforms that don't have feeds and rather are more conversation based. Here are a few I've used or taken note of.

**Twitter** - used to be one of my favorite social media apps, went downhill as I barely see the posts of people I follow :(

**Bluesky** - started off great & has close-knit feeling, then the team mishandled racism against Black individuals :( I personally have hope it could be revived as I love only seeing the posts of people I follow, still keeping my account for the time being.

**Geneva** - a new app I came across, I don't know too much about it. It aims to combine the qualities of Facebook groups/GroupMe with Slack/Discord. I'm gonna keep my eye on this one for sure! More info here: [Geneva Intro](https://www.geneva.com/blog/hey).

**Mastodon** - I personally haven't used this one, I see it touted as a Twitter alternative. From the looks of it, seems pretty Reddit based.

**Discord** - I absolutely love the [Baddies in Tech](https://www.baddiesintech.com/) Discord server. It's the best managed server I've ever seen! There's a few other Discord servers that I'm a part of but they tend to be overwhelming for me, so I have them muted & check on them once in a while.

**Slack** - My favorite workspace is [Virtual Coffee](https://virtualcoffee.io/about). Overall a great and supportive community. I'm in a couple other tech Slack workspaces too.

**Forem** - Getting a little bit meta here as [DEV](https://dev.to) itself is a Forem! I'd love to have a community on the internet with everyone in tech that I follow on Twitter in a feed based community as well as have the ability to communicate with one another via replies on various topics. Some people I follow on Twitter have such a large following that I'm not able to converse/interface with them as much as I'd like. I personally haven't experienced creating my own Forem though I definitely can see it's a great option!

I'm interested in hearing others' opinions. Which platform is your favorite? What do you think the future of communities and social networks on the internet will look like? I appreciate your thoughts on this topic!
Desvendando o Mistério dos Tipos em Java: Primitivos vs. Não Primitivos 🚀
Tags: java, beginners, programming, braziliandevs
Published: 2023-09-26 17:17:35

#Tipos Primitivos 🥔
Os tipos primitivos em Java são como as batatas 🥔 da programação. São simples e básicos, usados para armazenar valores simples, como números inteiros e caracteres.

1. 
**int**: Representa números inteiros. Por exemplo, int idade = 25; armazena a idade 25.

2. 
**char**: Armazena caracteres, como letras ou símbolos. Por exemplo, char letra = 'A'; guarda a letra 'A'.

3. 
**boolean**: Armazena valores verdadeiros ou falsos. Por exemplo, boolean estaChovendo = true; indica se está chovendo ou não.

#Tipos Não Primitivos 🏠
Os tipos não primitivos em Java são como casas 🏠, pois podem conter informações mais complexas e até mesmo outros tipos primitivos.

1. 
**String**: Representa texto. Por exemplo, String nome = "Alice"; guarda o nome "Alice".

2. 
**Array**: Armazena uma coleção de valores do mesmo tipo. Por exemplo, int[] numeros = {1, 2, 3, 4, 5}; guarda uma lista de números inteiros.

3. 
**Classe**: Você pode criar suas próprias classes para representar objetos personalizados, como class Pessoa { String nome; int idade; }. Isso permite que você crie objetos como Pessoa alice = new Pessoa(); com propriedades nome e idade.

4. 
**ArrayList**: É uma coleção dinâmica que pode crescer ou encolher. Por exemplo, ArrayList<String> nomes = new ArrayList<>(); pode armazenar uma lista flexível de nomes.

5. 
**Objetos**: Além das classes personalizadas, Java possui muitas classes pré-definidas que podem ser usadas para criar objetos, como Date para datas e Scanner para entrada de usuário.

Em resumo, tipos primitivos são simples, enquanto tipos não primitivos são como casas 🏠, capazes de armazenar informações mais complexas. Usamos ambos em Java para criar programas poderosos e flexíveis! 😊👍

LinkedIn: https://www.linkedin.com/in/antonio-rodrigo-wanderley-serra/
GitHub: https://github.com/antoniorws
Audit your Azure DevOps configuration from the Pipeline
Tags: news, showdev, architecture, cloud
Published: 2023-09-26 17:16:23

Today marks the release of version 0.0.12 of **PSRule.Rules.AzureDevOps** in the [PowerShell Gallery](https://www.powershellgallery.com/packages/PSRule.Rules.AzureDevOps). Again, the new release is packed with new features. The module can now export and analyze the project's main pipelines settings and comes with 7 new rules making a total of 32 overall checkpoints in the module.

This release also introduces configurability for some of the rules. For example, the number of reviewers required by branch policies. Baselines were added to this release to provide a better fit for Azure DevOps customers with or without additional Microsoft licensing, for example GitHub Advanced Security. 

Finally, a quick start Azure Pipelines YAML definition was added to the project so you can get started with the project quickly and read the reports in Sarif format in the Azure DevOps portal.

Checkout the latest [release notes](https://github.com/cloudyspells/PSRule.Rules.AzureDevOps/releases/tag/v0.0.12) on [GitHub](https://github.com/cloudyspells/PSRule.Rules.AzureDevOps) and give the module a test drive with your Azure DevOps project.
Please vote for me
Tags: javascript, website, programming
Published: 2023-09-26 17:09:22

Please I need everyone on dev.to to respond immediately to this post. So I made a website named Omaholly https://havilah-dalalord.github.io/Omaholly.org for a competition skillupnaija rivcraft 2023. I qualified for one of the first stage but now I need votes for the next round. I am only a teenager but if I get this chance the programming/coding world cannot remain the same. Please help me achieve this by clicking on going to this link and voting for me.

Help me by clicking the link and then scroll down and look for a name UCHE-ANICHE HAVILAH CHUCKWUBUIKEM with number 058
https://skillupnaija.com/rivcraft/votes 

For each vote you pay #50 NGN, so please feel free to vote as many times as possible.

Thanks again
"Merging Branches"
Tags: osd600, senecacollege
Published: 2023-09-26 17:03:40

To start off this week, I worked on selecting two new features to add to my [CLI static site generator](https://github.com/pbelokon/BukuRain). However, this time, I had to use different branches to implement these features and then merge them into my main branch, something known as Parallel branches.

### What I added

I added support for the lang attribute in HTML, which can be used as an optional input, like so  ``--lang en-CA``. This enhancement was addressed in this [issue](https://github.com/pbelokon/BukuRain/issues/6). Implementing this feature was straightforward; it required me to accept additional optional input and pass it to the HTML builder function. [Changes](https://github.com/pbelokon/BukuRain/commit/b6c26ed517518be7209899a88aca2f12036b73ab)


Additionally, I improved my markdown parsing by adding support for horizontal rules (---), as requested in this [issue](https://github.com/pbelokon/BukuRain/issues/7). For this feature, all I had to do was add a simple regular expression to identify all occurrences of (---) in a Markdown file. [Changes](https://github.com/pbelokon/BukuRain/commit/69bcdf6849bcc6703f5c8953b21f5ee334d6d3cc)

During the process of merging these branches, I encountered a merge conflict because I had made updates to the same function in both issues. However, resolving it was not challenging since the changes were relatively small. I found great assistance in VS Code and its visual tools.

In the process of completing this week's tasks, I learned about a fascinating Git feature that helps visualize your workflow, known as ``git log --graph``. I found it to be quite impressive and useful for tracking and understanding the branching and merging of my code.
95 berufliches Vorwärtskommen: Die Restzeit – ein Verlust oder ein Gewinn…
Tags: deutsch, career, motivation, discuss
Published: 2023-09-26 17:00:00

Moin Moin,

Ich möchte nochmals betonen, dass mein Blick auf die Restzeit positiv ist. Sie ist wertvoll, möglicherweise weil sie knapp bzw. endlich ist. Jetzt stellt sich die Frage, ob wir sie gestalten und wenn ja wie. Dazu zwei Extreme:

a) Wir gestalten sie nicht und lassen sie somit einfach verstreichen. So ist es gut möglich, dass man diese als einen Verlust wahrnimmt. Man hat sich nicht voll entfalten können und nicht das getan was man tun wollte und ggf. auch nicht was man tun sollte.

b) Andersherum beschäftigt man sich auch mit der Planung und vor allem der Umsetzung der Planung. So hat man mit jeder Herausforderung die man meistert einen Gewinn und schon ist die Restzeit gewinnbringend. Daher ist es sinnvoll sich regelmäßig seine Planung anzuschauen und sich über unterschiedliche [Bestandteile die für einen selbst einen guten Karriere-Weg auszeichnen→](https://dev.to/amustafa16421/93-berufliches-vorwartskommen-was-ist-alles-d26) und zu dem was man erreichen möchte. 

Gestaltest du deine Restzeit?
Wenn ja, wie?

Lass uns mittels Kommentaren austauschen.

Beste Grüße,
Mustafa

Oder auch mittels E-Mail: mustafa.kevin.dwenger@posteo.de
Betreff: Austausch
Who is responsible for the security of the AWS cloud infrastructure?
Tags: aws, devops, cloud, discuss
Published: 2023-09-26 16:57:40

When it comes to **security in the AWS cloud☁️**, the responsibilities are **shared** between the **customer** and AWS itself. But who handles what? 


![AWS Shared Resposibility Model](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1c5gf09z5lny298802wq.png)

## Customers Security Within 🚪

Customers are responsible for security **within** the cloud - including the services and data they put in AWS. Customers manage security for:

- **Platforms, applications, and identity/access management**
- **Operating systems**, network and firewall configurations  
- **Encrypting** and protecting data integrity on the client side 

## AWS Safeguards the Cloud Itself 🌩️

AWS is responsible for the security **of** the cloud itself. AWS handles security for:

- **Server-side encryption** to protect data at rest 💾
- **Network protection** like encryption and identity management 🔐
- Global infrastructure including regions, availability zones and edge locations 🌎

## Security is Better Together 🤝

AWS provides core cloud computing services including **compute power, storage, databases, networking.** But how customers use these services is up to them. Customers control their guest OS, platforms, and apps.

So AWS provides 🛡️ tools and best practices for security, but customers must **configure them properly.** Customers can enable firewalls, DDoS protection, data encryption and more.
WordPress SEO Strategy to Boost Traffic in 2024
Tags: seostrategy, readmorrcom, boosttraffic, webdev
Published: 2023-09-26 16:54:26

## **_WordPress [SEO ](https://readmorr.com/wordpress-seo-tutorial-2024/)Strategy to Boost Traffic in 2024
_**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/13n9n7biid9dv3jhrlkp.jpg)
Search Engine Optimization (SEO) is a crucial part of any website's success, and WordPress sites are no exception. As we move into 2024, it's essential to stay ahead of the curve and implement effective SEO strategies to boost your site's traffic. Here are some key strategies to consider:

## 1. Health Check

Before you make any changes to your site, it's important to understand its current state. This includes checking your site's speed, mobile-friendliness, and security. Running your website on a server with updated software at a web host that offers excellent performance can significantly improve your site's SEO.

## 2. SEO-Friendly URL Structure

URLs are not just for humans; they're for search engines too. An SEO-friendly URL structure helps search engines understand what your page is about, which can improve your chances of ranking higher in search results.

## 3. Use an SEO Plugin

There are several SEO plugins available for WordPress, but Yoast SEO is one of the most popular ones. It adds more features and SEO tools to WordPress, making it easier for you to optimize your site.

## 4. XML Sitemaps

Sitemaps help search engines crawl your website more effectively. They provide a roadmap of your site, allowing search engines to find all of your content.

## 5. Google Search Console

Adding your site to Google Search Console can provide valuable insights into how Google views your site. It can help you understand what keywords people are using to find your site and identify any issues that might be affecting your site's performance in search results.

## 6. Optimize Blog Posts

Each blog post on your WordPress site is an opportunity to attract more visitors. This includes using keywords effectively, optimizing images for speed and SEO, and using meta tags.

## 7. Keyword Research

Understanding what keywords your audience is searching for can help you create content that meets their needs. Use keyword research tools to identify popular keywords in your niche, and then use these keywords strategically in your content.

Remember, SEO is a continuous process that requires regular monitoring and adjustment. By implementing these strategies, you can improve your WordPress site's visibility in search results and attract more traffic in 2024.
L’OWASP :COMMENT TRAQUER LES FAILLES DE SÉCURITÉ DES APPLICATIONS WEB ?
Tags: security, owasp, cybersecurity, web
Published: 2023-09-26 16:44:45

Fondée en 2001, l’Open Web Application Security Project (OWASP) est une organisation à but non lucratif dont la mission est l’amélioration du niveau de sécurité aussi bien des applications web que des logiciels. Il s’agit également d’un projet communautaire qui renferme une variété d’initiatives à l’instar de celles qui sont orientées vers l’évolution du processus logiciel, ou des projets d’incubateurs. A noter en outre que le projet relatif à la sécurité des applications web dispose d’une liste comprenant les considérations de premier ordre quant à la sécurité des applications et qui est mise à jour de manière régulière
**_En Savoir Plus_**
[Quels sont les risques de premier ordre liés à la sécurité des applications web ?](https://www.eurotechconseil.com/blog/owasp-top-10/)
Remove accidentally pushed .env file from all git commits
Tags: git, github
Published: 2023-09-26 16:24:45

Make sure to safely backup the .env file first. Because this command will delete it from your system

```
git filter-branch --index-filter 'git rm --cached --ignore-unmatch .env' HEAD

```

```
git push --force
```

If you get error like this
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ni7rrythnnc1otyoilza.png)

Run this command and froce push
```
git update-ref -d refs/original/refs/heads/main
```
Using Python to Access Google Bard: A Simple Guide on Session Cookies
Tags: programming, python, bard, googlebard
Published: 2023-09-26 15:58:22

Google Bard is a fantastic tool many have been waiting to explore programmatically. While direct API access might not be available to everyone, thanks to developers like Daniel Park, we have workarounds. He introduced the bardapi Python package, which leverages session cookies to interact with Google Bard. In this guide, I'll walk you through how to use this package.

**Getting Started:**
**1. Prerequisites:**

- Python 3.x
- Google Bard account
- Basic knowledge of web developer tools in browsers

**2. Installation:**
If you haven’t already, install the bardapi package:

```
pip install bardapi
```
**Retrieving Your Session Cookies:**

Session cookies are essential for maintaining a user session, which the bardapi package uses to authenticate against Google Bard.

**Steps to retrieve session cookies:**

1. Navigate to the Google Bard website on a browser and log in.
2. Press F12 or right-click on the webpage and select 'Inspect' to open developer tools.
3. Navigate to the Application tab.
4. In the left sidebar, expand the Cookies section under Storage.
5. Select accounts.google.com or a similar domain. Here you'll find a list of cookies.
6. Look for the __Secure-1PSID cookie and note its value.

```
from bardapi import Bard
import os

#Replace BBBBBBB with the values you get from __Secure-1PSID 
os.environ['_BARD_API_KEY']="BBBBBBB"

# set your input text
input_text = "what is google bard?"

print(Bard().get_answer(input_text)['content'])
```

Above code may not work if you have multi session cookies, if that case replace above code with below,

You need to set multi cookie value. Using Bard Cookies Object.

```
from bardapi import BardCookies

cookie_dict = {
    "__Secure-1PSID": "Your ID",
    "__Secure-1PSIDTS": "Your Id",
    # Any cookie values you want to pass session object.
}

bard = BardCookies(cookie_dict=cookie_dict)
print(bard.get_answer('Tell me more about Bard"))
```

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


I hope you found this guide on accessing Google Bard using Python and session cookies insightful. Your feedback fuels my passion for sharing knowledge, so if you appreciated this article, please give it a thumbs up and share your thoughts in the comments below.

For more insights and to stay connected, you can find me on:

[LinkedIn](https://www.linkedin.com/in/vengateswaran-arunachalam/)
[Teckiy](https://www.teckiy.com/)
[Twitter](https://twitter.com/vengattagnev)
Thank you for reading, and I look forward to engaging with you on these platforms!
How Important is a Code of Conduct in an Open-Source Project?
Tags: opensource, community, discuss, watercooler
Published: 2023-09-26 15:54:43

Hi friends 👋🏼,

As we know, most open-source projects have a Code of Conduct included in their repositories. Code of Conduct is there to maintain a safe and welcoming space for the contributors and the community.

I believe it's an essential part to have in an open-source project/repository.

But not all open-source projects provide a Code of Conduct. It could be because the project is small and has not attract many contributors, or the contributors are regular, or any other reasons.

Now I'm curious. What's your opinion about Code of Conduct?

Do you think a project should have one? Would a project considered as an open source without a Code of Conduct? Any other thoughts?

Please share your thoughts with us in the comment below! 😄
Optimize your WordPress site for SEO in 2024
Tags: webdev, readmorr, seotips, wordpress
Published: 2023-09-26 15:48:18

## [Optimize your WordPress site for SEO in 2024
](Optimize your WordPress site for SEO in 2024)
> Here are some key steps to optimize your WordPress site for SEO in 2024: 
**
1. Check your site's health: Before you make any changes to your site, it is good to see where you are now. There’s a lot to gain from getting it right: running your website on a server with updated software at a web host that offers excellent performance.

2. Use SEO-friendly URL structure in WordPress: This helps search engines understand what your page is about and improves your chances of ranking.

3. Choose the Best WordPress SEO plugin: There are several SEO plugins available for WordPress, but Yoast SEO is one of the most popular ones. It adds more features and SEO tools to WordPress

4. Add XML sitemaps in WordPress: Sitemaps help search engines crawl your website more effectively. Add your site to Google Search Console: This tool helps you understand how Google views your site and optimize its performance in search results.

6. Optimize your blog posts for SEO: This includes using keywords effectively, optimizing images, and using meta tags

7. Do keyword research for your website: Understanding what keywords your audience is searching for can help you create content that meets their needs. 

Remember, SEO is a continuous process and it requires regular monitoring and adjustment to maintain high rankings in search results. You might also want to consider taking an SEO course or tutorial to further enhance your skills.

#readmorr #seotips #seomarketing
List Comprehensions for Filtering and Transforming Lists
Tags: python, programming, tutorial
Published: 2023-09-26 15:30:00

List comprehensions are a concise and powerful way to create, filter, and transform lists in Python. They provide a more readable and Pythonic approach than traditional loops when working with lists. Here's a quick overview of list comprehensions:

**Basic List Comprehension**:
   
   You can create a new list by applying an expression to each item in an existing iterable (e.g., a list, tuple, or range). The basic syntax is:

   ```python
   new_list = [expression for item in iterable]
   ```

   For example, if you want to create a list of squares for numbers from 1 to 5:

   ```python
   squares = [x ** 2 for x in range(1, 6)]
   ```

**List Comprehension with Condition**:

   You can include a condition to filter items from the iterable based on certain criteria. The syntax is:

   ```python
   new_list = [expression for item in iterable if condition]
   ```

   For example, to create a list of even squares for numbers from 1 to 10:

   ```python
   even_squares = [x ** 2 for x in range(1, 11) if x % 2 == 0]
   ```

**Nested List Comprehension**:

   You can also nest list comprehensions for more complex operations. For instance, to create a list of all pairs of numbers from two lists:

   ```python
   list1 = [1, 2, 3]
   list2 = ['a', 'b']
   pairs = [(x, y) for x in list1 for y in list2]
   ```

List comprehensions can significantly simplify your code and make it more readable. However, keep in mind that they should not be overly complex. If your list comprehension becomes too long or hard to understand, using traditional loops for clarity may be better.

By mastering list comprehensions, you'll write more concise and expressive code when working with lists in Python.