teleren/devto huggingface dataset:
Laravel Currency Converter Package
Tags: laravel, tutorial, php, backend
Published: 2024-01-25 16:47:18

It has never been easier to convert currencies with Laravel. By using `mgcodeur/laravel-currency-converter`, you will find your happiness.

No API Key required, it's fast, easy, unlimited and completely free. 

## Installation

You can install the package via composer:

```bash
composer require mgcodeur/laravel-currency-converter
```

After Composer has installed the Laravel Currency Converter package, you may run the `currency-converter:install` Artisan command:

```bash
php artisan currency-converter:install
```
## Basic Usage

### Convert money from one to another

```php
// convert 10 USD to MGA
$convertedAmount = CurrencyConverter::convert(10)
            ->from('USD')
            ->to('MGA')
            ->get();

dd($convertedAmount);
```
**NB: Don't Forget to import the CurrencyConverter Facades**

```php
use Mgcodeur\CurrencyConverter\Facades\CurrencyConverter;
```

### Convert all money from one

You can convert all money from one currency when you don't specify the `to` method.

```php
// convert 5 EUR for all currencies
$convertedAmount = CurrencyConverter::convert(5)
            ->from('EUR')
            ->get();

dd($convertedAmount);
```

### Get all currencies

To get all currencies, you can use the `currencies` method.

```php
$currencies = CurrencyConverter::currencies()->get();

dd($currencies);
```

### Format output result

Instead of using the `get` method, you can use the `format` method to format the output result.

```php
// convert 10 USD to EUR and format the result
$convertedAmount = CurrencyConverter::convert(10)
            ->from('USD')
            ->to('EUR') // you don't need to specify the to method if you want to convert all currencies
            ->format();

dd($convertedAmount);
```

At the moment, I have designed it exclusively for Laravel 10, so it only operates on Laravel 10.

If you like the package, please give it a star. 

[Here is the repository link](https://github.com/mgcodeur/laravel-currency-converter)
Bạn có yêu thích thời trang không?
Tags: news, learning
Published: 2024-01-25 16:44:15

Hoạt động với mục tiêu chia sẻ những góc nhìn mới về thời trang . Hơn hết là mang đến khái niệm thời trang không chỉ để ngắm, càng không chỉ là cái nhìn bề ngoài mà còn mang cá tính, câu chuyện và ý nghĩa riêng của người mặc. Do đó, để nói lên tiếng nói riêng của bản thân, việc lựa chọn thời trang để thể hiện cá tính của mình đang là xu thế được phái nữ chọn lựa. Bên cạnh đó kinh doanh những sản phẩm, trang phục mang đậm phong cách một “nàng thơ” vừa truyền thống nhưng lại thật cá tính.
**Tầm nhìn: **
Là tạo ra những bộ trang phục đẹp, sang trọng và phù hợp với phong cách của phụ nữ hiện đại. Thương hiệu có thể muốn thể hiện sự tự tin, cá tính và sáng tạo trong thiết kế của mình. Ngoài ra, thương hiệu cũng có thể muốn đưa ra thông điệp về sự đa dạng, bao gồm cả kích cỡ và màu sắc, để phù hợp với nhiều loại hình dáng và phong cách của phụ nữ. Trở thành thương hiệu thời trang nữ nổi tiếng được nhiều sự tin tưởng 
**Sứ mệnh: **
Là tạo ra những bộ trang phục chất lượng cao, đáp ứng nhu cầu và mong muốn của khách hàng. Thương hiệu cũng có thể muốn thúc đẩy sự tự tin và sự tự nhiên của phụ nữ thông qua những bộ trang phục đẹp và phù hợp với phong cách của họ. Ngoài ra, thương hiệu cũng có thể muốn đóng góp vào việc xây dựng một cộng đồng thời trang bền vững bằng cách sử dụng các vật liệu và quy trình sản xuất thân thiện với môi trường. Sứ mệnh của thương hiệu là thúc đẩy sự đa dạng và bao gồm tất cả các kích cỡ và màu sắc để phù hợp với nhiều loại hình dáng và phong cách của phụ nữ.
**[TÌM HIỂU NGAY!]( https://nangthodress.com/)**
Integrating tools Like OneConvert into Modern Education
Published: 2024-01-25 16:37:51

Unit conversion, a foundational skill in education and daily life, is undergoing a significant transformation in the digital age. Historically rooted in mathematics and physics, unit conversion once relied heavily on memorization and manual calculation. Today, the rise of digital tools has revolutionized this skill, integrating it seamlessly into online learning environments. This shift represents not just a change in tools, but a broader evolution in educational approaches, prioritizing accessibility and ease of use.

The integration of unit conversion into online learning platforms has made the process more engaging and applicable to real-life scenarios. Teachers can now incorporate digital tools into their lessons, encouraging students to apply these skills in practical situations, such as calculating paint required for a room or comparing the heights of world monuments. This approach not only makes unit conversion relevant but also exciting. Moreover, the digital format offers unique opportunities for interactive and collaborative learning. Students from diverse geographical backgrounds can work together on projects, utilizing unit conversion in various contexts, fostering a sense of global connection.

However, this transition to digital tools is not without challenges. The disparity in students' technological proficiency and internet access can hinder the effectiveness of these tools. Some students may struggle with navigating digital platforms, while others might face issues due to poor or unavailable internet connectivity. Educators need to address these challenges by providing additional support and alternative resources, such as offline tools or printable materials, ensuring equitable learning opportunities.

In assessments, balancing the use of digital tools with the necessity to understand the fundamentals of unit conversion is crucial. While these tools enhance learning and application, educators must ensure that students also grasp the core concepts of unit conversion.

In conclusion, the digitization of unit conversion is reshaping education, connecting it more closely with real-world applications. Digital tools like [One Convert](https://oneconvert.com/unit-converters/data-storage-converter) not just simplifying conversions; they are enlivening the learning process, making it more relevant and engaging. Despite facing technological and accessibility challenges, the incorporation of these tools in education represents a significant step towards making learning more inclusive, interactive, and enjoyable. As we embrace these changes, unit conversion in the digital classroom becomes a vital link between education and practical, everyday applications.
Learning Path to Become a Front-end Developer
Tags: frontend, programming
Published: 2024-01-25 16:32:42

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

Front-end development is an essential part of creating modern websites and web applications. Front-end developers are responsible for creating the user interface that users see and interact with. If you are interested in becoming a front-end developer, this guide will provide you with a step-by-step learning path to help you reach your goals.

## Level 1: Web Fundamentals

*At this initial stage, it is important to establish a solid foundation in fundamental web concepts:*

**HTML:** Learn how to create structure and web content using HTML, including tags, elements and semantics.

**CSS:** Master the art of styling your web pages with CSS, understanding selectors, properties and responsive design.

**Basic JavaScript:** Introduce yourself to programming with JavaScript, learning variables, conditionals and loops.

## Level 2: Advanced Front-end Development

*Once you have a solid understanding of the fundamentals, it’s time to go deeper:*

**Front-end frameworks:** Explore popular frameworks like React, Angular or Vue.js to create interactive and dynamic web applications.

**API Management:** Learn how to make requests to APIs to get and display data in your applications.

**Version Control:** Get familiar with tools like Git and GitHub to collaborate on projects and keep track of versions.

## Level 3: Optimization and Tools

*To excel as a front-end developer, you need to optimize and improve your skills:*

**Web Performance:** Learn how to optimize the performance of your websites, minimizing load times and improving user experience.

**Development Tools:** Learn and use tools like DevTools to debug and improve your workflow.

**Testing and Debugging:** Practice unit testing and learn how to effectively debug your applications.

## Level 4: Personal Projects and Portfolio

*Create personal projects and build an online portfolio to demonstrate your skills:*

**Practical Projects:** Apply what you have learned in personal projects, such as a web page or a small application.

**Online Portfolio:** Design and build your own portfolio website to showcase your projects and skills.

## Conclusion
By following this learning path, you will be well on your way to becoming a competent front-end developer. Remember that constant practice and a willingness to learn new technologies are key in this ever-evolving field.

> And don’t forget, never stop learning!
Great design trick I learned in X.509 (critical extension)
Tags: ssl, softwareengineering, x509, rfc5280
Published: 2024-01-25 16:24:17

Good software, file formats and network protocols are extendable. You may develop new version later, but it should interoperate with older version. Old client software must work with new server and vice versa. Old software must open files created by new version of software and vice versa.

Extensions are good for this, but usually it comes with problem: How should software work, if it finds unknown extension? Often answer is simple - "just ignore it". Skip unknown extension and process file/request. (Same as your web app does if HTTP request has unknown header - it just does not looks at it)

But sometimes this approach will fail. Sometimes simple ignoring extension will not work (especially in security area). And here comes "critical extension". Extension has some identified and simple boolean flag "critical". 

If software founds unknown extension it looks for flag. if not critical - ignore extension and go on. If critical - sorry, this software can not process this file/request (and it's very good if old software knows when it can process new data and when it should not try).


https://datatracker.ietf.org/doc/html/rfc5280
Deploying a Simple React.js Frontend with Docker Made Easy! 🚀
Published: 2024-01-25 16:22:52

Hey, fam! 👋 As junior developers, diving into the world of deployment might seem a bit daunting at first, but fear not! Today, I'm here to guide you through deploying a simple React.js frontend with Docker in a breeze. 🌐🐳

**Step 1: Get Your React App Ready**
Ensure your React app is ready for the big stage! If you don't have one yet, create a basic React app using `create-react-app`. 🚀

```bash
npx create-react-app dockerized-react-app
cd my-react-app
```

**Step 2: Dockerizing Your React App**
Create a file named `Dockerfile` in your project root. This file tells Docker how to build your app.

```Dockerfile
# Use an official Node.js runtime as a base image
FROM node:14

# Set the working directory
WORKDIR /usr/src/app

# Copy package.json and package-lock.json to the working directory
COPY package*.json ./

# Install app dependencies
RUN yarn install

# Copy the app source code
COPY . .

# Expose the port your app will run on
EXPOSE 3000

# Command to run your app
CMD ["yarn", "start"]
```

**Step 3: Build the Docker Image**
Open your terminal, navigate to your project directory, and run:

```bash
docker build -t dockerized-react-app
```

This command builds your Docker image with the name `dockerized-react-app`.

**Step 4: Run Your Dockerized React App**
Once the image is built, it's time to run your Docker container!

```bash
docker run -p 8080:3000 dockerized-react-app
```

Your React app is now running in a Docker container, accessible at `http://localhost:8080` in your browser. 🎉

**Bonus Tip: Simplify Development with Docker Compose**
Create a file named `docker-compose.yml` in your project root:

```yaml
version: '3'
services:
  web:
    build: .
    ports:
      - "8080:3000"
```

Run your app with:

```bash
docker-compose up
```

Voilà! Your React app is now deployed using Docker, and you're ready to share it with the world. 🚀

#ReactJS #Docker #WebDevelopment #JuniorDevelopers #TechTips

Feel free to reach out if you have any questions or need further guidance. Happy coding! 💻✨
How to fix huggingface ssh authentication error with git
Tags: git, huggingface
Published: 2024-01-25 16:21:05

So I recently started to use huggingface.co to store and retrieve models for our AI project at work, and as it essentially works like any other git repositories, I wanted to clone a model I needed to use, and used the SSH protocol to do so, as I really don't want to enter credentials every time, and it's also a bit more secure overall.
So I added my public SSH Key in [the account settings](https://huggingface.co/settings/keys), and went my to clone the repo, expecting to work straight away.

But it didn't.

What I was getting was the following error:

```sh
git clone git@hf.co:your-org/your-model
Cloning into 'your-model'...
remote: 
remote: ========================================================================
remote: 
remote: ERROR: This action requires authentication.
Make sure your SSH public key is linked with your profile on huggingface.co.
See https://huggingface.co/settings/keys.

remote: 
remote: ========================================================================
remote: 
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

```

I took me a while to figure it out, I added and remove the same key from the account, checked the permissions (but the key was working fine for Github, so clearly that wasn't the issue, but always better to check anyway).

I tried to follow the steps in [this page](https://huggingface.co/docs/hub/security-git-ssh), and again, everything seemed in order, until I run this command they listed at the end:

```sh
ssh -T git@hf.co

# Hi anonymous, welcome to Hugging Face.
```

And instead of getting the username from the welcome message, as I do from github.com, it was returning an anonimous user.
So I quickly checked if the SSH agent was actually using the key I use for other sites, by running the following command:

```sh
ssh-add -l
```

The above will list all the keys you have in the SSH Agent, and in my case I had other keys, but not the one I was using!

To fix that all you need to do is to run the following command:

```sh
ssh-add ~/.ssh/your-key

# Or if you want to use the default id_* key, just do
ssh-add
```

Ran again the commands above, and finally I could see that my key was used, and I could finally clone the repo!
Transforming Online Transactions with Rex Payments
Tags: rex, rexpayments
Published: 2024-01-25 16:05:07

Are you in the realm of high-risk payments and seeking a reliable solution? Look no further! Explore the intricacies of high-risk payment processing with RexPayments.com, a pioneer in secure and effective online transactions.

Understanding High-Risk Payments

High-risk industries often face unique challenges in payment processing. From increased chargebacks to stringent regulations, businesses need a partner that understands the complexities involved. RexPayments.com rises to the occasion, offering tailored solutions to mitigate risks and ensure smooth transactions.

Key Features of RexPayments.com for High-Risk Industries
Robust Security Measures: Entrust your high-risk transactions to RexPayments.com's cutting-edge security protocols. Our advanced encryption ensures the confidentiality of sensitive data, safeguarding your business and customers.

Customizable Risk Management: Tailor your risk management strategy to match the specific needs of your industry. RexPayments.com provides flexible tools to monitor and control risk factors effectively.

Transparent Fee Structures: High-risk doesn't mean hidden fees. RexPayments.com believes in transparency. Our straightforward fee structures empower businesses with a clear understanding of their financial commitments.

Expert Support Team: When navigating high-risk payments, having a reliable support team is crucial. [RexPayments.com ](https://rexpayments.com)expert support is available around the clock to assist with any inquiries, ensuring a smooth payment experience.

Why Choose RexPayments.com?

RexPayments.com goes beyond being just a payment processor; it's a strategic partner in your business's success. Join countless businesses in high-risk industries that trust RexPayments.com for secure, efficient, and compliant payment solutions.

Explore more about high-risk payments with RexPayments.com and witness the transformation of your online transaction experience.
Model Retouching Service
Published: 2024-01-25 15:58:32

[Master Graphics LLC](https://mastergraphicsllc.com/) is one of the most reliable photo touch- up and Image editing service providers in the world. We never compromise to deliver your project fast .

1.[Glamour Retouching:](https://mastergraphicsllc.com/model-retouching-service/) Basically Glamour Retouching focuses on enhancing the beauty and attractiveness. It is often used in fashion beauty and portrait photography

2.[High-end Beauty Retouching](https://mastergraphicsllc.com/background-removal-service/): High-end Beauty Retouching is a process to gain high quality images. It is mainly used in e-commerce photo, wedding photo, model or many other places.

3.[Body Shaping](https://mastergraphicsllc.com/image-masking-service/): We can reshape the body of the model and make it new to look gorgeous. 

4.[Headshot Retouching](https://mastergraphicsllc.com/model-retouching-service/): Headshot Retouching is a specific type of photo retouching primarily used in the fashion and corporate industries. In the image, it makes the person look natural without any visual change.

5.Skin Retouching: It involves smoothing the skin tones, removing the blemishes and wrinkles. Master graphics provides the best skin retouching service.  We use frequency separation for skin retouching. 
Thank You
Contact Us ON info@mastergraphicsllc.com 
Visit Our Website https://mastergraphicsllc.com/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vdqhwpabmqnt28phcb0t.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zed9359a0g4q187395lo.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8dgd13mi0rgic35aavbs.png)
List Of Remote Friendly Companies : Part 1
Tags: webdev, javascript, remote, beginners
Published: 2024-01-25 15:57:47

## This Is the List of remote friendly companies part 1/20:


https://docs.google.com/spreadsheets/d/18d_aa6UzdIfE7M7bSDEcoox_QLSfpHJk-OkK9JJvvus/edit?usp=sharing
Hello world dev.to!
Tags: beginners, webdev, helloworld, newhere
Published: 2024-01-25 15:56:35

Excited to be here among you all!
I'm **Italo Gama**, a Software Engineer joining this community to learn, share, and connect.
To be honestly I don't the habit of writing but I want to change that and this here will be my first step 💪🏼
Top Three Essential API Testing Tools You Need to Know About and a Bonus.
Tags: webdev, programming, opensource, api
Published: 2024-01-25 15:41:39

---
title: Top Three Essential API Testing Tools You Need to Know About and a Bonus.
published: yes
description: 
tags: webdev, programming, opensource, API
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d6b4gcmj5j1uczij7kle.png
# Use a ratio of 100:42 for best results.
# published_at: 2024-01-20 08:21 +0000
---

## 1. Postman

![Postman](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/714jlv1iw53h7hcylu2y.png)

A popular tool for API testing that allows for easy sending of requests, viewing responses, and running automated tests. It has a user-friendly interface and supports various types of API requests.

[Download Postman](https://www.postman.com/downloads/)

## 2. Insomnia

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

A simple but powerful tool for API testing, particularly useful for creating and managing requests to REST and GraphQL APIs.

[Download Insomnia](https://insomnia.rest/products/insomnia)

## 3. Thunder Client

Thunder Client is a lightweight, easy-to-use extension for Visual Studio Code (VS Code) that is used for API testing. It’s a relatively new tool in the market compared to more established ones like Postman and SoapUI. Thunder Client is designed to provide a simple and intuitive interface for developers and testers who are already using VS Code for their development activities. Here are some key features and aspects of Thunder Client:

[Download Thunder Client](https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client)


Main Features
* Lightweight Rest API Client for VS Code.
* Simple & Easy to use UI
* Supports Collections and Environment variables & Graphql Queries.
* Scriptless Testing: Test API response easily with GUI based interface .
* Themes: The extension also supports VS Code themes.
* Local Storage All the requests data is saved locally on your device.

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

Bonus:

## APIdog

[Download APIdog](https://apidog.com/)