teleren/devto huggingface dataset:
Se anuncia un elenco de chefs
Published: 2023-04-28 13:54:11

Uno de los elementos más importantes del programa Vivid Food es la residencia de dos semanas del chef neoyorquino Daniel Humm en Aria, de Matt [Moran](https://www.belloamanecer.mx/). Humm, que no necesita presentación ante los gourmets de todo el mundo, es el chef y propietario del Eleven Madison Park, [galardonado ](https://www.provincialnoticias.cl/)con tres estrellas Michelin. Humm saltó a los titulares cuando cambió todo el menú del que fuera número uno de los 50 mejores restaurantes del mundo por una oferta basada en plantas. Del 6 al 17 de junio [traerá ](https://www.impactodiario.cl/)a su equipo y a su visionario enfoque de la cocina a uno de los restaurantes más célebres de Sídney con motivo de Vivid [Residence](https://www.elpuntonoticias.mx/).

Vivid Chef Series acogerá a más de los chefs más interesantes del mundo, que unirán sus fuerzas a las de algunos de los mejores restaurantes de Sídney, como Kiln, Fred's y Yellow, para crear menús exclusivos y nunca antes probados. Entre las colaboraciones figuran el galardonado chef Jeremy Fox, de Los Ángeles, el chef Rishi Naleendra, de Singapur, galardonado con dos estrellas Michelin, y Mmabatho Molefe, de Ciudad del Cabo, uno de los pioneros de la hostelería del World's 50 Best Restaurants 50 Next en 2022.
GraphiQL with Firebase Auth
Tags: graphql, node, react, javascript
Published: 2023-05-22 19:10:26

If you're using [GraphiQL IDE](https://github.com/graphql/graphiql) provided by [Helix GraphQL server](https://github.com/contra/graphql-helix), you may find that it's not that trivial to hook it up with Firebase (Google Identity Platform) auth flow.

One way to make it work, is to inject the following code snippet into the HTML page containing GraphiQL IDE:

```html
<script type="module">
  import { initializeApp } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-app.js";
  import { getAuth } from "https://www.gstatic.com/firebasejs/9.22.0/firebase-auth.js";

  const app = initializeApp({
    projectId: "example",
    appId: "xxxxx",
    apiKey: "xxxxx",
    authDomain: "example.com"
  });

  function setAuthHeader(token) {
    const editor = document.querySelectorAll('.variable-editor .CodeMirror')[1].CodeMirror;
    const headers = JSON.parse(editor.getValue());
    headers.Authorization = token ? "Bearer " + token : undefined;
    editor.setValue(JSON.stringify(headers, null, 2));
  }

  getAuth(app).onIdTokenChanged((user) => {
    if (user) {
      user.getIdToken().then(token => setAuthHeader(token));
    } else {
      setAuthHeader(null);
    }
  });
</script>
```

Find the full example at https://github.com/kriasoft/relay-starter-kit
Motivación
Tags: career, beginners, productivity, codenewbie
Published: 2023-05-22 18:57:36

A lo largo de estos dos años que he estado trabajando como desarrollador en remoto, he enfrentado problemas cuando se trata de motivación. Hay días en los que me levanto con muchas ganas de comerme al mundo, deseando hacer muchas cosas, y otros días en los que me siento como este personaje: 

![Perezoso](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hvsu2gb97ju6mqgcz6sa.png)

Siento que últimamente los días han sido como si fuera el perezoso del dibujo. Después de sentirme como el personaje, llega un punto en el que necesito hacer las cosas por obligación y las hago, pero siento que algo no hace clic dentro de mí. He intentado organizarme de distintas formas, pero parece que mi cerebro evita que tenga control sobre las cosas que deseo realizar durante el día.

Afortunadamente, me di cuenta de esto y comencé a analizar qué es lo que realmente hacía en mi día. Resultó que perdía mucho tiempo divagando en todo y en nada. Me quedaba frente a la computadora gastando mis mejores horas de productividad en cosas sin sentido.

Decidí implementar un sistema que aún estoy probando. Trato de hacer que todas las tareas sean urgentes, como si me las fueran a pedir para mañana, para que mi cerebro entienda que tiene que ponerse a trabajar. Digamos que el sistema está en fase Beta.

Espero que realmente esto funcione. Creo que no se habla mucho de lo que realmente sucede con algunas personas cuando trabajan desde casa. No me malinterpreten, a mí me encanta trabajar desde casa. Simplemente, a veces se siente de manera muy aislada o que no tienes mucha interacción con personas, pero nada que unas buenas canciones o un descanso para jugar al FIFA no puedan solucionar.

Al final, para aquellos que están comenzando, no se sientan mal si algunos días son productivos y otros no. Comparto esto de manera muy personal para ver si alguien más está pasando por esto.
How to squash commit using #git reset --soft
Tags: github, git
Published: 2023-05-22 18:50:49

To squash commits using `git reset --soft`, you need to follow a few steps. Please note that squashing commits can rewrite the commit history, so be cautious and ensure you have a backup of your repository before proceeding.

Here's the process:

1. Identify the number of commits you want to squash. Suppose you have three commits with the following commit messages: Commit A, Commit B, and Commit C.

2. Open your terminal or command prompt and navigate to the repository's directory.

3. Execute the following command, replacing `<commit>` with the commit hash of the commit preceding the commits you want to squash (in this example, it's Commit A):

   ```
   git reset --soft <commit>
   ```

   For example:

   ```
   git reset --soft abcdef12345
   ```

   This command moves the branch pointer to the specified commit while keeping your changes staged.

4. Now, run the command:

   ```
   git commit
   ```

   This will open your default text editor to edit the commit message. By default, Git provides a message that includes the commit messages of all the squashed commits. You can modify this message to represent the squashed changes. Remove the lines corresponding to the commits you want to squash, save, and exit the editor.

5. Git will create a new commit with the updated message, combining the changes from the squashed commits.

6. Optionally, you can push the changes to the remote repository using:

   ```
   git push origin <branch-name>
   ```

   Replace `<branch-name>` with the name of your branch.

That's it! You have successfully squashed the desired commits using `git reset --soft`. Remember to be cautious while modifying commit history, especially if you are collaborating with others on the repository.
How to increase your CPM up to 40%! - Alternative to Google AdSense with a Direct Google Partner
Tags: publisher, adsense, webdev, cpm
Published: 2023-05-22 18:49:27

**Get your own Google Ad Manager account and boost your ads!
**
The main benefit and difference in terms of monetization is that **AdSense **is just a small part of Google's massive Marketplace. **With Google Ad Manager, you will have access to Google Ad Exchange**, opening up your ads to the entire global Marketplace. Therefore, if you have Google Ad Exchange, you allow multiple advertisers to compete for your ad inventory compared to Google AdSense users, where there is only a single buyer (which is Google itself). **This translates into more sources of demand, increased competition, higher CPM, and higher total revenue!**

It is important to clarify that gaining access to Google Ad Manager is easy; the difference lies in having ⭐ **Google Ad Exchange** 🏆 demand activated. To achieve this, you either need to have 10 million monthly pageviews or partner with an external provider -like us :) Learn more about the [MCM](https://support.google.com/admanager/answer/11130475?hl=en) program.

Receive payments directly from Google, get your sites approved super fast, manage your own GAM account with complete freedom and without any limitations. Treat yourself this upgrade!

We're proud of serving as facilitators and bridging the gap between the best ad management technology and smaller websites that wouldn't otherwise have the opportunity to access it.

**Do you want your own Google Ad Manager account? Send me a private message with your website details so we can start the review process** ✔️

Thanks for reading and sharing 🙏
Unveiling a Month-long Project: Seeking Expert Feedback to Propel Success!
Tags: update, webdev, frontend, programming
Published: 2023-05-22 18:41:30

🌟 Important project update! 🚀 I wanted to share that I've been diligently working on my latest project for over a month now, and significant progress has been made!
As I approach the final stages of the front end, I am eager to gather feedback from experts like you. Your professional insights and perspectives would be immensely valuable in shaping the outcome.
I kindly request your input and constructive feedback to help me refine and elevate the project to its fullest potential. Your expertise is greatly appreciated!
Please take a moment to review the current state of the project and share your thoughts by commenting below or reaching out to me directly. Thank you for your valuable support!

[Swahili Plate](https://luqmanshaban.github.io/swahili-client/)
[Github](https://github.com/luqmanshaban/swahili-client)
🌈Omkar DevTools: A Swiss Army knife for Ninja Developers🚀
Tags: tooling, productivity, webdev, javascript
Published: 2023-05-22 18:27:55


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

Maybe you just know [PowerToys](https://github.com/microsoft/PowerToys#about). It's a set of utilities for power users to tune and streamline their Windows experience for greater productivity.

[DevTools](https://www.omkar.cloud/devtools/) is more or less the same thing, but for developers.

## Introduction

Before Omkar DevTools, you must be using a lot of online tools on different sites.

Every time you need to remember the url of the tool, or open Notion to find my notes about the tools and I wasted a lot of times.

Not any more with Omkar DevTools you can access a number of tools in one Dashboard. 

At the moment there a lot of tools available inside Omkar DevTools:

- JSON to YAML
- YAML to JSON
- Base64 Encoder
- UUID Generator
- Secret Key Generator
- Hash Generator
- Lorem Ipsum Generator
- JWT Decoder
- Number Base Converter
- HTML Encoder and Decoder
- URL Encoder and Decoder
- GZIP Compressor/Decompressor
- Color Blindness Simulator
- File Hash Generator
- Base64 File Encoder
- Case Convertor
- Text Counter
- Json Duplicate Remover

## How to use DevTools

You can easily use Omkar Tools by visiting [https://www.omkar.cloud/devtools/](https://www.omkar.cloud/devtools/)


![Dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9fs7skbylaqg8fk793ys.png)

## Final Thoughts

Try Omkar Devtools at [https://www.omkar.cloud/devtools/](https://www.omkar.cloud/devtools/)

I am curious to hear your thoughts in the Comments about Omkar DevTools.

Dhanyawad 🙏
Tadalafil 20mg Kaufen: The Affordable Solution for Erectile Dysfunction
Tags: webdev, javascript
Published: 2023-05-22 18:06:00

Kamagra 
 • The pros of Kamagra 
 • What's erectile dysfunction 
 • Kamagra Guarantee 
 • The forms of Kamagra 
 • Tadalafil 20mg 
 • Side goods 
 • The cons of Kamagra 
 • Ordering Kamagra 
 • tradition-free 
 • Cash- on- Delivery 
 • Secure ordering 
 Kamagra is the best- known and most common medicine( also known as the blue lozenge) <a href="https://www.kamagratoday.to/tadalafil-20-mg/">Tadalafil 20mg Kaufen</a> for the treatment of erectile dysfunction. It's also for this reason that Kamagra is formerly available tradition-free these days. Kamagra Original is a dependable company that offers you the occasion to snappily and safely buy high quality Kamagra drug tradition free. All specifics are largely effective generics manufactured by leading pharmaceutical companies. You can buy Kamagra tablets online without a tradition at low prices and with maximum discretion. 

Get Best Offer to This Site>>>>>> https://www.kamagratoday.to/tadalafil-20-mg/
Storybook Genie
Tags: githubhack23, cli, openai, javascript
Published: 2023-05-22 18:05:12

## What I built 
A command-line interface tool that can generate storybook stories from react components

### Category Submission: 
Wacky Wildcards

### App Link
[https://www.npmjs.com/package/storybook-genie](https://www.npmjs.com/package/storybook-genie)

### Screenshots 
![CLI tool](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/43w87v5o0eqzz39wm5ss.gif)

### Description 
Storybook Genie is a command-line interface tool that can be used to convert files that contain React components into Storybook stories.

### Link to Source Code 
[https://github.com/eduardconstantin/storybook-genie](https://github.com/eduardconstantin/storybook-genie)

### Permissive License 
MIT

## Background (What made you decide to build this particular app? What inspired you?) 
I also created a web app that does the same thing with one small inconvenient, the user has to copy-paste the components in and from the app. That's how Storybook Genie was born, I wanted to make a tool for the editor that can simplify the process.

### How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?) 
I used Github Codespaces to build this tool, which was really easy to work with. I learned how to publish a npm package on [npmjs.com](https://www.npmjs.com/) and on Github. and I learned how to make command-line tools in nodeJS.

### Additional Resources/Info
Aimless.js - The Missing JS Randomness Library
Tags: javascript, opensource, github, frontend
Published: 2023-05-22 18:01:35

Hello Dev Community!

My name is Chris and I released v1.0.0 of Aimless.js [on Github](https://github.com/ChrisCavs/aimless.js) this week.  I think it's a pretty cool utility library for generating random numbers, and I wanted to share some of the things it could do!

Check out my [demo page](https://chriscavs.github.io/aimless-demo/).

My goal with this project was to create a library that made no assumptions regarding the PRNG that a user might use, and instead focus on the applications of PRNGs inside of frontend applications.  For example:

```javascript
import { bool, boolWithEngine } from 'aimless.js'

bool() // true/false

const customBool = boolWithEngine(() => 0)
customBool() // always false
```

Aimless.js provides a large variety of utilities, all of which accept custom PRNGs and create a minuscule import weight via code bundlers.

```javascript
import { normalDist } from 'aimless.js'

const results = []
const mean = 0
const std = 1

for (let i = 0; i < 100000; i++) {
  results.push(
    normalDist(mean, std)
  )
}

// You can expect that the mean of results will equal 0 +/- .001,
// with a standard deviation of 1
```

This is v1.0.0 of a project I plan to maintain indefinitely, and I'm looking for community feedback around ways to improve it or additional utilities that the community would find useful! I will be compiling any feedback and preparing a v1.1.0 minor release in the near future.

If you like the project, share the <3 with a star [on GitHub](https://github.com/ChrisCavs/aimless.js).  Thank you!
L'objet Set en JavaScript
Published: 2023-05-22 18:01:01

🤔 Comment gères-tu tes tableaux sans duplication (ou doublons) de données en JavaScript ?

C'est sûr à 90% que tu utilises une fonction afin de vérifier d'abord si l'élément est présent dans le tableau avant de l'ajouter. Je te présente aujourd'hui l'objet 'Set' qui te permet de créer un type de tableau qui n'accepte naturelement pas les doublons ou les duplications de données.

Je te laisse le découvrir par toi-même à travers cet exemple ci-dessous

![Javascript Set Object](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x6cdurvo99vp9fwz2lt6.png)

#javascript #tips #programming #backend #frontend #array
Want to know flutter dev roadmap
Tags: dart, flutter, webdev, mobile
Published: 2023-05-22 17:45:59

Hy, 
i am teacher from last 5 year and almost backlash my coding skill after my degree when i get a government job but programming always trigger into my head always to become a passionate developer kindly give me your valueable suggestion for flutter app development .
plus i am leaning now dart programming.
How many ways we can maintain the life cycle of service in Asp.Net Core
Tags: webdev, programming, aspdotnet, opensource
Published: 2023-05-22 17:28:31

In ASP.NET Core, there are several ways to maintain the lifecycle of a service. Here are the most common approaches:
### Transient: 
Transient services are created each time they are requested. A new instance is created for each dependency injection request, and the instance is not shared between multiple components. This is useful for lightweight and stateless services.
#### Example
```csharp
services.AddTransient<IService, TransientService>();
```
### Scoped: 
Scoped services are created once per client request (HTTP request in web applications). The same instance is used throughout the entire request, but different requests will have different instances. Scoped services are commonly used for services that need to maintain state during a request.
#### Example
```csharp
services.AddScoped<IService, ScopedService>();
```
### Singleton: 
Singleton services are created only once during the lifetime of the application. The same instance is shared across all requests and components within the application. Singleton services are suitable for services that are expensive to create or need to maintain a global state.
To specify the lifecycle of a service in ASP.NET Core, you can use the `AddTransient`, `AddScoped`, and `AddSingleton` methods when registering services in the dependency injection container.
#### Example
```csharp
services.AddSingleton<IService, SingletonService>();
```
What are your Goals for the week of May 22?
Published: 2023-05-22 17:19:55

## What are your goals for this week?
 

- What are you building? 
- What will be a good result by week's end?
- Are you attending any events this week?
- Did you meet your goals last week?


I'll start with how I did last week.

### Last Week's Goals

- [:white_check_mark:] Continue Job Search.
- [:x:] Blog
- [:x:] Code Challenges
- [:white_check_mark:] Process more photos add them to a site.
- Events
  * [:x:]Attend Virtual Coffee Thursday. * Was heads down in frontend and forgot till 15 late and wanted to finish what I was doing.
  * [:white_check_mark:] Other VC events if I can.

### This Week's Goals

- Continue Job Search.
- Coffee chat with a recruiter.
- Blog
- Code Challenges/Project work
- Process more photos add them to a site.
- Events
  * Attend Virtual Coffee Thursday. Last day of my son's school, It's a half day so I can only catch the start. 
  * Other VC events if I can.
- Make some signage for some prints in an artist booth.

### Your Goals for the week


You've read my goals so I'll throw that question back to you.

What are your goals for the week?

```html
-$JarvisScript git push
```
Github Recommend Repo Action
Tags: githubhack23, productivity, opensource, githubactions
Published: 2023-05-22 17:06:00

## What I built 

A Github action that recommends top 5 similar issues once a successful pull request is created. This can be really helpful for developers to find new issues once they are done contributing to an issue. 

Any open source repository can add this Github action and whenever developers try to create a pull request then, the action will return top 5 recommendations of similar issues. 

### Category Submission: 

Maintainer Must-Haves

### App Link

{% cta https://github.com/marketplace/actions/recommend-repo-action %} App Link {% endcta %}


### Screenshots 


![Javascript Example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fnjrns96go0i3zi05oeb.png)


![Python Example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/huyt6bxgr6rr0kul1zeu.png)

### Description 

Recommend Repo Action is a Github action that recommends Github issues/repo on a successful pull request. This enables developers to find similar kinds of issues/repo once they are done with an issue. They can immediately jump to any one from the top 5 recommended issues/repo. 

### Link to Source Code 

{% embed https://github.com/Hemanthhari2000/recommend-repo-action %}

### Permissive License 
MIT 
## Background (What made you decide to build this particular app? What inspired you?) 

I occasionally contribute to open source, but I struggle to find the appropriate issue or repository to contribute to. I would spend days searching for a suitable issue that I can contribute to and once the contribution has been made, it's back to square one. I had to start my search for finding an issue that I can contribute to. I figured this process would be easier if I could get a few recommendations as soon as I complete a pull request successfully. 

Github actions seemed to be a perfect tool to implement this idea since GitHub serves as a hub for numerous open-source projects, and having an automated trigger using github actions sounded convenient. Besides, it promotes motivation among individuals to continue their contributions to open-source projects.

### How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?) 

For creating this application, the Github actions and the strength of its public APIs were immensely helpful. Github actions were new to me, but I gained knowledge and understanding as I progressed.

### Additional Resources/Info
Created with love and passion. I am grateful for developers 
@sharmilas22  and @antoprince001, who collaborate on this open source project.
Trouble shooting docker - permission denied
Tags: docker, linux
Published: 2023-05-22 16:55:31

After installation or just after a an OS update or some package update docker engine starts to complain about insufficient permissions.
Particularly it complains about permission to access `/var/run/docker.sock`

```
docker ps
// permission denied message
```
```sh
$> ls -la /var/run/docker.sock
```
The output should show root:docker as {ownder}:{group}.
Run also 
```
ls -l /lib/systemd/system/docker.socket
```
The output should show root:docker as {ownder}:{group}.
If it shows root:root there is a problem

```sh
sudo chgrp docker /lib/systemd/system/docker.socket
```

Check the following:
```
groups
```
Current user should be member of these groups: `docker`, `kvm`.
if the `docker` group doesn't exist add it
```
sudo groupadd docker
```

If the new group is added or the group is there but current user is not a member, add it.
```sh
sudo usermod -aG kvm $USER
```
The current user now should be visible in group file `/etc/group`
or when running
```sh
getent group
```
or simply
```sh
groups
```

If not try running:
```
sudo su $USER -c groups
```
If the list of groups contain `kvm` and `docker` you need to log out and log back in or somehow restart `system-auth`.
After that it should work or there is further problem unrelated to the above.

## verify
```sh
docker ps
```
Онлайн редактор для створення обмірних креслень
Published: 2023-05-22 16:44:21

Це [безкоштовний онлайн-редактор](https://clearline.com.ua/editor/) для створення обміркових креслень кімнат, квартир, будинків та інших приміщень для дизайну інтер'єру та будівельних робіт, доступний на смартфоні. Редактор зберігає креслення у файл формату .dxf, що дозволяє працювати в програмах AutoCAD, ArchiCAD, Revit та іншому професійному програмному забезпеченні.