teleren/devto huggingface dataset:
📌 Explaining Linux System Calls: Fork and Exec Made Easy with a Big Fat Indian Wedding 📌
Tags: aws, devops, automation, linux
Published: 2024-05-10 02:56:29


Anyone understanding Linux must know two essential system calls:
✅ fork
✅ exec.

I've found that beginners often struggle to grasp these concepts. So, this is my attempt to explain these calls using the example of a big fat Indian wedding. 

🍴 Fork in an Indian Wedding Scenario
Imagine you are the main wedding organizer (you're like the original program on a computer). You're responsible for everything from decorations to catering. As the event starts, you realize you need to handle a specific task, let's say managing the arrival of guests, which requires constant attention.

To handle this without neglecting your other duties, you delegate the guest management task to a trusted assistant. This is similar to the fork() system call:
✔️You continue overseeing the entire wedding. 
✔️ Your assistant (like the child process created by fork()) takes over the guest management, operating as an independent manager but initially having the same instructions or knowledge as you.

📱 Exec in an Indian Wedding Scenario
Now, your assistant, who has been tasked with managing the guests, has decided to focus solely on this new role. Instead of just following your general instructions, they adopt a specific method or tool, like using a guest list app on a tablet to check in guests. This shift from general duties to a particular task is like the exec() system call:
✔️ Your assistant completely stops any other general tasks and transforms into a specialized guest manager, using specific tools and methods suited only for guest management.

🔄 Combining Fork and Exec: Scenario with ls
Let's say, during the wedding, you also need to check the inventory of supplies quickly (similar to running the ls command on a computer). Here's how you would use both fork() and exec():
✔️ Fork: You ask another assistant to handle the inventory check so that the main tasks of the wedding are not interrupted.
✔️ Exec: This assistant then exclusively focuses on checking the inventory, perhaps using a specific inventory management software or system, forgetting all other duties, and concentrating only on this task.

🏁 This scenario allows the wedding to proceed smoothly with various tasks handled simultaneously, without disrupting the main flow of events, just as fork() and exec() enable a computer to handle multiple tasks efficiently. 

📚 If you're interested in more in-depth explanation of these topics, please check out my new book "Cracking the DevOps Interview"
https://lnkd.in/gWSpR4Dq
📚 To learn more about AWS, check out my book "AWS for System Administrators"
https://lnkd.in/gS7fpgHA 
🌈 Image ref: https://lnkd.in/gTzVh_37
React Rooting (react-router-dom)
Published: 2024-05-10 02:33:50

Here is how to set rooting in React app using react-router-dom.
I will set rooting in App.js.

## Install react-router-dom
```
npm install react-router-dom
```
## Make pages App.js will call
src/Pages/Home.js
```javascript
import React from "react";

const Home = () => {
  return (
    <div>
      <h1>Home</h1>
    </div>
  )
}
export default Home;
```
src/Pages/About.js
```javascript
import React from "react";

const About = () => {
  return (
    <div>
      <h1>About</h1>
    </div>
  )
}
export default About;
```

## Set rooting in App.js
src/App.js
```javascript
import './App.css';
import Home from "./Pages/Home";
import About from './Pages/About';
import Header from './Components/Header';
import { BrowserRouter, Route, Routes, Link } from "react-router-dom";

function App() {
  return (
    <div className="App">
      <BrowserRouter>
        <Header />
        <Link to="/">Home</Link> | <Link to="/about">About</Link>
        <Routes>
          <Route path="/" element={<Home />} />
          <Route path="/about" element={<About />} />
        </Routes>
      </BrowserRouter>
    </div>
  );
}
export default App;
```
Finally, I can call Home.js and About.js from App.js.
*Header needs to be assigned in BrowserRouter to insert Link into Header.

## Tips
```javascript
import { BrowserRouter, Route, Routes, Link } from "react-router-dom";
```
Here App.js import react-router-dom and can use it.
```javascript
<BrowserRouter>
   <Link to="/">Home</Link> | <Link to="/about">About</Link>
   <Routes>
      <Route path="/" element={<Home />} />
      <Route path="/about" element={<About />} />
   </Routes>
</BrowserRouter>
```
Here set the rooting.
"path" is URL, "element" is a page to call with the URL.
Let's Go Brandon Apparel: Show Your Support in Style
Tags: letsgobrandonapparel
Published: 2024-05-10 02:20:28



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g5tv4avb3bwy960ei79w.jpg)Whether you're a die-hard conservative or just a fan of a catchy meme, **[Let's Go Brandon Apparel](https://www.letsgobrandonapparel.store/)** is all the rage right now. From t-shirts to hats to even face masks, there are so many ways to show your support for this viral phrase that has taken the internet by storm.

But where did this phrase come from, you might ask? Well, it all started with a viral video of a NASCAR race where the crowd could be heard chanting "F*** Joe Biden." However, the reporter misheard the chant and instead claimed the crowd was saying "Let's Go Brandon," sparking a wave of mockery and satire that has since gone viral.

Now, you can join in on the fun with your very own Let's Go Brandon Apparel. Whether you want to make a bold statement with a t-shirt or simply add a subtle touch with a hat or face mask, there are plenty of options to choose from. Plus, with many of these items being made from high-quality materials, you can rest assured that your support will last for years to come.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k8u5mv03glfz4n6y8m9d.jpg)
[https://www.letsgobrandonapparel.store/collections/lets-go-brandon-shirt](https://www.letsgobrandonapparel.store/collections/lets-go-brandon-shirt)
So why not show your support for this viral phrase in style? Check out Let's Go Brandon Apparel today and join the movement that has taken the internet by storm. Whether you're at a rally, a political event, or even just out and about town, you can proudly wear your Let's Go Brandon Apparel and make a statement that is sure to turn heads.
Create an Instagram-worthy space with a bold backlit circle mirror.
Tags: worthit
Published: 2024-05-10 02:24:42

Looking for a method which is cool to decorate your room as well as ensure it is Insta-worthy? Look absolutely no further compared to the backlit circle mirror. This which is revolutionary has several benefits rendering it a good addition to any area.



Advantages

It produces a light which is soft making your room feel welcoming and cozy. This mirror is ideal for using selfies being attractive photos in your newly embellished space.

Innovation

The mirror has led backlit mirror behind it that creates a radiance which is soft making the area feel warm and inviting. Plus, the mirror is circular, offers it a modern and look which is trendy.

Safety

The lights which are LED are acclimatized to illuminate the are low voltage, meaning they shall perhaps not create temperature and certainly will not cause damage. The mirror it self can also be crafted from top-quality materials to make certain durability.

How to Use

Merely plug the mirror in and flip the change to enjoy a soft and radiance which is cozy. It really is ideal for wearing makeup products or selfies being using. Plus, because the mirror possesses shape which is circular a flattering is made by it and even light that may make you look your very best.

Plug into the mirror and turn it in. Adjust the angle obtaining the lighting which is ideal whatever task you are carrying out, whether it's making use of selfies, wearing makeup products, or simply just going out in your livable space.

Service and Quality

This means that you can contact customer service assistance which is getting anybody ever experience any problems with your led lit mirror bathroom. You can trust you will obtain the help you will need, and that the ongoing company appears behind the merchandise they make.

It is made out of materials that are durable created to last, about any of it dropping aside or breaking efficiently which means you won't have to worry. Plus, the lights that are LED built to endure for a time which is long which means you will not need to worry about changing light bulbs frequently.

Application

This mirror is just a method which is great make your room feel more trendy and contemporary. Using its soft radiance and lighting which is flattering you are going to look your very best every time you take a image. Plus, as it's safe and top-notch to make use of, you might not need to worry about any accidents or problems.



Conclusion:



In conclusion, the backlit mirror round is a fantastic addition to any space. Whether you're looking to spice up your bedroom or create an eye-catching background for videos or selfies, this innovative mirror has got your back. With its LED lights, safety features, ease of use, quality, durability, and convenient customer service, you can't go wrong! It's time to step up your game and make your space more Insta-worthy today.
windows 파일 생성 및 삭제
Tags: windows
Published: 2024-05-10 02:20:48

```
#파일생성
copy con 파일명.파일타입
```

```
#파일삭제
del 파일명.파일타입
```

```
#파일조회
type 파일명.파일타입
```

```
#파일수정, 메모장 사용
notepad 파일명.파일타입
```

_참조 : https://superuser.com/questions/186857/how-do-i-edit-text-files-in-the-windows-command-prompt_
Illuminate your routine with a backlit circle mirror.
Tags: daily
Published: 2024-05-10 02:02:01

Introduction:



Would you wish to make your daily routine brighter which is a bit more enjoyable? Search no further than the  team mirror. This technique revolutionize the way you approach your early morning and evening routines.



Top features of a Backlit Circle Mirror:

Its light which is bright illuminates face and enables you to see every information, rendering it ideal for doing makeup products, skincare routines, as well as other beauty treatments. Moreover, the light which is hot soft regarding the eyes and produces a relaxing environment, ideal for starting and closing your day.

Innovation in Design:

Its backlit mirror round circular shape and sleek design put in a touch which is contemporary any space and they are particular to impress visitors. In addition, its design which is innovative allows simple adjustment regarding the light settings.

Protection Precautions:

The light bulbs being LED not temperature up, reducing the likelihood of burns off and fires. Additionally, the is shatterproof, making sure it's not going to break or divide, even if dropped.

Simplicity:

First, ensure the mirror is linked in and thrilled. Then, adjust the lighting settings to your desired brightness degree. .

Provider and Quality:

Our backlit team mirror is manufactured along with the most useful materials and it's also fully guaranteed to final for decades. Additionally, if you have got any presssing difficulties with your mirror, our customer support group can be acquired that will help you.

Applications for a Backlit Circle Mirror:

A backlit circle mirror may be used for the true wide range of applications, including not tied to:

- Makeup application and touch-ups

- Shaving and tasks and this can be grooming

- Skincare routines and remedies

- Flossing and other hygiene which is dental

- Practicing and celebration which is perfecting or yoga poses





Conclusion:



Investing in a circle led mirror is a decision that will benefit you for years to come. Its innovative design, safety features, and ease of use make it a must-have for anyone looking to improve their daily routine. Illuminate your life with the backlit circle mirror, and see the difference it makes.
배치파일 생성 및 실행
Published: 2024-05-10 01:58:04

```
@echo off
cd C:\Users\MARIO\PythonProject\projects\Project_01\FlaskProject
C:\Users\MARIO\PythonProject\venv\myProject\Scripts\activate
```
1. ../venv/../myProject.cmd 생성
2. 환경변수 생성
3. 사용자 변수 - path
C:\Users\MARIO\PythonProject\venv\myProject\
추가
The backlit circle mirror: a must-have item for every stylish home.
Tags: home
Published: 2024-05-10 01:57:17

The Backlit Circle Mirror: A Must-Have Item for Every Stylish Home



Can you desire to invest a feeling of beauty to your home? Then, the Backlit Circle is the item which is perfect you. This technique which is innovative not only stylish but also exceptionally helpful.

Benefits:

This feature helps it be well suited for using makeup or shaving, because it provides lighting which is excellent these tasks backlit mirror round. The  feature also helps it be perfect for use in just a dark room, because it helps to brighten the space up.

It's available in different shapes and sizes, to make sure you'll get the the one that matches your preferences and choices.

Innovation:

Its made to provide lighting which is excellent tasks like applying makeup and shaving, while additionally serving being an elegant design for home.

Protection:

The illumination which is LED to the item is energy-efficient and safe to use. You won't need to be concerned about getting a surprise which is electric the goods is designed to be waterproof and non-electric.

Use:

You can use it in your bathrooms to use makeup products, shave, or clean your smile. Instead, you are able to stick it in your bedroom or family area to include an elegance which is little design.

How exactly to make use of:

Merely plug it into the mains, although the lighting which is led round mirror switch on. It is possible to adjust the brightness for the lighting to meet your requirements using the touch sensor switch about the mirror.

Company:

If you have any appropriate concerns or problems about your Backlit Circle Mirror, please don't wait to obtain hold of us. We will do our better to straight away address your issues and effortlessly.

Quality:

The Backlit Circle Mirror was created to last for years, and now we stay behind a guarantee to our product to give you satisfaction.

Application:

Whether you are looking for a mirror to utilize in your bathroom, room, or family room, this product which is innovative fit completely.



In conclusion, the backlit circle mirror is a must-have item for every stylish home. Its advantages include its backlit feature, sleek design, and versatility. Additionally, the product is innovative, safe, and easy to use. If you're looking for a mirror that will add elegance to your home, the Backlit Circle Mirror is the perfect product for you.
The Oxford Royale Academy Experience
Published: 2024-05-10 01:30:20

Unleashing Excellence: The Oxford Royale Academy Experience
At Oxford Royale Academy, we are dedicated to providing unparalleled educational experiences that go beyond the ordinary. Our institution stands as a beacon of academic excellence, offering transformative programs designed to empower and inspire students from around the globe. With a rich history dating back centuries, we combine tradition with innovation to create a learning environment like no other.

Our Heritage: A Legacy of Learning
Founded in the historic city of Oxford, England, our academy draws upon the prestigious legacy of one of the world’s oldest and most renowned universities. Established in [insert year], Oxford Royale Academy has evolved into a symbol of educational excellence, attracting bright minds from every corner of the world.

World-Class Faculty and Curriculum
At the heart of our institution lies a team of dedicated educators who are experts in their fields. Our faculty members are renowned scholars, industry professionals, and thought leaders, committed to nurturing the intellectual curiosity and academic growth of our students.

Our curriculum is carefully crafted to foster critical thinking, creativity, and problem-solving skills. From STEM subjects to the arts and humanities, we offer a diverse range of courses tailored to meet the needs and interests of every student. Through interactive lectures, hands-on projects, and collaborative learning experiences, we empower our students to explore new ideas and expand their horizons.

Beyond the Classroom: Enriching Experiences
Education at Oxford Royale Academy extends far beyond the confines of the classroom. We believe in the importance of experiential learning and offer a variety of extracurricular activities and cultural excursions to complement our academic programs.

From leadership workshops and debate societies to cultural outings and field trips, our students have the opportunity to immerse themselves in new experiences and gain a deeper understanding of the world around them. These enriching experiences not only enhance their academic journey but also foster personal growth and development.

A Global Community of Learners
At Oxford Royale Academy, we take pride in our diverse and inclusive community of learners. With students hailing from over [insert number] countries, our campus is a melting pot of cultures, perspectives, and ideas. Through collaborative projects, cultural exchanges, and networking events, our students build lifelong connections and forge lasting friendships with peers from around the world.

[READE MORE](https://guusi.site/the-oxford-royale-academy-experience/)
MMOexp: EA is giving the activity of accolade
Tags: games
Published: 2024-05-10 01:13:03

Aloof like friends, all bold invites are additionally funneled through EA Amusing this year, so you dont admission to <a href="https://www.mmoexp.com/Fc-24/Coins.html">FIFA 24 Coins</a> cantankerous to a adapted abode ceremony time you appetite to comedy a adapted bold mode. How to add accompany in FC 24 with EA Amusing EA Amusing acquaintance invites assignment no abnormally than approved bounded invites that were acclimated to. 

EA gave crossplay a aloft check for the absolution of FC 24 in an beforehand to accomplish it added accessible. Allotment of that check is the accomplishing of EA Social, the new way to acquisition accompany and admission matchmaking aloft adapted platforms.

EA is giving the activity of accolade and arena FC 24 with your accompany a accomplished new look. The new EA Amusing accoutrement includes abundant added admonition on your friends, the belvedere they're arena on, and their availability for crossplay.

Those artlessly attractive to acquisition a acquaintance and jump beeline into the bold afterwards aggravation with any ancillary agreeable admission annihilation to anguish about. Appliance EA Amusing is not in any way added complicated than the accepted acquaintance searches of <a href="https://www.mmoexp.com/Fc-24/Coins.html">buy EA FC 24 Coins</a> antecedent installments.
Zoio de lula no VScode
Tags: maui, vscode, braziliandevs, dotnet
Published: 2024-05-10 01:07:45

Você está procurando um assistente para formatar e ficar de "zóio" no seu `XAML`, criei  <a href="https://marketplace.visualstudio.com/items?itemName=AndersonOliveira.zoiodelula">Zoio de lula</a> para te ajudar nisso, ela e grátis e de <a href="https://github.com/AndersonPull/Zoio_de_lula_MAUI">código aberto</a>.

Eu atualmente estou testando escrever meu app em MAUI no Vscode e entre um tab aqui um enter lá, resolvi criar uma extensão para ajudar na rapidez quando fosse hora de formatar o código.

<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yjk1kvzp8ffo3yvgiqa2.png" alt="VScode image extension" width="1000" />

E como ele funciona atualmente, quando o VScode identifica um arquivo XAML ele entra em ação e permite que você formate um código escrito corretamente, com as devidas tags abertas e fechadas.

E nessa primeira versão ele conta com as seguintes configurações.

* número de atributos por linha
* Posicione todos os atributos na primeira linha
* Coloque o primeiro atributo na primeira linha
* Remover atributos "xmlns:" não utilizados
* Se não houver nós filhos, então tag de fechamento automático />

<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dpbutfnqq3qyyl9ekcp9.png" alt="VScode settings Zoio de lula" width="1000" />

E na pratica ela funciona assim:

<img src="https://media.licdn.com/dms/image/D4D22AQEeQ_BpY0KYgw/feedshare-shrink_800/0/1713649188865?e=1718236800&v=beta&t=r5k8tpIXXvlqbItQdEZDIpTgclUXbhRFkfSq825FzGY" alt="gif format" width="1000" />

Muito obrigado!
study docker
Published: 2024-05-10 00:46:42

1. 


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



```
FROM node:16.20.2
COPY . /app
WORKDIR /app
RUN npm -v
RUN npm install
EXPOSE 8080
```

```
docker build -t study:0.0.2 -f Dockfile.text .
```

this command package the project as a image;

2.docker is server; you must start you can use docker;
open appication in windows

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

```
docker save -o ko.jar study:0.0.2 
```
will package image to a jar
4.

```
scp your_image_name.tar root@129.211.184.254:/path/to/destination

```
link your server and push file to server
5.In server
you must install docker
you can use yum install 


docker sudo apt-get install docker-ce depends on you systemOs;

6.

```
sudo systemctl enable docker

```
it will automatically start docker after turn on the computer

7.

```
docker load -i /path/to/your_image_name.tar

```
load image from local environment；

docker image ls;

```
docker run -it -p 8080:8080 --name test -d  -v /dd:/app study  
```
-d is run the program in the background;
--name make a alias
-v map machine volume inside docker