teleren/devto huggingface dataset:
Generate QR Code in .NET MAUI
Tags: dotnet, dotnetmaui, ios, android
Published: 2023-04-18 10:51:12

In this article, I'm going to show you how to generate a QR code in .NET MAUI for Android and iOS without Google Vision or ZXing. This is to bring to you an alternative to generate-only QR codes without too much dependencies.

---

### About the NuGet Package
QRCoder-ImageSharp is a simple library, written in C#.NET, which enables you to create QR codes. It was forked from the QRCoder project that is using the System.Drawing assembly.

Because of the System.Drawing assembly does not support non-Windows platforms, QRCoder-ImageSharp is using the ImageSharp assembly to support more platforms.

You can find more information here: [https://www.nuget.org/packages/QRCoder-ImageSharp#readme-body-tab](https://www.nuget.org/packages/QRCoder-ImageSharp#readme-body-tab)

---

### Let's Start
First, we will add the following NuGet package in our .NET MAUI project:
```xml
<ItemGroup>
    <PackageReference Include="QRCoder-ImageSharp" Version="0.9.0" />
</ItemGroup>
```

Then, we create a method to generate our QR Code
```csharp
QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode(“Hello MAUI”, QRCodeGenerator.ECCLevel.L);
                    
PngByteQRCode qRCode = new PngByteQRCode(qrCodeData);
byte[] qrCodeBytes = qRCode.GetGraphic(20);
ImageSource qrImageSource = ImageSource.FromStream(() => new MemoryStream(qrCodeBytes));
```
The qrImageSource variable can then be assigned to an image control in .NET MAUI to display the generated QR code.
```xml
<Image
x:Name="QrCodeImage"
HeightRequest="200"
HorizontalOptions="Center"
WidthRequest="200"/>
```
```csharp
QrCodeImage.Source = qrImageSource;
```
And that's all! 

---
### Plus Plus
It happens that you may need to share that generated QR Code as image via a social app such as Whatsapp, Facebook, Twitter, etc. Well, we can use the .NET MAUI Api to store the image in a cache folder and then share it easily.
```csharp
// Right after the image is created we create a PNG image and store it on the cache of the app
var path = FileSystem.Current.CacheDirectory;
string fn = "demo-qr-code.png";
var fullPath = Path.Combine(path, fn);
await File.WriteAllBytesAsync(fullPath, qrCodeBytes);

// Then we display the share native options on each platform to share it with others
string file = Path.Combine(FileSystem.CacheDirectory, fn);

await Share.Default.RequestAsync(new ShareFileRequest
{
      Title = "Generated QR Code",
      File = new ShareFile(file)
});
```

### Conclusion
Sometimes, we just need a package that helps us to do a single task. There are other libraries that offer more capabilities, however, they also requiere additional permissions and configuration. If you need a QR & Barcode scanning I highly recommend you to check out the [youtube channel](https://youtube.com/@jfversluis) from our friend Gerald where you can find amazing guides about how to use either Camera.MAUI, Google Vision or ZXing libraries. 

Thanks for reading! Follow me on Twitter **[@ivictorhugo](https://twitter.com/ivictorhugo)**
5 interesting little-known Linux OS
Tags: linux, opensource
Published: 2023-04-18 09:34:41

Qubes OS: This operating system is one of the most secure and private Linux-based options. Qubes OS uses a virtualization architecture to create isolated "containers" for different tasks, meaning that if one container is compromised, the others remain secure. It also uses full disk encryption and a secure boot system to protect against firmware and malware attacks.

Tails: Tails is a Linux-based operating system designed to provide online privacy and anonymity. It includes tools such as Tor to route web traffic through a network of servers around the world, as well as full disk encryption and tools to completely erase browsing history and temporary files.

3. Elementary OS: This Linux-based operating system is known for its sleek, minimalist design, which resembles macOS. It is also designed to be easy to use, with an intuitive user interface and a careful selection of pre-installed applications. Although it does not have as many advanced features as other operating systems on this list, it is a good choice for users looking for a clean and simple user experience.

4. Solus: This Linux-based operating system is a popular choice for users looking for a modern, well-integrated desktop experience. It uses the Budgie desktop environment, which is known for its sleek design and ease of use. It also includes a selection of pre-installed applications, including productivity options such as LibreOffice and multimedia tools such as VLC.

5. Manjaro: This Linux-based operating system is a distribution of the popular Arch Linux distro, but with a simpler installation and a selection of preconfigured packages. It is known for its focus on stability and ease of use, and has an active community that offers support and help to users. It also includes a selection of popular desktop environments, such as KDE and XFCE.

From [Toplinux.org/en](https://toplinux.org/en)
Greetings Programs!
Tags: announcement
Published: 2023-04-18 10:26:48

As many of you know I've been writing a Development and History blog about the Pidgin project over on [patreon.com/rw_grim](https://patreon.com/rw_grim).

However, Patreon leaves a lot to be desired. I don't want to get into everything but the lack of an RSS feed and a lack of code blocks make a Development blog very difficult.

So you're probably wondering "What's changing?" And actually not a lot really. The post schedule is going to remain the same, except the primary post will be here on this dev.to page but a Patreon post will also go out linking to here.

The posting schedule will remain the same. New posts will be available to patrons and subscribers Monday at 1400 UTC and then going public Thursday at 0500 UTC.

I'll also be bringing all of the old Patreon blog posts over here as well. They'll be tagged with `#repost` to help you quickly identify them if you don't want to re-read them. There's no schedule for bringing all of these over but I am hoping to get at least one reposted each week.

I hope you all enjoy the changes and like always feel free to share any comments you may have below!

You can find the RSS feed to this posts via [dev.to/feed/grim](https://dev.to/feed/grim).
Basics of CSS for Beginners
Tags: webdev, beginners, css, codenewbie
Published: 2023-04-18 10:16:26

In this blog, I will introduce you to the very basics of CSS. First of all, what does CSS stand for?

CSS stands for **Cascading Style Sheets.** It is a style sheet language which is used to describe the look and formatting of a document written in HTML. With CSS we can play with the whole page layout, we can change the colours of backgrounds, fonts, font sizes and many more things.  


You can write your CSS within the the <`head`> section of your HTML document but in most cases you will create a CSS folder. 

## Basic Example:

```
p {
color: blue;
font-size: 20px;
text-align: center;
}
```
In the code block above, I am styling the paragraph (<`p`>) in CSS. I changed the text colour to blue, I also made the font-size 20 pixels. Also I aligned the text so that it's in the centre of the page. There are many more styling attributes that you could style in CSS and I will go through them in the next blog, but here is another example with a little more styling:

```
h1 {
color: orange;
font-size: 35px;
text-align: center; 
font-family: "Lucida Console", "Courier New", monospace;
}

p {
color: blue;
background-color: orange;
font-size: 20px;
text-align: center;
font-family: "Times New Roman", Times, serif;
}

```
In the example above, I added a background-color, which is the background colour of the paragraph. I also added a font using font-family. There are many different fonts that you can use. 

In this very short blog, I wanted to give you a very basic introduction to CSS by using a few examples. There is so much more to CSS which I will start to explain in the next blog. 

Thank you for reading, and I hope this basic introduction has helped, in the meantime...

**Keep Coding!! 💻**

**FUN FACT: CSS was first intended in 1994 by Håkon Wium Lie while working at CERN with a computer scientist Tim Berners-Lee.**
Fraser Island Tours
Published: 2023-04-18 10:09:21

If you're looking for a unique and unforgettable experience, **_[Fraser Island Tours](https://www.dropbearadventures.com.au/fraser-island/)_** is the way to go. This guided tour will take you on an adventure through one of the world's largest sand islands, located off the coast of Queensland, Australia. With Drop Bear Adventure, you'll be able to explore the island's stunning natural beauty, including crystal-clear lakes, lush rainforests, and miles of pristine beaches. You'll also have the chance to spot local wildlife, such as dingoes, wallabies, and sea turtles.
Building the Future of Digital Experience with Metaverse Development Services
Published: 2023-04-18 10:08:43

The concept of a metaverse, a fully immersive and interconnected digital world, has been around for decades. With the advancements in technology and the growing interest in virtual and augmented reality, the idea of a metaverse is becoming more of a reality than ever before. [Metaverse development services](https://www.cubix.co/metaverse-development) are at the forefront of this trend, providing businesses with the tools and expertise to build immersive digital experiences.

Metaverse development services offer a range of solutions, including virtual reality (VR) and augmented reality (AR) app development, 3D modeling, and world building. These services can be used to create virtual events, training simulations, gaming experiences, and much more.

The potential for metaverse development services is vast, and as the technology continues to evolve, we can expect to see even more use cases emerge. The metaverse has the potential to revolutionize industries like entertainment, education, and healthcare by providing new and innovative ways to engage with audiences.

As developers, entrepreneurs, and business leaders, we should be paying attention to the impact that the metaverse can have on our respective industries and exploring ways to incorporate it into our operations. Let's start a discussion on the potential of metaverse development services and how we can leverage this technology to build a better future.
Discover Cheap Land for Sale in Florida by Owner: Your Path to Affordable Property Ownership
Tags: landsale, cheaplandforsale, landforsaleinflorida, cheapland
Published: 2023-04-18 10:04:24

Are you looking to invest in property or build your dream home without breaking the bank? Look no further than **[cheap land for sale in Florida by owner](https://wlandmarksandholdingsllc.com/tips-to-find-cheap-land-for-sale-in-florida-by-owner/)**. Our selection of affordable properties offers a range of options, including waterfront lots and wooded acreage, perfect for any budget or lifestyle. By buying directly from the owner, you can avoid costly real estate agent fees and secure the best deal possible. Don't miss out on the chance to own a piece of paradise in the Sunshine State - discover cheap land for sale in Florida by owner today.
Javascript Object #13
Tags: javascript, webdev, beginners, programming
Published: 2023-04-18 10:02:21

In this Post we are going to see the **Object.is()** method in Javascript.

## **Object.is()**

This is method was introduced later in **ECMASCRIPT17**,this method is used to compare the two values.

The **===** and **Object.is()** behaves the same way as the Strict equal,but in two ways they differ.

- -0 and +0

- NaN

## **Negative zero**

In **===** it treats both the negative and non negative numbers as same or else what we could say is, they are equal.
let's see this with an example,

```javascript
`let amount = +0,
    volume = -0;
console.log(volume === amount);`
```
OUTPUT:

```javascript
`true`
```

Here comes the **Object.is()** he treat him as they are not same,

```javscript
`let amount = +0,
    volume = -0;
console.log(Object.is(amount, volume));`
```
OUTPUT

```javascript
`false`
```

## **Nan**

Here comes another one,as when you compare the **Nan** with the **===** operator it will return false,as they think they are not same.**Nan** is the only number that does not equals itself.

```javascript
`let quantity = NaN;
console.log(quantity === quantity);`
```
OUTPUT

```javascript
`false`
```

However, Object.is() treats NaN as the same value:

```javascript
`let quantity = NaN;

console.log(Object.is(quantity, quantity));


Output:

true`
```

I'll attach a table that can help you a lot and save your many time.

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


Thanks for your mean Time,
Sam.
My Journey in Open Source - github-workflow-migrator
Tags: javascript, typescript, opensource, github
Published: 2023-04-18 10:00:00

## What is it?

This is a tool to migrate GitHub Actions workflows from one repository to another/multiple repositories.  

## How to use it?

### Prerequisites

-   [Node.js](https://nodejs.org/en/) (>= 10.0.0)

### Installation

```bash
npm install -g github-workflow-migrator
```

### Npx
You can simply execute the migrator via `npx`:

```bash
npx github-workflow-migrator -cnf ./config.json
```


### Usage

#### Help

This command will provide you a list of all available options.

```bash
npx github-workflow-migrator -h
```
#### All options

```bash
npx github-workflow-migrator -gu Cadienvan -gm ssh -i -t -cm -v -rp 'abc,def,ghi' -cu "customurl" -f "foldercustom" -ci "npm install custom" -ct "npm test custom"
```

#### Simple usage

```bash
npx github-workflow-migrator -cnf ./config.json
```

### Configuration

Please, look at the [config.example.json](https://github.com/Cadienvan/github-workflow-migrator/blob/main/config.example.json) file.

## License

MIT

## Contributions

Contributions are welcome! Feel free to open an issue or a pull request.
Buy Assignment Online in the UK: Get Expert Help for Your Academic Success
Tags: assignment, uk, assignmenthelp, ukassignmenthelp
Published: 2023-04-18 09:53:01

Are you struggling with your assignments and need some help? Look no further than buying assignments online in the UK. Our team of experts is here to provide you with high-quality, custom-written assignments that are guaranteed to get you the grades you deserve. Whether you need help with essays, research papers, or dissertations, we offer a range of services to meet your academic needs. Plus, with 24/7 customer support and affordable prices, you can rest assured that you're getting the best value for your money. Don't let academic stress hold you back - **[buy assignments online in the UK](https://www.britishassignmenthelp.co.uk/buy-assignment-online)** today and achieve academic success.
Code-Collab
Tags: webdev, react, node, javascript
Published: 2023-04-18 09:50:12

[**CodeCollab**](https://code-collab.xyz) is a web solution that allows multiple users to code together in real-time, and you can also run and save the code file, with a chat feature for easy communication and support for multiple languages and CodeGPT for solving any programming related queries.

**Flowchart**

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

**Features**

- Realtime code editing
- Code in multiple languages
- Save your code
- Run your code
- CodeGPT
- Chat with the users in the room

**Tech Stack**

- Frontend : ReactJs, Socket IO, Bootstrap
- Backend : NodeJs, Express
- API : Open AI API
- Hosting : Render

**Link**
https://code-collab.xyz
Content Creation AI Tools You Need To Know
Tags: ai
Published: 2023-04-18 09:40:52

AI-powered content creation tools are gaining appeal among content creators and authors. Anyone's initial goal is to save time without sacrificing content quality. AI solutions help in content production automation, allowing us to focus on creative components rather than time-consuming tasks.

This post will detail the most well-known content production AI tools that everyone should be familiar with and use!

**Grammarly, the AI Writing Tool for Content Creation**

Grammarly, with millions of users worldwide, is one of the most popular AI-powered content production tools. A writing assistant provides real-time input on grammar, spelling, and punctuation. It also suggests phrasing and sentence structure adjustments. Grammarly is a fantastic tool for:

- Authors who want to verify that their work is free of errors and well-written

- Students who desire to improve their writing skills and create high-quality articles.

- Anyone who want to send well-written emails and SMS messages.

- Companies that must produce essential documents that must be meticulously polished

**PlaygroundAI for Visual Content Creation**

Images and pictures are frequently used by content writers and makers to enhance and improve their work. Many websites, like Pexel, Pixabay, Unsplash, and Canva, allow individuals to get royalty-free photos. However, an increasing trend is to leverage AI-powered technologies to produce distinct and creative visual content.


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

PlaygroundAI is one of the top picture production AI solutions among content creation AI technologies. It allows producers to use pictures as triggers to create new and distinctive visuals using AI technology. This platform creates customized images to fit the style and tone of any item you provide as an example. After that, you may customise the AI images by changing the colour, shape, and texture.

**Tome,the AI tool for Storytelling**

A creative, clear, and high-quality presentation is required for an effective presentation. Anyone who has worked or studied has had to put together a series of slides to explain a project or topic. We are all aware of how long it takes to produce a quality product in both form and substance. The lengthy hours of editing and drafting, on the other hand, are now a distant memory. Indeed, AI-powered content creation tools allow you to create a presentation from scratch in minutes.

Tome is the most remarkable and frequently used. By adding a title or topic, you may build stunning, professional presentations. Then it will create a fully-loaded slide deck with all the material you choose. 

Read more about AI content creation tools [here](https://www.zegocloud.com/blog/content-creation-ai-tools).

Check the full post and more posts on www.zegocloud.com
Synzen: Cursos de Python y JS asistido por IA
Tags: javascript, python, chatgpt, ai
Published: 2023-04-18 09:40:42

Synzen es un sitio web de cursos en línea que ofrece una amplia variedad de temas, desde programación hasta historia y filosofía. El diseño del sitio es impresionante, con un estilo minimalista y moderno que hace que navegar por él sea fácil y agradable.

Lo que hace que Synzen sea único es su chatbot tutor gratuito, Chatgpt. Esta IA puede ayudar a los estudiantes con cualquier pregunta que puedan tener y proporcionar ayuda en tiempo real. Es una gran idea para aquellos que necesitan ayuda adicional y no quieren pagar por un tutor personal.

Los cursos en sí mismos también son de alta calidad. Ofrecen una amplia gama de cursos de programación, incluyendo Python, JavaScript y Node.js, todos ellos muy demandados en la industria tecnológica. Además, también hay cursos de historia y filosofía que pueden ser de interés para aquellos que buscan expandir sus conocimientos en estas áreas.

Además, el hecho de que todo sea gratuito es una gran ventaja para quienes no pueden permitirse pagar por cursos en línea. Sin embargo, esto podría plantear preguntas sobre cómo se financia el sitio y si hay algún tipo de compromiso o truco detrás de la gratuidad.

En general, Synzen es un sitio web impresionante que ofrece una amplia variedad de cursos de alta calidad y un chatbot tutor gratuito. Si buscas mejorar tus habilidades técnicas o expandir tus conocimientos en áreas como la historia y la filosofía, este sitio web es definitivamente una buena opción para considerar.

Fuente: [Synzen.org](https://synzen.org/)
How To Easily Perform Specflow Parallel Execution With NUnit
Tags: javascript, testing, lambdatest, tutorial
Published: 2023-04-18 09:35:51

Are you interested in learning how to run tests in parallel using SpecFlow, NUnit, and Selenium?

Here is one of Himanshu Sheth amazing blogs, in which he goes into great detail about parallel execution using SpecFlow, NUnit, and Selenium. 
LambdaTest SpecFlow Selenium #QAAutomationLabs #learning

Here is the [link](https://www.lambdatest.com/blog/parallel-execution-with-specflow-nunit-and-selenium/?utm_source=linkedin&amp;utm_medium=organic&amp;utm_campaign=apr_14&amp;utm_term=sj&amp;utm_content=blog) for detail discussion
Assistant Childcare Jobs
Published: 2023-04-18 09:33:21

Murdock Education Recruitment is the leading provider of **_[assistant childcare jobs](https://www.murdockrecruitment.com/job-seekers/browse-childcare-jobs/)_**. Our team of dedicated recruiters has a wide range of experience working in childcare and educational recruitment, ensuring we find the right candidates for each role. We understand that quality staff is integral to the success of any childcare setting, so we strive to provide a comprehensive service that ensures all needs are met.
Nuxt 3 Project
Published: 2023-04-18 09:33:16

Starting a project example-proj. If you wish to build a project including an API, please use [Sidebase](https://sidebase.io/) because it has selected plugins pre-configured. For building a Single Page Application, this is a good starting point.

```
npx nuxi@latest init example-proj
cd example-proj
pnpm install --save-dev @nuxtjs/tailwindcss
pnpm install --save-dev nuxt-icon
pnpm install --save-dev @tailwindcss/typography
pnpm install --save-dev @sidebase/nuxt-auth
pnpm install @headlessui/vue
```

Configure Tailwind

`nuxt.config.ts`

```
export default defineNuxtConfig({
    modules: [
        '@nuxtjs/tailwindcss',
        '@sidebase/nuxt-auth',    
        'nuxt-icon'
    ],
    app: {
        head: {
            link: [
                { rel: 'icon', type: 'image/x-icon', href: '/favicon.png' }
            ]
        }
    }
})
```