teleren/devto huggingface dataset:
Would You Rather Work in a Small Startup or a Large Corporation?
Tags: discuss, beginners, codenewbie
Published: 2023-04-05 07:00:00

If you had to choose, would you rather work in a small startup environment with a high degree of autonomy or work in a large corporation with more structured processes and hierarchies?

Small startups offer an opportunity to work in a close-knit team with a lot of freedom and the ability to wear multiple hats. On the other hand, large corporations offer more stability, established processes, and opportunities for growth.

What do you prefer and why? Share your thoughts in the comments below!
Alias Essentials: A Step-by-Step Guide to Creating Terminal Shortcuts
Tags: beginners, programming, productivity, linux
Published: 2023-04-05 06:26:30

As a web developer, we are no strangers to playing in the terminal. Whether running scripts, managing files, or installing packages, you rely on terminal commands to streamline your workflow.

However, long and complex command sequences can slow you down and hinder productivity. That's where creating custom alias commands come in handy. 

This article will guide you through creating alias commands in the terminal, allowing you to work more efficiently and effectively.

## What are Alias Commands?
Alias commands are shorthand versions of longer commands that you frequently use. 

They can be easily created and customized to suit your specific needs. 

Creating an alias command allows you to execute a long command sequence by typing just a few characters, saving time and minimizing the chances of making errors.

**Let's jump into creating aliases. 👇**
## Temporary Aliases
Creating a temporary alias is a simple process. In your terminal, type the following:
```
alias short_command="your_long_command"
```
For example, if you frequently list the contents of a directory with the `-l` flag to view them in a detailed format, you can create an alias for this command:
```
alias ll="ls -l"
```
Now, whenever you type `ll` in the terminal, it will execute `ls -l` instead. 

_Remember that temporary aliases will only last for your current terminal session._

## Persistent Aliases
You'll need to add the alias to your shell's configuration file to create a persistent alias that remains available across different terminal sessions and system restarts. 

## For Bash users
Open your `.bashrc` file in your favorite text editor, for ease I'm using nano:
```
nano ~/.bashrc
```
Add your alias to the bottom of the file:
```
alias short_command="your_long_command"
```
Save the changes and exit the text editor.
Either restart your terminal so the aliases are available or else to apply the changes immediately, run:
```
source ~/.bashrc
```
## For Zsh users
The process is similar, but you'll need to edit the `.zshrc` file instead:
```
nano ~/.zshrc
```
Then restart your terminal to apply the changes.

---
If you are not using Bash or Zsh, a quick search on the internet will help you find the config file name so you can find it and modify it. 

## Best Practices for Creating Aliases
- Choose concise and descriptive names for your aliases that are easy to remember.
- Group related aliases together in your shell's configuration file for better organization.
- Add comments to your configuration file to explain the purpose of each alias.
- Regularly review and update your aliases to ensure they remain relevant to your workflow.

---

Leave a comment below with your favorite one. 👇

Follow me on [Twitter](https://twitter.com/nialljoemaher) or [connect on LinkedIn](https://www.linkedin.com/in/nialljoemaher/).


**🚨 Want to make friends and learn from peers?**
You can join our free web developer community [here](https://www.codu.co/). 🎉
How to Reindex in Magento 2 from Command Line
Tags: webdev, magento, magento2tutorials
Published: 2023-04-05 06:41:00

Reindexing in Magento 2 is the most common way of refreshing the information in your store's record to guarantee that it is exact and cutting-edge. In the event that you make changes to your store's information, for example, adding new items or refreshing existing ones, you should reindex to mirror those adjustments of your store's list items and inventory pages. 

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

There are 2 different ways to reindex in magento 2 from the administrator board and other by order line. In this article, we will give a definite aid on the best way to **_reindex in Magento 2 from command line._**

For more info, visit **_https://webguru.dev/how-to-reindex-in-magento-2-from-command-line/_**
how add labeltext to the container in flutter
Tags: flutter
Published: 2023-04-05 06:33:33

{% embed https://youtu.be/VB6FLdDXUD0 %}

```
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Home(),
      debugShowCheckedModeBanner: false,
    );
  }
}

class Home extends StatefulWidget {
  const Home({super.key});

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          height: 100,
          width: 400,
          child: InputDecorator(
            decoration: InputDecoration(
                labelText: 'Box',
                border: OutlineInputBorder(
                  borderRadius: BorderRadius.circular(10),
                )),
            child: Text("Container Content"),
          ),
        ),
      ),
    );
  }
}

```
🐋 Effortless Docker images trends on Kaggle 📈
Tags: docker, datascience, python, jupyter
Published: 2023-04-05 05:59:02

## ❔ About

As we are going more and more digital, we rely and release an ever increasing set of artifacts : 

{% twitter 1638339730772316164 %}

... and as we go _cloud native_, docker images are a crucial part of it.

So it makes sense you want to get KPIs about their:

- 📝 **Description** & documentation quality (for better indexation and get traction)
- 📈 **Popularity**

This post is dedicated to this concern, for public images on DockerHub.com.

## 💡 Inception

I recently ran a **manual internal reporting** job on docker images, and I discovered that some of them were lacking descriptions : 


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

So I wanted, on an automated and daily basis to : 

- 🛑 **Lint images description** : be sure metadatas are properly setup
- 📈 **Get & share KPis** of the images popularity (nb. of downloads/Pulls) 
- 🦥 **Effortless** : get notified as soon a requirements are not met
- 📢 **Share** popularity

👉 Fortunately, DockerHub has a public API so this can be **achieved without too much efforts.**


## 🍿 Demo

{% youtube 2tWFPIPBZM4 %}

## 🔖 Resources

[![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3neohoz8yds9afxqbnzd.png)
](https://www.kaggle.com/code/optnouvellecaldonie/opt-nc-public-docker-images)
BakeMate - The Largest Chocolate Manufacture
Tags: chocolate, biscuits, wafers, confectionery
Published: 2023-04-05 05:50:46

Bakemate is one of the most inspiring **[chocolate](https://www.bakemate.in)** bars in the world, produces low-sugar or sugar-free chocolate with all master-class flavors, textures and aromas. Well-experienced master chocolatiers and the inventive team work on making the luxurious decadent chocolates that suits your senses and oozes your mind. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h6jwr23l1wciyz64l5jm.png)
Weekly web development resources #143
Tags: webdev, javascript, tooling, react
Published: 2023-04-05 05:40:56



______


##[Bearer](https://www.bearer.com/bearer-oss)
[![Bearer](https://wweb.dev/weekly/content/143/bearer.jpg)](https://www.bearer.com/bearer-oss)
An open-source application security scanner to protect your applications.

______


##[Mirrorful](https://github.com/Mirrorful/mirrorful)
[![Mirrorful](https://wweb.dev/weekly/content/143/mirrorful.jpg)](https://github.com/Mirrorful/mirrorful)
An open-source design system framework to generate colors and other design tokens for your project.

______


##[Glance](https://www.glance.fyi/)
[![Glance](https://wweb.dev/weekly/content/143/glance.jpg)](https://www.glance.fyi/)
A website to find website examples to inspire your next growth experiment.

______


##[ColorsWall](https://colorswall.com/palettes)
[![ColorsWall](https://wweb.dev/weekly/content/143/colorswall.jpg)](https://colorswall.com/palettes)
A simple tool to get color inspiration.

______


##[Coursemate](https://www.coursem8.com/)
[![Coursemate](https://wweb.dev/weekly/content/143/coursemate.jpg)](https://www.coursem8.com/)
A platform to connect with other self-learners and learn together.

______


##[dnsx](https://github.com/projectdiscovery/dnsx)
[![dnsx](https://wweb.dev/weekly/content/143/dnsx.jpg)](https://github.com/projectdiscovery/dnsx)
A fast and multi-purpose DNS toolkit designed for running DNS queries.

______


##[Hocus](https://github.com/hocus-dev/hocus)
[![Hocus](https://wweb.dev/weekly/content/143/hocus.jpg)](https://github.com/hocus-dev/hocus)
A self-hosted alternative to Gitpod and Github Codespaces.

______


##[The Ultimate Guide to Image Optimisation](https://calibreapp.com/blog/image-optimisation-guide)
[![The Ultimate Guide to Image Optimisation](https://wweb.dev/weekly/content/143/image-optimisation-guide.jpg)](https://calibreapp.com/blog/image-optimisation-guide)
An article that teaches how to optimize imagery without sacrificing its quality.

______


##[Hooks You Probably Don't Need](https://reacttraining.com/blog/hooks-you-probably-dont-need)
[![Hooks You Probably Don't Need](https://wweb.dev/weekly/content/143/hooks-you-dont-need.jpg)](https://reacttraining.com/blog/hooks-you-probably-dont-need)
An interesting article on some known and lesser-known React Hooks and how to use them properly.

______


##[Lago](https://www.getlago.com/)
[![Lago](https://wweb.dev/weekly/content/143/lago.jpg)](https://www.getlago.com/)
An open-source metering and usage-based billing tool as alternative to Stripe.

______


##[Make Bookmarklets](https://make-bookmarklets.com/)
[![Make Bookmarklets](https://wweb.dev/weekly/content/143/make-bookmarklets.jpg)](https://make-bookmarklets.com/)
A bookmarklet generator which is clean and easy to use. Create and test bookmarklets in your browser.

______

_Enjoyed this newsletter? You can support me by:_

💸 booking a [sponsored post](https://wweb.dev/sponsorship)

🥷 donating via [Sponsor Ninja](https://app.sponsor.ninja/projects/63d7dd38d907a8ed61dca67f)

🚀 helping me grow by sharing it with your friends and colleagues


Cheers,
Vincent from [wweb.dev](https://wweb.dev)
How to Install Magento 2 Enterprise Edition
Tags: webdev, magento, magento2tutorial
Published: 2023-04-05 05:33:55

It is fundamental to confirm that your server meets the base framework essentials for running Magento 2 Venture Release prior to starting the establishment interaction. These necessities include components like the PHP adaptation, MySQL form, and web server programming.

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

Whenever you have affirmed that your server meets the measures, you can continue with the establishment cycle. Despite the fact that introducing Magento 2 Endeavor Release might appear to be threatening, with suitable advances and readiness, it very well may be a straightforward cycle. In this article, we will examine the course of **_how to install Magento 2 Enterprise Edition_** on a nearby improvement climate exhaustively.

For more info, Visit **_https://webguru.dev/how-to-install-magento-2-enterprise-edition/_**
Dealing with Aeromexico Delayed Flights: What You Need To Know
Tags: news, travel
Published: 2023-04-05 05:18:26

You might be entitled to compensation if you had a "[Aeromexico delayed flight](https://www.travomonk.com/flight-delay/aeromexico-flight-delay-compensation-policy/)." Making a claim, however, can be a challenging procedure. Knowing your rights as a passenger and keeping track of any delays or changes to your travel schedule are crucial. According to Aeromexico's policy, travellers who have delays of more than four hours are entitled to compensation, however the amount and terms are dependent upon the specifics of each instance.depending on the specifics of each situation.
Blazor ProgressBar Overview
Tags: blazor, webdev, dotnet, csharp
Published: 2023-04-05 04:53:29

In this video, you will see an overview of the Blazor Progress Bar component, that allows you to indicate the progress of a task. Use determinate, indeterminate, buffer, active, and striped modes to view the task progress. You can also visualize the progress bar in different shapes such as rectangle, circle, or semicircle. Set a unique style to the circular shape by changing the start angle, sweep angle, radius, and inner radius.

Easily customize the track area with your own content by adding images, text, or shapes. Divide the progress into multiple segments. Tweak the indicator’s thickness and corner radius to get a different look. Set appealing colors to the progress indicator and track, and display the task progress in multiple ranges with gradient or solid colors. The Syncfusion Blazor Progress Bar component is available in the Syncfusion.Blazor.ProgressBar NuGet package. 

The Blazor ProgressBar component is also available on other major web platforms: JavaScript, Angular, React, Vue, ASP.NET MVC, and ASP.NET Core.

_Product overview_: https://www.syncfusion.com/blazor-components/blazor-progressbar

_Example_: https://blazor.syncfusion.com/demos/progress-bar/linear?theme=fluent

_Documentation_: https://blazor.syncfusion.com/documentation/progress-bar/getting-started

{% youtube dbl44ZiLMg4 %}
GIỚI THIỆU ÁO BÓNG RỔ MAKAN
Published: 2023-04-05 04:29:38

Áo bóng rổ là một trong những trang phục không thể thiếu trong môn thể thao này. Để có thể chơi bóng rổ một cách chuyên nghiệp và hiệu quả, bạn cần có một bộ áo bóng rổ chất lượng. Và nếu bạn đang tìm kiếm một địa chỉ cung cấp áo bóng rổ uy tín và chất lượng, thì Áo Bóng Rổ MAKAN là lựa chọn hoàn hảo cho bạn.

Với hơn 10 năm kinh nghiệm trong lĩnh vực cung cấp trang phục thể thao, MAKAN đã trở thành một trong những thương hiệu hàng đầu về áo bóng rổ. MAKAN cung cấp nhiều mẫu áo bóng rổ với nhiều kiểu dáng và màu sắc khác nhau, phù hợp với nhu cầu và sở thích của khách hàng.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/38bfi3m84h3g926erwkr.jpg)
Áo bóng rổ MAKAN được làm từ chất liệu vải cao cấp, mang lại sự thoải mái và tiện dụng tối đa cho người sử dụng. Với công nghệ in ấn tiên tiến, hình ảnh, logo và màu sắc trên áo bóng rổ MAKAN luôn được tái tạo chính xác và sống động, tạo nên sự chuyên nghiệp và tinh tế cho người sử dụng.
THÔNG TIN LIÊN HỆ:
Áo Bóng Rổ MAKAN
Website: https://makan.vn/aobongro/ 
Email: makanhcm@gmail.com
Địa chỉ: 500/65/4 KP3, Bùi Văn Ngữ Quận 12, Thành phố Hồ Chí Minh
Hotline: 0937.783.238
Twitter: https://twitter.com/aobongromakan
Pinterest: https://www.pinterest.com/aobongromakan/
Youtube: https://www.youtube.com/@aobongromakan/about
¿Por qué la lógica es la base de la programación?
Tags: beginners, programming, tutorial, productivity
Published: 2023-04-05 04:08:56

_Cuando empiezas en este mundo_, intentas resolverlo todo en una semana aprendiendo muchos lenguajes de programación, aprender todos los frameworks y todas las tecnologías, pero cuando empiezas con esa mentalidad empiezas mal, en ese post explico mi punto de vista sobre uno de los puntos más importantes cuando empiezas a aprender en esta área.

![Programer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8c74t2ris117tcfng9qo.png)

**¿Por qué la lógica es uno de los puntos que más nos saltamos cuando empezamos?**, La respuesta es fácil nos la saltamos todo el tiempo, y lo mismo empiezas y coges tu ordenador buscas en google uno o dos lenguajes de programación y empiezas a codificar. Pero cuando te paras y tratas de entender la lógica de por qué pones la variable con ese nombre o por qué usas el if o el else. 

![Investigación](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5hubbwhzk2idquzeekc3.png)

Trata de investigar por qué haces esas cosas y cuál es el propósito. Otro consejo es empezar con pseudocodificacion que es una buena base para empezar y mejorar tu logica, si necesitas empezar ahora mismo ese es **_mi consejo principal empieza con pseudocodificacion_** y despues elige tu primer lenguaje de programacion, y veras la diferencia cuando empieces con tu primer lenguaje de programacion.

Esto es todo por hoy gracias y nos vemos en otro post 😉.
Error: reason: connect ENETUNREACH 2606:4700::6810:1023:443
Tags: errors, node, docker
Published: 2023-04-05 03:41:32

If you're experiencing that kind of error message when trying to install something related with NodeJS in docker container, you should try that trick, in your Dockerfile adds that command:

```ENV NODE_OPTIONS="--dns-result-order=ipv4first"```

See my Dockerfile:

```dockerfile
FROM node:18.15.0

ENV NODE_OPTIONS="--dns-result-order=ipv4first"

RUN npm install -g @nestjs/cli
```

I hope it helps you in some way.
2439. Leetcode Solution in Python
Tags: python
Published: 2023-04-05 03:40:16

```python
class Solution:
    def minimizeArrayValue(self, nums: List[int]) -> int:
        return max(ceil(n / (i + 1)) for i, n in enumerate(accumulate(nums)))
```
#leetcode
#challenge
Here is the link for the problem:
https://leetcode.com/problems/minimize-maximum-of-array/
O que é CicleCI e qual sua função na programação?
Published: 2023-04-05 01:24:31

CicleCI é uma ferramenta de integração contínua (CI) usada para automatizar o processo de compilação, teste e implantação de software. É uma plataforma baseada em nuvem que ajuda os desenvolvedores a automatizar o processo de compilação e teste de software, permitindo que eles se concentrem em escrever código de alta qualidade.

Integração contínua é um método de desenvolvimento de software que visa integrar continuamente o código que está sendo desenvolvido em um repositório de código central. Isso significa que, sempre que um desenvolvedor faz uma alteração no código, essa alteração é testada e compilada automaticamente, garantindo que o código sempre funcione corretamente e possa ser integrado facilmente com outras partes do sistema.

O CicleCI permite que os desenvolvedores definam tarefas específicas que devem ser executadas sempre que um novo código é enviado para o repositório. Essas tarefas podem incluir a execução de testes automatizados, a compilação do código em diferentes plataformas, a implantação em ambientes de produção, entre outras.

Uma das principais vantagens do CicleCI é que ele é altamente configurável e pode ser integrado com várias ferramentas e plataformas, incluindo GitHub, Bitbucket e GitLab. Isso significa que os desenvolvedores podem usar o CicleCI para automatizar o processo de integração contínua em praticamente qualquer ambiente de desenvolvimento.

Outra vantagem do CicleCI é que ele suporta uma ampla variedade de linguagens de programação, incluindo Python, Ruby, JavaScript, PHP e muito mais. Isso torna o CicleCI uma escolha popular para equipes de desenvolvimento que trabalham em projetos em várias linguagens de programação.

Além disso, o CicleCI é altamente escalável e pode ser usado em projetos de qualquer tamanho, desde pequenos projetos de código aberto até grandes empresas com milhares de desenvolvedores.

Entre alguns dos maiores benefícios CircleCI podemos destacar o fato dele poder ser configurado para executar pipelines muito complexos com eficiência, cache sofisticado, cache da camada docker, classes de recursos para execução em máquinas mais rápidas e preços de desempenho.

Além de com operador ou administrador do CircleCI instalado em seus próprios servidores, o CircleCI fornece monitoramento e informações sobre suas construções e usa o Nomad Cluster para agendamento. 

Resumindo, o CicleCI é uma ferramenta de integração contínua altamente configurável e escalável que ajuda os desenvolvedores a automatizar o processo de compilação, teste e implantação de software.
Pull Requests, Post-Bootcamp Advice, and Implementing Alt Text!
Tags: codenewbie, beginners, discuss
Published: 2023-04-05 02:59:43

**It's a new week and I am still learning new things about coding, interspersed throughout my day of reading your articles over on the [#CodeNewbie Tag](https://dev.to/t/codenewbie)!**

For this week, I decided to find a broader range of articles, from super specific pull request-related content to increasing accessibility by using alt text. Call it a loose theme, theme being "things Rachel wanted to share this week"! 

**Without further ado... here are my picks of the week!**

1. “Two weeks ago we learned how to create a Pull Request on GitHub from Visual Studio Code and last week we saw how to review it. Today we'll see how to manage issues on GitHub from the editor.” - @balastrong 
{% embed https://dev.to/this-is-learning/manage-github-issues-from-visual-studio-code-3pop %}

2. “It's easy to feel jumbled and confused when trying to navigate the post-bootcamp phase. After some reflection, I've come up with a game plan that can help you make sense of it all.” - @torfrancis447
{% embed https://dev.to/torfrancis447/life-after-boot-camp-4m77 %}

3. “By not including alt text, we risk depriving our screen reader users of important information and added context that images provide to our sighted users.” - @baspin94
{% embed https://dev.to/baspin94/an-alt-text-primer-53fd %}


We/I over at CodeNewbie hope you are having a great week so far. 

**ALSO, let us know below what you are learning this week!** 💜
Javascript Proxy
Tags: webdev, beginners, javascript, programming
Published: 2023-04-05 02:45:36


The Proxy object allows you to create an object that can be used in place of the original object, but which may redefine fundamental Object operations like getting, setting, and defining properties. Proxy objects are commonly used to log property accesses, validate, format, or sanitize inputs, and so on.

### Example
```javascript
const target = {
    message1:'hello',
    message2:'everyone'
};
const handler  = {
   get(target,prop,receiver){
     const value = target[prop]
     if(prop ==='message1') {
        return value + ' world'
     } else if(prop ==='message2'){
        return 'Welcome '+ value
    }

    return value
   }
}

const proxy = new Proxy(target,handler);
console.log(proxy.message1) // hello world
console.log(proxy.message2) //Welcome everyone
```
The proxy object takes 2 arguments `target` which you want to create proxy and `handler` which

In the above example we have implemented `get` trap. This will intercept when you try to access the properties


-----

If you have read this far please leave a like and share your thoughts in the comment section

<center>Happy Coding</center>
Docker Commands Cheat Sheet
Tags: devops, docker, devjournal, cheatsheet
Published: 2023-04-05 02:32:00

## The 59 Commands You Need To Know



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


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


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

Thanks for reading this.

If you have an idea and want to build your product around it, schedule a call with [me](https://calendly.com/pragyanatvade).

If you want to learn more about DevOps and Backend space, [follow me](https://dev.to/pragyanatvade).

If you want to connect, reach out to me on [Twitter](https://twitter.com/pragyanatvade) and [LinkedIn](https://www.linkedin.com/in/pragyanatvade/).