teleren/devto huggingface dataset:
Flaco - Personal multipage theme
Tags: tailwindcss, javascript, astro, webdev
Published: 2023-09-30 08:59:13

Flaco - Personal multipage theme
Built with Astro, Tailwind CSS & MDX

Includes:
Pages 14
Sections 20+
Components 50+

See it live and learn more:
- http://lexingtonthemes.com/info/flaco/

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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l7x7gechs95nst4hss6y.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kpmagjena6j7pw65rgxm.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y39sultzdujqckzatqg8.png)
Placeholder Pledge
Tags: hacktoberfest23
Published: 2023-09-30 07:59:34

### **✨Hacktoberfest23 Gangs! ✨** 


Having been a silent part of DEV Community puts me in same level with new joiners but i believe i'll be turning a new leave now. This is also not my first in hearing about Hacktoberfest but like always, it's my **REAL first**😇👏. I am giving myself a pat at the back for waking up when it's not late yet💪.


Although i have a general knowledge of Hacktoberfest, i am an absolute Brand New🤝. I am a junior frontend developer and also walking the Data Science path with AltSchool Africa. My aim is to be a data-driven Software Engineer👩‍💻.


I am still on the level of Contributor. I can't forget the joy i had on the merge of my first pull request. Although i went off for a while due to lot's of constraints, i am back. My goal is to move from Hacktoberfest to github star🤩.
Having too many GPG keys associated in GitHub account is bad?
Tags: gpg, github, discuss
Published: 2023-09-30 07:53:15

I'm asking for opinions on whether having multiple GPG keys is a bad idea or not. I like to keep things organised and unduplicated, so this situation was bothering me.

The reason I have multiple GPG keys is that I had to clean install Windows in my computer couple of times. And sometimes I used different computer (like Raspberry Pi 2B & UserLAnd on Android), so I have different key for each of those.

Unfortunately, I no longer have access to old keys, so I need to create a new GPG key anyway. But moving forward, how should I deal with such situation?

Should export & import the key? Should I create new key every time?
Should I do something else?
In the end I want my commits to be shown as verified in GitHub.
What would you do if you were in my situation?
Setup Node.js, NPM, PM2, and Git In AWS EC2 Server Effortlessly
Tags: node, aws, git, npm
Published: 2023-09-30 07:45:09

In this article, I will show you how to quickly and easily install Node.js, NPM, PM2, and Git on your AWS EC2 server using nvm, so you can streamline your server setup and start working on your projects right away.

### Step 1: Connect to Your AWS EC2 Instance

First, connect to your AWS EC2 instance by logging into your AWS account, navigating to the EC2 dashboard, and selecting your instance

### Step 2: Update Your System
Before installing any packages, it's a good idea to update your system to ensure that you have the latest package information. To do this, use the following command:

```sh
sudo apt-get update -y
```
This command will update your system with the latest package information.

### Step 3: Install nvm
nvm (Node Version Manager) is a tool that allows you to easily install and manage multiple versions of Node.js on your system. To install nvm on your EC2 instance, you can use the following command:

```sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
```
This command will download and run the installation script for nvm.

Note: If you get the "Command 'nvm' not found" error after running the installation command, try running the following command:

```sh
source ~/.bashrc
```
This will refresh your terminal and reload any changes made to your ~/.bashrc file, which includes the nvm installation.

### Step 4: Install Node.js and NPM
Once nvm is installed, you can use it to install the latest LTS (Long-Term Support) version of Node.js and NPM. To do this, use the following commands:


```sh
nvm install --lts
nvm use --lts
```
The first command will install the latest LTS version of Node.js, while the second command will set this version as the active version of Node.js on your system.

### Step 5: Install PM2
PM2 is a process manager for Node.js applications, which makes it easy to manage and monitor your running applications. To install PM2, you can use the following command:

```sh
npm install pm2 -g
```
This will install PM2 globally on your server.

### Step 6: Install Git
Git is a version control system that allows you to track changes in your code and collaborate with others. To install Git on your EC2 instance, you can use the following command:

```sh
sudo apt-get install git
```
This will install Git on your server.

### Step 7: Verify Installations
Once you've completed the installation process, you can verify that everything is working correctly by checking the versions of each package. You can do this by using the following commands:

```sh
node -v
npm -v
pm2 -v
git --version
```

### Conclusion

Setting up your AWS EC2 server with Node.js, NPM, PM2, and Git using nvm can be done in just a few minutes by following the steps above. With this guide, you can streamline your server setup
Latest Newsletter: Bitcoin Butterfly (Issue #134)
Tags: javascript, tech, webdev, discuss
Published: 2023-09-30 07:27:13

---
title: Latest Newsletter: Bitcoin Butterfly (Issue #134)
published: true
description: Money, bitcoin, free speech, AI assistants, static site generators, roman history, kiosks are cool, physics is barmy, Cockney rhyming slang and I’m loosing my mind again.
tags: javascript, tech, webdev, discuss
---

Bitcoin Butterfly (Issue #134)

Money, bitcoin, free speech, AI assistants, static site generators, roman history, kiosks are cool, physics is barmy, Cockney rhyming slang and I’m loosing my mind again.

https://markjgsmith.substack.com/p/mark-smiths-newsletter-30-09-2023

Would love to hear any comments and feedback you have.

[@markjgsmith](https://twitter.com/markjgsmith)
Send email confirmation in Strapi v4
Tags: strapi, react, javascript, webdev
Published: 2023-09-30 07:19:43

I have spent 1 hour to search internet for this feature but encountered a few obstacles. So I write this tutorial, hope it helps someone 😄

First, you need a SMTP mail server to send verification email. Luckily, Sendgrid provide this. In this tutorial, I will guide you to send email from your domain email, using Sendgrid as a mail server.

### 1. Verify your domain on Sendgrid
Go to [Sender authentication page](https://app.sendgrid.com/settings/sender_auth), then click Authenticate Your Domain to start the process, they will ask you to add some DNS record to your domain. The result should look like this:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kupec997psekua2azh6b.jpg)
Next, go to Setting -> API Keys and create a new API Key for this email.

### 2. Config SMTP on strapi
In `.env` file in your strapi project, add
```
URL=http://localhost:1337
```
config strapi url:
```
// /config/server.js

module.exports = ({env}) => {
    ...
    url: env("URL", "http://localhost:1337"),
})
```
Install [email plugin](https://market.strapi.io/providers/@strapi-provider-email-nodemailer) using this command:
```
yarn add @strapi/provider-email-nodemailer
```
Add SMTP config to your `.env` file
```
SMTP_HOST=smtp.sendgrid.net
SMTP_PORT=465
SMTP_USERNAME=apikey
SMTP_PASSWORD=<your api key from step 1>
```

Create a file name `plugins.js` in `config` folder
```
// /config/plugin.js

module.exports = ({ env }) => ({
  email: {
    config: {
      provider: 'nodemailer',
      providerOptions: {
        host: env('SMTP_HOST', 'smtp.sendgrid.net'),
        port: env('SMTP_PORT', 465),
        auth: {
          user: env('SMTP_USERNAME'),
          pass: env('SMTP_PASSWORD'),
        },
      },
      settings: {
        defaultFrom: 'hello@example.com', 
        defaultReplyTo: 'hello@example.com',
      },
    },
  },
});
```
The `defaultFrom` and `defaultReplyTo` are email from your domain, it can be any email such as `support@yourdomain.com`, `admin@yourdomain.com`,... 

```
yarn build
yarn develop --watch-admin
```
### 3. Test send mail
Now go to admin dashboard on `http://localhost:8000`, navigate to `Settings` -> `Email plugin` -> `Configuration`, enter your email and `Send test email`, if everything is setup correctly, you should receive an email 😎

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

### 4. Send verification email 
You are almost done, now navigate to `Settings -> Advanced setting`, turn on the `Enable email confirmation`. Next, enter the `Redirection url` below, it should be a page on your site to display the text `Congratulation! You have successfully confirmed your email`

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

Don't hesitate to ask me if you have any question 😁 [@huylvz](https://t.me/huylvz)
100 days of Code
Tags: 100daysofcode, java, leetcode
Published: 2023-09-30 07:12:07

Starting my 100 days of code from today,
Will be posting my learnings everyday focusing on data structures and algorithms.

see you!


So this took a while for me to come back to, I have been learning linkedlist, queues and stack from past couple of months and I can say that I am slowly getting the hang of it but I won't call myself an expert in any shape.


I will log my entries here daily from today onwards(I promise I would). 

######24th November 2023
* Learning Hashing from couple of days and need to understand and solve [Array pairs](https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k/description/) question. stay tuned.
Community Wiki
Tags: oneapi, hpc, opensource, ai
Published: 2023-09-30 03:46:23


Hello!

I’ve started a community wiki that everyone from all walks of backgrounds could help contribute and share their knowledge with others. This would be a great place to do tricks and tips, more concise documentation to do specific things. 

Contribution is through the usual methods of either submitting a pull request. I’m willing to entertain giving folks priv access since a single person is not scalable. I’m certainly willing to give to folks who represent other architectures like Arm, RocM, Nvidia, RISC-V and so on. The wiki should be a resource for everyone. The only thing I ask is to follow the PR  process regardless so that we can at least look over grammar and spelling for consistency sake.

The wiki also has documentation on how to build oneAPI and the DPC++ compiler from source. One of the things I’m really interested in, is being able to build documentation how to install the DPC++ compiler into system install areas - eg /usr/{lib,include} - installing it into a non-system target make distributing applications based on oneAPI much harder. We should eliminate that.

There are a LOT of interesting directions that we can take this. I’d love to start having weekly meetings on how we could work together on these builds and turn them into something independent of companies and make it a true community directive. Interested? Reach out! Hit the comments or find me on the HPC Social Slack! 🙂

We have plans for a community driven project showcase as well that I’m hoping will also help drive more projects using oneAPI but that isn’t there yet. If you’re curious feel free to check out https://oneapi-community.github.io/ - I’m using Hugo. I wrote the CSS on it - I’m not a front-end web developer. But I couldn’t find a Hugo theme that would show off projects. So like any good open source person, I wrote one - and scratched that itch! Once I have worked out all the kinks, I will release the Hugo theme. I also never used GitHub actions before - so that was a fun trip too. 😀

If you’re interested in helping out with the wiki - please check out: https://github.com/oneapi-community/community/wiki. PRs are most welcome.

I hope to start working on other community related projects like builds and packaging over the next 6 months or so. If you’re interested in helping out with any of this - please let me know.

Photo: Photo by <a href="https://unsplash.com/@nicolebaster?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Nicole Baster</a> on <a href="https://unsplash.com/photos/OJcEMZHoY80?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Beat the LeetCode 132. Pattern By Nilesh Raut
Tags: 100dayschallengeleet, c, leetcode, leetcodesolution
Published: 2023-09-30 07:11:20

---
title: Beat the LeetCode 132. Pattern By Nilesh Raut
published: true
date: 2023-09-30 06:45:04 UTC
tags: 100DaysChallengeLeet,C,leetcode,Leetcodesolution
canonical_url: https://www.nileshblog.tech/leetcode-132-pattern/
---
![nileshblog](https://www.nileshblog.tech/wp-content/uploads/2023/09/LeetCode-132.-Pattern-Medium-1536x864.png)
LeetCode 132. Pattern: Hey there, coding enthusiasts! Welcome back to another exciting coding session. Today’s problem is a treat—literally! We’re going to solve the “pattern” or “LeetCode .132” Stack Approach: Leet Code 132. Pattern (Medium) Leetcode 316. Remove Duplicate Letters (Medium) C++: Stack Leet Code 132 LeetCode 896. Monotonic Array (Easy) Java: Stack Leet Code 132 ... [Read more](https://www.nileshblog.tech/leetcode-132-pattern/ "LeetCode 132. Pattern (Medium)")

The post [LeetCode 132. Pattern (Medium)](https://www.nileshblog.tech/leetcode-132-pattern/) appeared first on [NileshBlog.Tech](https://www.nileshblog.tech).
Solidity Mathematical Expression Interpreter Library
Tags: solidity, smartcontract, math
Published: 2023-09-30 06:39:41

Hello Solidity community,

I’m excited to introduce a Solidity Mathematical Expression Interpreter Library. This library is designed to enable mathematical expression interpretation within the Ethereum ecosystem while providing support for integers.

**Features:**

- Mathematical Expression Parsing: Our library can parse and evaluate mathematical expressions that include operators such as +, -, *, /, %, and ^, as well as parentheses for defining the order of operations.

- Solidity Compatibility: The library is written in Solidity, making it easy to integrate with smart contracts on the Ethereum blockchain.

- Safe and Secure: While this library provides powerful mathematical capabilities, it’s crucial to exercise caution when processing untrusted input strings.

**Use Cases:**

- Smart Contracts: You can use this library in your Solidity smart contracts to perform complex mathematical calculations within the Ethereum network.

- DeFi Applications: DeFi projects often require mathematical operations. Our library simplifies these calculations within DeFi protocols.

- Custom Calculations: If your project involves custom mathematical operations, this library provides a flexible solution.

**Please Note:**

This library is provided “as is,” and I make no guarantees about its correctness or suitability for any specific purpose. It’s important to thoroughly test and validate its functionality before deploying it in a production environment.

 **GitHub Repository**
 https://github.com/YoungDeveloper78/Math-Interpreter-Solidity

**_for the project code check my github page_**


I’m eager to hear your thoughts and feedback on this library. Let’s discuss its potential applications and any improvements that can be made.

Feel free to ask questions, share your insights, and explore how this library can benefit the Ethereum community.

Thank you for your time, and I look forward to our discussions!

Best regards, Parsa Rahbaran
3D cube using pure css
Tags: freecodez, react, html, blog
Published: 2023-09-30 06:36:55

**3D cube using pure css**

![3D cube using pure css](https://res.cloudinary.com/freecodez/image/upload/v1696055806/images/yrjwumr5wtgavmgtmq7u.webp)

For full source code visit : [https://freecodez.com/post/iiygefu](https://freecodez.com/post/iiygefu)

For more such articles visit : [https://freecodez.com](https://freecodez.com/all)
Project task #1
Tags: linux, devops, docker
Published: 2023-09-28 18:55:54

We have received some task to complete, lets look the questions.
1.create a github repo with README.md
2.create a Dockerfile
3.write a shellscript to do the below 
 3.1 clone the repo
 3.2 docker build
 3.3 push to dockerhub
 3.4 run docker container
4. execute the shell script to run once in 1 min via cron service
5 make some changes on the index.html file and verify the changes.

**find the below procedure to complete the above requirements**

step 1. create a new gitrepo

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

step 2. create a Dockerfile and define how to build the docker image

```
vim Dockerfile

FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y
RUN apt-get install apache2 -y
RUN apt-get install apache2-utils -y
RUN apt-get clean
COPY index.html /var/www/html/
EXPOSE 80
CMD ["apache2ctl","-D","FOREGROUND"]

```

```
vim index.html

<h1> Developer code </h1>

<h2>Modified the code data </h2>

<h3> 3rd time code-data modified </h3>

```
step 3: write a shell script

```
#!/bin/bash
#clone the github repo
git clone https://github.com/<gitusername>/<repo name>
#Navigate the repo dir
cd testprojectrepo
#Build the Docker image
docker build -t <image name> .
#Push the docker image 
docker push <git username>/<image name>
#Run the Docker container on detached mode
docker run -d --name <container name> -p <Port> <image name>

```
Step 4: Execute the created shell script via cron srevice
To run the cron service 

```
systemctl start cron.service
crontab -e 

```

```
*/1 * * * * /<path of the shellscript>
```
**made some changes on the index.html file and verify the browser**

**Push the build shell script to the git repo**

```
git init
git status
git add <Shell script file>
git commit -m "comments"
git push origin main

```
we have successfully completed the task with the above steps
XXXXXXXXXXXXXX---------------------------XXXXXXXXXXXXXXXXXX
3D cubes animation using pure css
Tags: freecodez, react, html, blog
Published: 2023-09-30 06:00:35

**3D cubes animation using pure css**

![3D cubes animation using pure css](https://res.cloudinary.com/freecodez/image/upload/v1696053618/images/zuelae7p52zi1893mxtu.webp)

For full source code visit : [https://freecodez.com/post/e133780](https://freecodez.com/post/e133780)

For more such articles visit : [https://freecodez.com](https://freecodez.com/all)
All about Hactoberfest'23
Tags: hacktoberfest23, opensource, contributorswanted, developers
Published: 2023-09-30 06:00:35

Are you the one who are newbie to development or a pro in it and wants to contribute in Open Source community?

Don't know how and where to start?

Then my friend this opportunity is for you.

The Hactoberfest 2023 is here first of all what is Hactoberfest? 

"This year marks the 10th anniversary of Hacktoberfest, and we’re calling on your support! Whether it’s your first time participating—or your tenth—it’s almost time to hack out four pristine pull/merge requests as we continue our month of support for open source." 
**Hactoberfest'23**

Hactoberfest is one of the best Beginner to Advanced level open source contribution program where dev participate in the platform for both Code and Non Code organisation as well as can introduce there own open source project using the tag #Hactoberfest further in there site.

So where to kick off?
No worries, below are the repos where you can find suitable open source platform to contribute.

[OPEN SOURCE REPOSITORIES](https://github.com/topics/hacktoberfest)

Little about prizes,
There is digital badges from the partners Digital Ocean, illa, appwrite.

Sadly there is no t-shirt 👕 this year 😞 because community has grown tremendously from few hundreds to millions 💯
However we are here to contribute and learn not for gifts right?😁

_Note: You have to merge 4 Pull request in your favourite repos to won the badges._

So that's it start the hacking (Development 💯)

Stick with me press the follow button 
[er_saifullah](https://dev.to/er_saifullah) ✅

I'm going to share my first open source contribution experience and most importantly how to start your first Open Source contribution from scratch in one article.

Register below 👇[Registration link for Hactoberfest'23](https://hacktoberfest.com/)
HacktoberFest 23 Pledge
Tags: hacktoberfest23
Published: 2023-09-30 05:34:53

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### Intro
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and your motivation to participate in Hacktoberfest this year. -->
👨🏻‍🎓Hello Everyone I'm Vishal, Sophomore at IIT (BHU) Varanasi
Open Source Developer and Researcher in CV, RL and Image Processing

🌱I would love to share what all I'm learning and the newest things in technological space through DEV Community, making it all in  a fun and enjoyable way ( Use of Different Themes)

🤩This is going to be my first Hacktober Fest, I'm very excited for it and to contribute to a lot of Amazing Organizations


### Background
<!-- Are you brand new to Hacktoberfest? What about coding in general? Tell us about how you got here -->
🎆I'm Familiar with the MEVN Stack and Next and Astro Frameworks( I like Astro the most, great features and thought process behind it ), Postgre SQL, I'm Learning Go and RUST, 

### Pledge
<!-- Share with us a bit about your goals during your Hacktoberfest journey this month. Are you a contributor looking to hone your skills or a maintainer looking for some help on a new project? Let us know!  -->
💻I have been contributing to Sugar Labs quite consistently for few months now, I will definitely be contributing and working Hard and Enjoying the process meantime

🎁Hope to get Stickers and Swags for the first time, been longing for them for many Months now
333winorg
Tags: 33win
Published: 2023-09-30 05:19:56

33win là nhà cái cá cược uy tín được rất nhiều người ưa chuộng. Không chỉ nổi tiếng tại Việt Nam, sân chơi này còn có mặt tại hầu hết các quốc gia trên thế giới.
Điện thoại: (+63) 9270355787
Gmail: 333win.org@gmail.com
Website: https://333win.org/ 
#33win#33win_km #keo_nha_cai_33win

Social Links :

https://333win.org/dang-ky-33win/

https://333win.org/nap-tien-33win/

https://333win.org/rut-tien-33win/

https://333win.org/tai-app-33win/

https://333win.org/ban-ca/

https://333win.org/casino/

https://333win.org/game-bai/

https://333win.org/huong-dan/

https://333win.org/slot/

https://333win.org/the-thao/

https://333win.org/xo-so/

https://www.facebook.com/333winorg

https://twitter.com/333winorg

https://www.pinterest.com/333winorg/

https://500px.com/p/333winorg?view=photos

https://www.flickr.com/people/333winorg/

https://www.youtube.com/channel/UC6eNCEPnsy4EKpazoXz3qcA

https://www.reddit.com/user/333winorg

https://www.blogger.com/profile/09230715133149605801

https://333winorg.blogspot.com/

https://www.tumblr.com/333winorg

https://bbs.now.qq.com/home.php?mod=space&uid=5774957

https://www.blogger.com/profile/09230715133149605801

https://linktr.ee/333winorg

https://www.twitch.tv/333winorg/about

https://ok.ru/profile/588395239892/statuses/156512799374804

https://issuu.com/333winorg

https://dribbble.com/333winorg/about