teleren/devto huggingface dataset:
تلخيص قصة ذو الكفل
Published: 2023-09-29 05:28:04

تلخيص قصة ذو الكفل: الرجل الصالح الذي أذل إبليس
تلخيص قصة ذو الكفل الرجل الصالح والعادل، اختلف العلماء فيه فقد قيل بإنه نبي وقيل إنه عبد صالح، وقد اشتهر بقصة إغوائه من قبل إبليس.
من ه[نا](https://www.maelumat0o.com/2023/09/summary-of-story-of-zulkifli.html)
تعلم مهارات كتابة السيرة الذاتية
Published: 2023-09-29 05:26:05

تعلم مهارات كتابة السيرة الذاتية cv
يجب أن تبرز السيرة الذاتية مهاراتك وخبراتك، وتقنع صاحب العمل بأنك الشخص المناسب للوظيفة.
[https://www.maelumat0o.com/2023/09/summary-of-story-of-zulkifli.html](https://www.maelumat0o.com/2023/09/summary-of-story-of-zulkifli.html)
اجمل صقر في العالم: ابحث عن الطير الملكي الأروع!
Published: 2023-09-29 05:22:54

[اجمل صقر في العالم: ابحث عن الطير الملكي الأروع!](https://www.maelumat0o.com/2023/09/cv-photography-skills.html)
Your Perfect Study Abroad Consultants in Kerala
Tags: studyincanada, studyinireland, studyinuk, studyinnewzealand
Published: 2023-09-29 05:16:24

Salve Maria International seeks to give students simple access to higher education in [UK](https://salvemariagroup.com/destination/uk/), [Canada](https://salvemariagroup.com/destination/canada/), [New Zealand](https://salvemariagroup.com/destination/new-zealand/), and Irish universities. We have the honour of serving as the official agent of numerous reputable universities in these nations, which allows us to provide students with services that are free of charge to assist them in obtaining admission to these institutions. We offer individualized support to our students at every point, including career guidance, programme selection, the application process, help acquiring education loans, visa applications, foreign exchange, travel arrangements, airport pickup, and housing arrangements.
Extend core controller in Strapi v4
Published: 2023-09-29 04:43:30

Let's assume that you have a content type named **Notification**, it store all the notification shows in Notification Screen. And you want to create an API to get only notification belongs to current user. Here is how to achieve this.


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



This content type has some columns:

```
// src/api/notification/content-types/notification/schema.json
{
  "kind": "collectionType",
  "collectionName": "notifications",
  "info": {
    "singularName": "notification",
    "pluralName": "notifications",
    "displayName": "Notification"
  },
  "options": {
    "draftAndPublish": false
  },
  "pluginOptions": {},
  "attributes": {
    "content": {
      "type": "text",
      "required": true
    },
    "userId": {
      "type": "integer",
      "required": true
    }
  }
}
```
After creating this content type on admin dashboard, source code should look like this:

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


Now you want to create an API to get only notification belongs to current user. You do not need to create a new API using `npx strapi generate`, just extend the generated controller.

### 1. Extend the core controller 
```
//src/api/notification/controllers/notification.js

const { createCoreController } = require('@strapi/strapi').factories;

module.exports = createCoreController(
  'api::notification.notification',
  ({ strapi }) => ({
    async findMy(ctx) {
      const entries = await strapi
        .service('api::notification.notification')
        .find({
          filters: {
            userId: ctx.state.user.id,
          },
          sort: {
            createdAt: 'desc',
          },
        });
      ctx.body = entries;
    },
  })
);

```
### 2. Extend core router
Create a file name my-notification.js in `src/api/notification/routes/`

```
// src/api/notification/routes/my-notification.js
module.exports = {
  routes: [
    {
      method: 'GET',
      path: '/notifications/my',
      handler: 'notification.findMy',
      config: {
        policies: [],
        middlewares: [],
      },
    },
  ],
};
```

Now go to admin dashboard, grant permission access this enpoint to Authenticated users

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

### 3. Test it
Try to call this endpoint from Postman:


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


Don't hesitate to ask me if you have any question :D [@huylvz](https://t.me/huylvz)
Converting JSON to CSV in Python using Pandas
Tags: json, csv, python, pandas
Published: 2023-09-29 04:41:15

Imagine you have data in one shape, like a jigsaw puzzle, and you want to change it into a different shape, like a stack of cards. That's what we're going to explore!

Think of Python and Pandas as our tools to magically reshape the data. We'll show you step by step how to do it, even if you're new to coding. So, if you're curious about making data fit into different molds for easier analysis, stick with us and get ready to learn some cool data tricks!
 

> Step 1: Preparing a JSON String
Start with a JSON string you would like to work on.

Let’s say, you want to prepare a string based on different beverages and their quantities:
 

Beverage	Quantity
Cola	700
Lemon	250
Orange	100
Litchi	200
Here is a preview of the JSON string for our example:

```
{"Product":{"0":"Cola","1":"Lemon","2":"Orange","3":"Litchi"},"Quantity":{"0":700,"1":250,"2":100,"3":200}}
``` 

> Step 2: Creating the JSON File
Once you are done with your JSON string, save it within a JSON file. Or you can also copy the string into NotePad and save that file with a .json extension.

For our example, save the notepad as beverage_stock.json. Don’t forget to add the .json extension to the file name.
 

Step 3: Installing the Pandas
Now, install the Pandas package. Or simply follow this command for a smooth installation:

```
pip install pandas
``` 

Step 4: Converting the JSON String to CSV
Pandas make it easy to convert a JSON file to CSV using the pd.read_json() function coupled with the.to_csv() method.

Let’s see how we can do it efficiently with this code:

```
import pandas as pd
df = pd.read_json (C:\Users\Techsolution\Desktop\Beverage_Stock.json')
df.to_csv (C:\Users\Techsolution\Desktop\Test\New_Products.csv', index = None)
```
For our example:

The path where the JSON file is saved is: C:\Users\Techsolution\Desktop\Beverage_Stock.json. And the ‘Beverage_Stock‘ is the file name, and ‘json‘ is the file extension
The path where the new CSV file will be stored is: C:\Users\Techsolution\Desktop\New_Products.csv And ‘New_Beverages‘ is the new file name, and ‘csv‘ is the file extension.
Run the code with your specific paths. You'll find the new CSV file at the specified location.
 

Conclusion
For data manipulation and analysis, learning the art of converting JSON to CSV is like getting a treasure of possibilities. With Python and Pandas, you've learned how to transform raw, complex JSON structures into a structured and easily digestible CSV format.

The versatility of Pandas, coupled with your skills and enthusiasm, helps you to tackle real-world data challenges with confidence. So go ahead, dive into your JSON data, leverage the power of Pandas, and let the seamless conversion from JSON to CSV be the key that unlocks your path to a successful data-driven world.
ProFoliox – Multipage personal theme
Tags: webdev, astro, tailwindcss, javascript
Published: 2023-09-29 04:33:00

ProFoliox – Multipage personal theme
Built with Astro, Tailwind CSS & MDX  

Includes
- Pages 16
- Sections 50+
- Components 60+

See it live and learn more - https://lexingtonthemes.com/info/profoliox/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oomv9oucbw16bmgtq4rv.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tkp1zizfy4ivwma9ddbx.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jgrdnxj6h9q4i5gqstyz.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oqihc9724b4q39hz9ce3.png)
How to Use Hyperlink in PowerPoint Presentation
Tags: powerpointpresentation, presentation, slides
Published: 2023-09-29 04:21:21

If you would like to link to an outside source within your PowerPoint presentation, you have an option of using a hyperlink. You can create a hyperlink using any text within your presentation. When clicked on, a hyperlink can directly link to a specific slide within your presentation, a saved file, a web page, another PowerPoint presentation, or a custom email. 
  

## Insert a hyperlink 

- On the slide, enter the text you want to turn into a hyperlink. 
- Select the text. 
- On the Insert tab of the ribbon, select Link. 
- Select Insert Link. Or: You can link to a recently opened file by selecting it from the Recent Items list that appears. 
- Select Insert. 
To test the action button, start your [PowerPoint slide](https://slidemodel.com/) and click the text or image with the action button.

## To insert a link to another slide: 

- Right-click the selected text or image, then click Link. 
- The Insert Hyperlink dialog box will appear. 
- On the left side of the dialog box, click Place in this Document. 
- A list of other slides in your presentation will appear. Click the name of the slide you want to link to. 
- Click OK.
Penjelasan tentang Arti Kata Gaul "Pongoro"
Tags: pongoro
Published: 2023-09-29 03:44:58

Kamu tentu sering kali dengar atau menyaksikan kata Pongoro, baik itu di dunia riil atau jagat maya seperi facebook, twitter, instagram atau program berbasiskan chat yang lain sepeti BBM, Line dll.

Tetapi apa kamu ketahui pengertian sebetulnya mengenai kata Pongoro yang sebetulnya agar kamu memahami saat membaca kalimat yang memiliki kandungan kata itu.

Berikut ialah keterangan dan makna kata Pongoro berdasar survey dan keterangan dari pemakai internet :

1. [pongoro](https://www.pongoro.com/)
Asal dari bahasa makassar yang bermakna edan
A: kau barusan tidak saksikan orang yang tidak pakai sendal itu?
b: tahu orang pongoro itu edan !!!
Semacam itu keterangan pengertian sebetulnya dari kata Pongoro. Kami berharap pengertian ini bisa menolong anda saat membaca kalimat yang memiliki kandungan kata Pongoro. Demikian terima kasih.
When to use dangerouslySetInnerHTML in React?
Tags: webdev
Published: 2023-09-29 03:22:16

## Introduction

Rendering HTML markup from rich text created in a WYSIWYG editor might be difficult. Because numerous pieces of logic are required to make things work as they should. This can be attributed to the fact that React uses a browser-independent system to manipulate the DOM elements, thus preventing direct interaction with the DOM. Things can be pretty much easier and faster with dangerouslySetInnerHTML.

In this tutorial, we'll see how to use dangerouslySetInnerHTML in a React application.

Step we'll cover:

- What is dangerouslySetInnerHTML?
- When to use dangerouslySetInnerHTML?

## What is dangerouslySetInnerHTML?

React dangerouslySetInnerHTML is an HTML property that makes it easy to programmatically set the HTML elements from an external source. It has replaced the innerHTML used in the browser DOM. dangerouslySetInnerHTML helps React know how to handle the HTML elements in a component where the contents are to be rendered.

## When to use dangerouslySetInnerHTML?

dangerouslySetInnerHTML is mostly used in any application where you need to render formatted text in a div element. Also, you can use it to render content exactly as you have formatted it. For instance, let's consider a blog application. The body of a blog is usually formatted with headers, paragrams, images, code blocks, etc.

To render such contents in a React application, you'll need to manipulate the DOM to get the HTML elements in the contents and set them to an element using innerHTML. Because React does not allow direct interaction with the DOM, your content will end up not being displayed as it should. However, when dangerouslySetInnerHTML is applied, React recognizes the HTML tags and correctly renders them.

Due to its vulnerability to cross-site scripting (XSS) attacks, dangerouslySetInnerHTML might constitute a major threat to your application, as the name suggests. However, DOMPurify has proven to be a highly effective tool in overcoming such difficulties. DOMPurify is a DOM-only XSS sanitizer for HTML for preventing XSS attacks by stripping out all dangerous HTML in content rendered in an application.

For example, if users are permitted to insert HTML directly into a web page via a form field, hackers can embed malicious code into the application, causing the application to behave inappropriately or even resulting in data loss. 

In the above code snippet, we imported dompurify to sanitize the contents in the blog, react-bootstrap components to style the application, and the dummy JSON data we created. Then in the card, we looped through the blogs to access and render the data in the objects.

For the Card title and Text, we added div elements and attached the dangerouslySetInnerHTML property to render the contents according to how they were formatted.

To allow the div where the contents are rendered to have children, we passed in the --html key to dangerouslySetInnerHTML and wrapped the content to be rendered in the dompurify sanitize method.
Static Assets
Tags: programming
Published: 2023-09-29 02:46:24

Traveling is an enriching experience that opens up new horizons, exposes us to different cultures, and creates memories that last a lifetime. However, traveling can also be stressful and overwhelming, especially if you don't plan and prepare adequately. In this blog article, we'll explore tips and tricks for a memorable journey and how to make the most of your travels.

One of the most rewarding aspects of traveling is immersing yourself in the local culture and customs. This includes trying local cuisine, attending cultural events and festivals, and interacting with locals. Learning a few phrases in the local language can also go a long way in making connections and showing respect.

## Research Your Destination

Before embarking on your journey, take the time to research your destination. This includes understanding the local culture, customs, and laws, as well as identifying top attractions, restaurants, and accommodations. Doing so will help you navigate your destination with confidence and avoid any cultural faux pas.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In hendrerit gravida rutrum quisque non tellus orci ac auctor. Mi ipsum faucibus vitae aliquet nec ullamcorper sit amet. Aenean euismod elementum nisi quis eleifend quam adipiscing vitae. Viverra adipiscing at in tellus.

## Plan Your Itinerary

While it's essential to leave room for spontaneity and unexpected adventures, having a rough itinerary can help you make the most of your time and budget. Identify the must-see sights and experiences and prioritize them according to your interests and preferences. This will help you avoid overscheduling and ensure that you have time to relax and enjoy your journey.

Vitae sapien pellentesque habitant morbi tristique. Luctus venenatis lectus magna fringilla. Nec ullamcorper sit amet risus nullam eget felis. Tincidunt arcu non sodales neque sodales ut etiam sit amet.
Chia sẻ cách Index hàng ngàn link miễn phí
Tags: tutorial, discuss, beginners
Published: 2023-09-29 01:45:31

Cách Index hàng ngàn link miễn phí
Bước 1: Truy cập https://aiktp.com
Bước 2: Tạo 1 tài khoản miễn phí
Bước 3: Bấm vào mục Other Tool => Bulk Index 
Bước 4: Tạo prioject + Thêm danh sách link vào 
Bước 5: Tận hưởng thành quả

Xem chi tiết tại https://blogvn.aiktp.com/tinh-nang-moi-bulk-index-giup-index-hang-ngan-link-mien-phi/
How html and css is important to learn the Web-Development ?
Published: 2023-09-29 01:44:04

HTML is the programming language used to create a website’s basic foundation. This means learning the language will offer you comprehensive knowledge of web pages’ working and other essential concepts.

CSS is the language responsible for giving exquisite design features to a website. So whether you want your page to look exquisite or minimalistic, all you need to know is some CSS concepts, and you can easily create a splendid website that piques the interest of internet users worldwide.

Learning both HTML and CSS helps you understand the basics of web pages and will help you possess basic knowledge of how web pages work and how to design one to pique users’ interest. To have a career in the tech field means first understanding how the internet works and influences users to stay connected, and the best way to master such basic knowledge is to master HTML and CSS.
Don't think about colors again
Tags: tailwindcss, css, webdev
Published: 2023-09-29 01:13:54

I made a tool to convert colors including Tailwind CSS colors!

You can use it here: https://divmagic.com/tools/color-converter

It will give you color recommendations for creating color palettes.

Let me know what you think!


![Color converter gif](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dao9f76obb54s7bao9e0.gif)
What features do you think a CMS should have?
Tags: opensource, github, help, dotnet
Published: 2023-09-29 00:11:06

[Elanat](https://elanat.net) version 2.1.0.0 will be ready soon. In this update, all detected bugs are fixed. We want to come close to providing a stable and flawless system.

We created this article so that if you have expectations from a content management system, you can express them here.

What features do you think a content management system should have?

Do you use a CMS? What is its name? What is the reason for your dependence on it? Have you ever developed it? Have you ever created a module or plugin for the CMS you are using?

Have you used Elanat? Do you know about Elanat architecture?

Have you heard of server-side independence  architecture?

Do you know about add-on-oriented architecture?

Elanat is based on the CodeBehind framework and the latest version of ASP.NET Core. Do you know the CodeBehind backend framework?

You can see educational videos about Elanat and CodeBehind on the Elanat YouTube channel.

[https://www.youtube.com/@elanatframework](https://www.youtube.com/@elanatframework)

In our opinion, watching a few educational videos is enough to familiarize you with Elanat, and you can express your opinions about Elanat according to the videos you have seen.

We look forward to your responses.

Also we will try to answer any questions you may have.

Elanat website:
https://elanat.net

Elanat repository link:
https://github.com/elanatframework/Elanat

CodeBehind repository link:
https://github.com/elanatframework/Code_behind
A Nike WebSite Clone built with React
Tags: website
Published: 2023-10-03 18:57:43

---
title: A Nike WebSite Clone built with React
published: true
date: 2023-09-29 00:07:00 UTC
tags: WebSite
canonical_url: https://reactjsexample.com/a-nike-website-clone-built-with-react/
---

# 🥰 Welcome to ⚡ [nike\_clone](https://nike-clone-six.vercel.app) | Electric ⚡
## About

# 
 ![A Nike WebSite Clone built with React](https://reactjsexample.com/content/images/2023/09/Code_2023-09_21-51-27.jpg)

Nike is a Footwear manufacturing, an American multinational corporation that is engaged in the design, development, manufacturing, and worldwide marketing and sales of footwear, apparel, equipment, accessories, and services.

## Tech stack used

# 

React | node | express | mongodb | mongoose | auth0 | html5 | css3 | JavaScript | chakraUI

## Let’s get into nike\_clone 👍

### Home Page

![A Nike WebSite Clone built with React](https://github.com/roushan897/nike-clone/raw/main/assets/homepage.png)

### 😄 if you like this nike\_clone, then please give it a ⭐.

## GitHub

[View Github](https://github.com/roushan897/nike-clone?ref=reactjsexample.com)
An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states
Tags: state, hooks
Published: 2023-10-03 18:59:32

---
title: An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states
published: true
date: 2023-09-29 00:04:00 UTC
tags: State,Hooks
canonical_url: https://reactjsexample.com/an-enchanced-usestate-hook-which-keeps-track-of-the-states-history-allowing-you-to-undo-and-redo-states/
---

# useTimeline
 ![An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states](https://reactjsexample.com/content/images/2023/09/Code_2023-09_21-59-20.jpg)

An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states.

* * *

**useTimeline** is a simple hook based on the **useState** hook which abstracts operations of undo and redo.

A full example is avaiable on [here](https://stackblitz.com/edit/react-ts-qi1zgm?file=ExampleUseTimeline.tsx).

## Install

With npm:

```
npm install @mr96/use-timeline

```

With yarn:

```
yarn add @mr96/use-timeline

```

## Quick Start

```
import { useTimeline } from '@mr96/useTimeline';

export default function App() {
  const {
    // current state
    state,
    // set a new state (same API as setState)
    setState,
    // undo by 1 step
    undo,
    // redo by 1 step
    redo,
    // true if there is an undoable state
    canUndo,
    // true if there is a redoable state
    canRedo,
    ...additionalProps
  } = useTimeline('');

  const onChange = (event: ChangeEvent<HTMLInputElement>) => {
    setState(event.target.value);
  };

  return (
    <button disabled={!canUndo} onClick={() => undo()}>
      Undo
    </button>
    <input type="text" onChange={onChange} value={state} />
    <button disabled={!canRedo} onClick={() => redo()}>
      Redo
    </button>
  )
}
```

## GitHub

[View Github](https://github.com/marcoripa96/use-timeline?ref=reactjsexample.com)
A simple Calculator using React and JSX
Tags: calculator
Published: 2023-10-03 18:59:23

---
title: A simple Calculator using React and JSX
published: true
date: 2023-09-29 00:04:00 UTC
tags: Calculator
canonical_url: https://reactjsexample.com/a-simple-calculator-using-react-and-jsx/
---

 ![A simple Calculator using React and JSX](https://reactjsexample.com/content/images/2023/09/Code_2023-09_21-48-49.jpg)

Calculator React App This project is developed using reactJs and JSX .

Deployment URL : [https://calculator-lei2istiw-102amit.vercel.app/](https://calculator-lei2istiw-102amit.vercel.app/)

* * *

Calculator React App This Calculate app project is developed using react only in which user can perform various airthmetic operation and calculator evaluate internally and display result .

Tech Stack✔✔✔✔

ReactJs

React Hook

JSX

CSS module

JavaScript

* * *

Features ::✌✌✌✌✌✌ Home page

Clear Button to clear full screen .

Cut button to work as backspace to delete any mistake input .

Clicking on any airthmetic operation will show in result window .

Clicking “=” button will show the result and if any operation is not fisible it will show error .

* * *

Screenshots

This project looks like below 👀👀👀👀👀👀👀👀👀

. ![A simple Calculator using React and JSX](https://user-images.githubusercontent.com/96186566/213465086-67998b75-4176-456f-a72b-358e7ce003fa.JPG)

* * *

Available Scripts In the project directory, you can clone this into your local system .

first install all the package used in this react app using command npm install After successfully install you can start the application using command npm start Runs the app .\

Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\

## GitHub

[View Github](https://github.com/102AMIT/React_Calculator?ref=reactjsexample.com)