teleren/devto huggingface dataset:
Qiziqarli Quiz!
Tags: cpp, programming, uzbe, beginners
Published: 2022-03-16 09:49:32

Qiziqarli Quiz !
Boshladik Qiziqarli Quiz savollari bilan tanishing!
1. Terminalda bugungi sana nomi bilan (dd-mm-yyyy) formatida papka ochish komandasini kiriting!
2. C++ dasturlash tilida quyidagi using namespace std; buyrug'ining vazifasi nima?
using namespace std;
Enter fullscreen mode
3. Joriy papkadagi main.cpp nomli kodni kompilyatsiya qilish komandasini kiriting!
4. Joriy papkadagi main.cpp nomli code ni kompilyatsiya qilgach a.out nomli by default faylni ishga tushirish kommandasini kiriting!
5. Hozirgi papkadan bitta oldingi papkaga qaytish kommandasini kiriting!
6. $HOME papkasiga qanday qaytiladi ?!
7. Siz $HOME papkasida turipsiz. shu papkadan chiqmagan holda qanday qilib Downloads papkasi ichidagi keraksiz.txt faylni o'chiradi ?!
8. Siz turgan papka ichidagi keraksiz.txt nomli faylning ichidagi kontentni terminalga chop etadigan komandani kiriting !
9. Siz turgan papka manzilini chop etadigan kommandani kiriting !
10. Siz turgan papka ichidagi barcha papka, fayllarni chop etadigan kommandani kiritng!
11. Siz hozir ~/Documetns papkasi ichidasiz.Shu papka ichidagi barcha fayl va papkalarni (yashirinlarini ham) chop etadigan kommandani kiriting !
12. Siz hozir ~/Documents papkasidasiz.Shu papkadan chiqmasdan ~/Downloads ichidagi barcha narsalarni ro'yxatini chop etadigan kommandani kiriting !
13. Joriy papkadagi main.cpp faylni kompilyatsiya qilib uni tayyor nomli faylga dastur sifatida saqlaydigan kommandani kiriting !
14. Terminalda bugungi sana nomi bilan (dd-mm-yyyy) formatida chop etuvchi komandani kiriting!
15. oriy papkani VsCode dasturida workspace (ishchi maydon) sifatida ochadigan kommandani kiriting!

#####Bu qiziqarli Quiz savollari IT haqida nmadir bilmoqchi bolsangiz shu [javoblar](https://dev.to/justakrom)orqali javob topishingiz mumkin.
A COMPLETE guide on how to make Docker images even smaller
Tags: docker, tutorial, devops
Published: 2022-03-16 09:46:36

!["Small container images"](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7fz51006m2ufnuarnb95.png)
 
These days everything is either moving or already running in [containers](https://www.docker.com/resources/what-container) when it comes to software infrastructure. **The very first container of Symflower was not for our product**, some service or our website, it was our [continuous integration (CI)](https://en.wikipedia.org/wiki/Continuous_integration). Starting off with an almost tiny 100MB, we noticed that our baby Docker container image has grown to **a full-size monster** with a whopping 6.2GB. Here is a step-by-step guide **on how you can reduce the size of your container images** and how we slimmed down our oversized monster image.

`{{< info-block >}}`
Please note that this article is not just a bunch of tips, but is really meant as a complete guide with debugging information on how to slim down your container images. While only Docker is mentioned, these steps and techniques are applicable to most solutions. In any case, if you find a step that we missed towards a smaller image size: tell us! We will extend the article so the next person benefits from your feedback.
`{{</ info-block >}}`

`{{< table-of-contents >}}`

As with everything in the world of software development and infrastructure, we can rely on best practices that others have already established by most likely wading through hours of painful research.

> **For a comprehensive guide to reducing the size of Docker images, continue reading on Symflower's blog:
[A COMPLETE guide on how to make Docker images even smaller](https://symflower.com/en/company/blog/2022/complete-guide-on-shrinking-container-images/)**
Today's Daily Dose of Programming Humor
Tags: jokes, dailydeveloperjokes
Published: 2022-03-16 08:00:22

---
title: "Today's Daily Dose of Programming Humor"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1259b02befe.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q___: Why did the functional programmer finally move out of their house?

___A___: For(e) closure
 -->
How to deploy an API Management solution, as containers, in Kubernetes, in a matter of minutes
Tags: webmethods, apimanagement, apigateway, apiportal
Published: 2022-03-17 11:27:11

---
title: How to deploy an API Management solution, as containers, in Kubernetes, in a matter of minutes
published: true
date: 2022-03-16 09:44:02 UTC
tags: webMethods, ApiManagement, ApiGateway, ApiPortal
canonical_url: https://tech.forums.softwareag.com/t/how-to-deploy-an-api-management-solution-as-containers-in-kubernetes-in-a-matter-of-minutes/255963
---

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7gtitomeim0pg3l78a5n.png)
 
[https://www.youtube.com/embed/r5\_lVb3M6jU](https://www.youtube.com/embed/r5_lVb3M6jU?autoplay=1&feature=oembed&wmode=opaque)

With the ever-increasing popularity of using "containers" to package and deploy applications, Infrastructure platforms such as Kubernetes (also known as K8s) are becoming essential to many agencies for deploying, scaling and managing containerized applications.
 
And with the ever-increasing popularity of using "APIs" to share data, promote re-use, and break silos across enterprises, Software AG API Management, recognized as a leader by Gardner, is a key solution to all your API needs…
 
In this video, we'll demonstrate how Software AG API Management platform can be easily deployed, as containers, in Kubernetes, in a matter of minutes!
During this demonstration, we will also show the unique assets that Software AG Government Solutions has developed as part of their FedRAMP offering to make such deployment even more secure and easy!
 
~~~~~~~~~~~~~~~~~~~~~~~~~~
Key online resources by Software AG Government Solutions referenced in this video (that should be made available somewhere in the video description so viewers can copy / paste them to access…)

• Enhanced security containers: https://softwareag-government-solutions.github.io/saggov-containers/
• Helm charts: https://softwareag-government-solutions.github.io/saggov-helm-charts/
• Sample Deployment project: https://github.com/softwareag-government-solutions/webmethods-container-deployments


Visit the [Original post](https://tech.forums.softwareag.com/t/how-to-deploy-an-api-management-solution-as-containers-in-kubernetes-in-a-matter-of-minutes/255963) in the Software AG Tech Community.
Easy Google Cloud Logging from your Golang project in Google Cloud Run
Tags: learning, go, gcp, googlecloud
Published: 2022-03-16 09:37:02

*In my journey of learning Go, for almost a day I have been searching and thinking in the wrong direction, and I want to prevent you from doing the same* 😅

I am building a HTTP Service running in [Google Cloud Run](https://cloud.run/) in  [Go](https://golang.org/)  and wanted an easy way to log stuff to  [Google Cloud Logging](https://cloud.google.com/logging).

## Cloud Run Logs
Cloud Run has two types of logs, and these are automatically sent to Cloud Logging:

- Request logs: logs of requests sent to Cloud Run services. These logs are created automatically.
- Container logs: logs emitted from the container instances, typically from your own code, when writing to `stdout` or `stderr`

## Loggers
If you start searching on how to do logging, [you will find many possibilities](https://github.com/avelino/awesome-go#logging), this makes it very difficult to decide and/or even to know which one to use.

Even worse, because I'm making a HTTP service, I was searching in the direction of [creating middleware](https://github.com/go-chi/chi#middleware-handlers) for my [chi router](https://go-chi.io/). 🤦‍♂️

## KISS
But then it hit me: As Cloud Run already automatically takes care of the HTTP request logging, I only needed to log certain important 'events'. Thus, I could just write to `os.stdout` in the correct format. 

And even better, there is a very easy to use  [log package](https://github.com/apsystole/log)  for that:, having great benefits like no dependencies, uses ' [severity](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#LogSeverity) ' to support the Cloud Logging filters.

The only implementation is

```go
package main

import "github.com/apsystole/log"

func main() {
    log.Print("my message")
    // {"message":"my message","severity":"INFO"}
}
```

or
```go
log.Error("my message")
 // {"message":"my message","severity":"ERROR"}
```

Bottom line: keep it simple, stupid ;)
Open Dropdown inside antd TextArea
Tags: javascript, antd
Published: 2022-03-16 09:35:03

Hello Team,
I want to open the dropdown from the caret position in antd textArea Input.
I have looked for some customization, I couldn't find any.
Any suggestions?

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pik530hullcfzqt07fm7.png)
How to test port accessibility on windows 10
Tags: network
Published: 2022-03-16 09:33:03


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

We all know we can use Ping to test IP accessibilty some windows platform. However, sometimes we not only want to test if we can access some ip address or domain, we would like also want to test if we could access some specified port. For example, if you would like to access https://www.some.site, but you cannot open it in browser, it could be because you have been blocked by firewall for your local ip address. You need some tools to test port accessibilty. Or you may want to test some email server address with port number. 

Here we introduce a way to test port accessibility on windows 10 with telnet. 

As Telnet by default is not opened in windows, for some security reason. You could refer this [link](https://windowsloop.com/how-to-turn-on-telnet-in-windows-10-and-use-it/) to open telnet on your window 10 device. 

After that, open one cmd window 

```shell
telnet <ip/domain> <port>
```
I have these websites in just 40$ for guest posting.
Tags: seo, marketing, linkbuilder, blogger
Published: 2022-03-16 09:33:01

Hi,

My name is Ilia vasikov.
Hi, I am a blogger and I am providing paid guest posts and also providing back-links services.
Here are some websites in Just 40$ For paid guest posting.

Websites URLs:
1. [densipaper.com](url)
2. [tishare.com](url)
3. [Fundly.com](url)
4. [Agenciadenoticias.es](url)
5. [Gipuzkoagaur.com](url)
6. [Bizkaigaur.com](url)

If you are buying Back-links or getting Sponsored Posts on good authority sites then please also give me a chance to work with you as I have the bulk of the sites having different quality features as you'll ask so, we can do long term business.
Let me know if you have any special needs.
After that I will send you the desired sites.
If you are interested in publishing articles on one or several web sites please reply to this email. 
Here is my Email: **illiavasikovdigitalmarketing@gmail.com**

Waiting for your reply.
Thanks & Regards
Top 5 email tools for your laravel application in 2022
Tags: laravel, email, tools, tutorial
Published: 2022-03-16 09:27:48


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

Email is sending information to another person using electronic devices. It is fast and widely used service. Email marketing is part of an email service that uses nowadays. There are features for email marketing in Laravel. Laravel provides a clean, simple email API for Mailer Components. Laravel supports many drivers for SMTP, Mailgun, Mandrill, Mailtrap, Sendgrid, Mailchimp, Amazon SES driver, etc. In this article, we are reviewing the top 5 email tools for laravel application in 2022. After reading this article, you will get the best email tool for your laravel application. So let's dive deep into this topic.

## Top 5 Email Tools for Laravel Application
Email tools are most commonly used in laravel to send emails. Given below, top email tools for email tools services are :

1. Mailtrap
2. Moosend
3. ActiveCampaign
4. Mailgun
5. Sendgrid

[Read More](https://www.devrohit.com/email-tools-for-laravel-application/)
Marathi OCR in C# and .NET
Published: 2022-03-16 09:26:13

---
canonical_url: https://ironsoftware.com/csharp/ocr/languages/marathi/
---

_Other versions of this document:_

- [मराठी मध्ये](https://ironsoftware.com/csharp/ocr/languages/marathi-mr)
- [125 More OCR Languages](https://ironsoftware.com/csharp/ocr/languages/)

IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 language, including Marathi.

It is an advanced fork of Tesseract, built exclusively for the .NET developers and regularly outperforms other Tesseract engines for both speed and accuracy.

## Contents of IronOcr.Languages.Marathi

This package contains 46 OCR languages for .NET:

- Marathi
- MarathiBest
- MarathiFast

## Download

Marathi Language Pack [मराठी]

- Download as [Zip](https://ironsoftware.com/csharp/ocr/packages/language-packs/Marathi.ocrdata)
- Install as [NuGet](https://www.nuget.org/packages/IronOcr.Languages.Marathi/)

## Installation

The first thing we have to do is install our **Marathi** OCR package to your .NET project.

`PM> Install-Package IronOCR.Languages.Marathi`

## Code Example

This C# code example reads Marathi text from an Image or PDF document.

**C#:**
```cs
//PM> Install-Package IronOcr.Languages.Marathi
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Marathi;
using (var Input = new OcrInput(@"images\Marathi.png"))
{
    var Result = Ocr.Read(Input);
    Var AllText =  Result.Text
}
```

**VB:**
```
'PM> Install-Package IronOcr.Languages.Marathi
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Marathi
Using Input = New OcrInput("images\Marathi.png")
	Dim Result = Ocr.Read(Input)
	Dim AllText As Var = Result.Text
End Using
```
Generate Cucumber .html report in Cypress in Just “5” Steps
Tags: cypress, cypressio, programming, javascript
Published: 2022-03-16 09:25:30


****Generate Cucumber .html report in Cypress in Just “5” Steps****


https://lnkd.in/eRMC5Az

https://kailash-pathak.medium.com/generate-cucumber-html-report-in-cypress-3691d596ef19
Soi cầu mb Rồng bạch kim
Tags: rongbachkim, soicau247, soicau888, nuoilokhung
Published: 2022-03-16 09:09:57

Soi cầu mb [Rồng bạch kim ](https://rongbachkimmb.info/soi-cau-rong-bach-kim/rong-bach-kim/)là web site được ra đời từ rất sớm. Tại web rồng bạch kim có nhiều công cụ hỗ trỡ anh em soi cầu hiệu quả nhất. Như Thống Kê Rồng Bạch Kim, Soi Cầu Mb, Chốt Sỗ Miền Bắc. Và đặc biệt đây cũng là một diễn đàn xổ số có lượng thành viên khổng lồ.

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

**Bí kíp soi cầu Rồng Bạch Kim hiệu quả**
Với những thống kê trên, anh em có thể phân tích chính xác cầu lô 2 nháy và  dưới đây chúng tôi chọn ra một vài cách soi cầu chuẩn xác và hiệu quả như sau:

• Đầu tiên anh em cần theo dõi những lô về nhiều để chơi. Và theo dõi những số lô bị giam (không về) trong khoảng 7 ngày trước đó để loại bỏ.

• Theo dõi tần suất của các lô tô dựa trên bảng thống kê lô gan. Cần chú ý đến thời gian loto đó gan lâu nhất (maxgan) là bao nhiêu ngày. Từ đó có thể thống kê được ngày gan cuối cùng của loto đó và bắt đầu vào tiền để chơi.

• Nên theo dõi tấn suất lô tô trong khoảng thời gian là 30 ngày. Và cách các lần về từ 2 đến 5 ngày. Mỗi lần về chỉ được cách nhau bao nhiêu ngày (4 ngày). Anh em nên vào tiền từ ngày 3 nếu không về thì ngày thứ 4 lô tô đó sẽ ra.

• Ở bảng phân tích, thống kê ở dưới bảng kết quả của chúng tôi anh em nên theo dõi thêm đầu câm, đuôi câm. Nếu không thấy sự xuất hiện của nó, hãy tiến hành đánh lô này với kép của nó.
Getting Started with the Blazor Spinner Component
Tags: webdev, dotnet, csharp, blazo
Published: 2022-03-16 09:01:55

This video will get you started with the Syncfusion Spinner component in a Blazor WebAssembly application. You will learn how to show and hide the spinner and use other customizations like changing stroke color, and Spinner size. You will also learn how to integrate the spinner into other Blazor components. 

Product Overview: https://www.syncfusion.com/blazor-components/blazor-spinner

Download an example from GitHub: https://github.com/SyncfusionExamples

Refer to the following documentation to learn about the Blazor Spinner component: https://blazor.syncfusion.com/documentation/spinner/getting-started

Check out this online example of the Blazor Spinner component: https://blazor.syncfusion.com/demos/spinner/overview

{% youtube _s1M8gp8wHM %}
How to add delay between CSS keyframe animation ⚓
Tags: css, webdev, tutorial, showdev
Published: 2022-03-16 08:47:26

**Problem Statement**

> I want the animation to run for 4 seconds.

> ~ plus ~

> I want the animation to delay for 6 seconds in between iterations.

> ~ equals ~

> 10 total seconds

**Here is how you achieve it.**

```css
.swing {
    animation: swing ease-in-out 5s infinite alternate;
    transform-origin: center -20px;
    animation-delay: 0s;
}
@keyframes swing {
    0% {
        transform: rotate(3deg);
    }
    30% {
        transform: rotate(-3deg);
    }
    40% {
        transform: rotate(0deg);
    }
}

```
Demo: 

![add delay between css keyframes](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ffausutjtypz4smqv4os.gif)

> You may change the animation and delay as per you need.

👋
Best Youtube pages for learn coding
Tags: tutorial, python, programming, webdev
Published: 2022-03-16 08:34:12

Hello, today we want to introduce you to the best YouTube channels that teach you coding.



1.freeCodeCamp 


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




2.Codemy.com



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

3.Bro Code 



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



4.The Coding Train



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


5.Programming with Mosh 


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


6.Tech With Tim


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


7.Clear Code


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



8.Coding With Russ


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


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


10.LevelUpTuts


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/df3c79409g0hz9jgkuc4.jpg)
React typing animation effect
Tags: javascript, react, tutorial, beginners
Published: 2022-03-16 07:54:18

## Introduction

In this article, we will implement react typing animation effect using react-typed library.  You ever want to add typing animation or typewriter-like effect to your react js website or react js application? This tutorial is for you.


## Implementation

I will assume you already have a react js project.

Within your project directory, open cmd and run the following command to install the dependency

```
npm i react-typed
```

After installation, go to the component that you wish to implement this typing effect and import the library as shown below;

```
....
import Typed from "react-typed"
....

//call this within your jsx
<Typed
      strings={[
            "I'm a Full Stack Developer",
            "I Love Software Development",
            "I Love All My Subscribers",
          ]}
          typeSpeed={150}
          backSpeed={100}
          loop
        />
```
The code above is self explanatory.

- The **strings** props takes an array of statements to apply the typing animation effect
- **typeSpeed** specifies the duration in milliseconds to for the animation
- **backSpeed** specifies the duration in millions to move back.
- **loop** is a boolean value indicating whether to loop through the string

There many other props or configuration and you can learn more here [npm react-typed ](https://www.npmjs.com/package/react-typed)

After you have done this, save your files and check your browser.

**Note:** The **Typed** component renders each statement in a `span` tag and you can customize it the way you want.

If you want the code to this tutorial which is implemented the video below; [Find the code to this demo here](
https://github.com/supatechie/react-typing-animation-effect)

Background image credit @ FreeVector.com
https://www.freevector.com/fluid-gradient-background-30355

**Summary**
We have implemented a simple typing animation effect in a react js project and everything looks cool. I hope you can include this in your next react js project.

If you found this tutorial helpful, please follow me here and subscribe to my YouTube channel below. Thank you in advance.

## Video Tutorial

If you want to watch a short tutorial on how to implement react js typing animation effect like a typewriter, click on the video below.

Please don't forget to like, comment, subscribe to my YouTube channel and share the video with your friends.
 
{% youtube 2SCztsWvML8 %}
How to mock location in the web without installing additional tools
Tags: javascript, webdev, tooling, programming
Published: 2022-03-16 07:09:52

Geolocation is super useful feature in our apps. It doesn't matter if you want to find a way in a new city or just order food to home - you can just click one button and avoid typing a long address. As developers we know a lot of ways to implement location in web — but how can we test if it works properly? The answer is: just use your browser. How to do that?

1. Open the Chrome browser
2. Go to page you want to test 
3. Open Chrome DevTools (ctrl + shift + I on Linux/Windows or cmd + shift + I on Mac)
4. Click 3 dots on the right side.
5. Choose More Tools and Sensors
6. Check Geolocation section

{% youtube ra0asAXF7iI %}

As you can see you have a lot of options available here. You can choose one of the default places defined in the dropdown menu (like London, Berlin, or Shanghai) or define your own latitude and longitude. When you often use some location that is not available by default you can click Manage and Add location to add your custom place to presets. You can also check how your webpage behaves when some errors occurred and data are unavailable — it’s enough to choose the Location unavailable option from the menu. Voila! It just works! You don’t need to drive around the city with a laptop on your knees or install some third-party software. Quite nice — don’t you think?