teleren/devto huggingface dataset:
My Hacktoberfest Journey - Adding Quotes to QuoteVerse
Tags: hacktoberfest23, beginners, javascript
Published: 2023-10-21 21:20:44

The title "[ Add new Quotes #93 ](https://github.com/Shariar-Hasan/QuoteVerse/issues/93)" was the one that grabbed my attention. The creator of **QuoteVerse**, **Shariar-Hasan**, put issued a request for contributors to contribute new quotations to the project in this issue. "Try to add new quotes with previous categories," was the explicit goal. Make sure you understand the contribution standards and don't feel obligated to contribute quotations." 
This issue's technical components included updating the QuoteVerse project with fresh quotes. The quote content, category, author, and contributor's GitHub login are among the particular requirements that the quotations must adhere to, such as maintaining a sequence. The Quote.js file was to have the quotations added to it. It was my responsibility to make sure every quote was accurate and did not exceed thirty words. Though my efforts may not seem essential, they are a part of an overall effort to enhance QuoteVerse as a resource for people looking for encouragement and inspiration. New quotations are added to the initiative, which enhances its collection and advances its goal of using words to disseminate positivism.
Placeholder Contributor
Tags: hack23contributor
Published: 2023-10-21 21:09:20

✨Hacktoberfest 2023 ✨

### Intro
 First Hacktoberfest for myself! { https://github.com/T-Crypt } 

### Highs and Lows
My biggest light build moment was figuring out dictionary response returns rather than using print() in python!

### Growth
Got a lot of growth development in python and also App building, I had a handful of experience before this!!
Day12: Building a Cat Painting
Published: 2023-10-21 20:21:27

Happy Weekend Guys,

is another day to share my story, I was able to conclude today's task (cat Painting), I don't have much to write about it, I wrote a lot of CSS code .. like, transform, borders and more.

below is a link to my repo, feel free to check it out!

LINK: https://github.com/Duke411/Cat-Painting
Bandit Level 12 Level 13
Tags: bandit, ctf, overthewire, writeup
Published: 2023-10-21 18:18:41

### Introduction

Greetings, As we step into **Level 12** of the Bandit wargame, we're faced with a unique challenge involving data manipulation and repeated compression. Get ready to roll up your sleeves and dive into the intricate world of command-line operations.

### **Steps**

Before we embark on our journey, make sure you've successfully acquired the password for the previous level: `JVNBBFSmZwKKOP0XbFXOoW8chDz5yVRv`.

1. **Creating a Workspace**: Begin by creating a temporary directory named `/tmp/hexdump`. Navigate to this new directory using the following commands:
    
    ```bash
    mkdir /tmp/hexdump
    cd /tmp/hexdump
    ```
    
    This step ensures you have a clean workspace to carry out the tasks.
    
2. **Preparing the Data**: Now, let's grab the `data.txt` file from the previous level and place it into your temporary directory:
    
    ```bash
    cp /home/bandit12/data.txt .
    ```
    
    This sets the stage for our data manipulation journey.
    
3. **Decoding Hexdump**: We'll start by converting the hexdump back to its original form. Execute the following commands to perform this transformation:
    
    ```bash
    xxd -r data.txt > hex
    file hex
    ```
    
    The `xxd -r` command reverses the hexdump, reconstructing the original data. The `file` command is used to inspect the type of data in the `hex` file.
    
4. **Compressing and Decompressing**: In the next steps, we'll play with compression. These commands help us understand the data and its transformations:
    
    ```bash
    mv hex hex.gz
    gunzip hex.gz
    file hex
    ```
    
    Here, we rename `hex` to `hex.gz`, then unzip it using `gunzip`. The `file` command confirms the type of data.
    
5. **Further Compression**: Our exploration continues with more compression:
    
    ```bash
    mv hex hex.bz2
    bunzip2 hex.bz2
    file hex
    ```
    
    We rename `hex` to `hex.bz2` and use `bunzip2` to decompress it. Once again, the `file` command provides insight into the data's nature.
    
6. **Final Steps**: The puzzle nears its completion. Execute these commands to perform more decompression given the working file’s data type:
    
    ```bash
    mv hex hex.gz
    gunzip hex.gz
    file hex
    tar -xf hex
    file data5.bin
    tar -xf data5.bin
    file data6.bin
    mv data6.bin data6.bin.bz2
    bunzip2 data6.bin.bz2
    file data6.bin
    tar -xf data6.bin
    file data8.bin
    mv data8.bin data8.bin.gz
    cat data8.bin
    
    ```
    
    These commands navigate through decompression, untar, and finally, reveal the contents of `data8.bin` which is the password for the next level:
    

```
wbWdlBxEir4CaE8LaPhauuOo6pwRmrDw
```
NodeJS on Ubuntu and Debian in Docker
Published: 2023-12-15 14:07:49

---
title: NodeJS on Ubuntu and Debian in Docker
published: true
date: 2023-10-21 20:20:08 UTC
tags: 
canonical_url: https://blog.mandraketech.in/nodejs-on-ubuntu-and-debian-in-docker
---

For my current development project, I wanted to install NodeJS in my docker image, with the following constraints:

- OS starting point that I define ( monthly patched version of Debian-LTS )

- Latest security patched version of the NodeJS binaries

- Need faster security patching

- Avoid using Package Manager - no apt

- Low disk footprint

Built this snippet:

[https://gitlab.com/-/snippets/3613589](https://gitlab.com/-/snippets/3613589)

Hoping you find it useful.
Typescript path alias in React Native + Expo without `babel-plugin-module-resolver`
Tags: reactnative, expo, typescript
Published: 2023-10-21 20:06:45

In Expo 49+ you no longer need a `module-resolver`.
Bye-bye `babel-plugin-module-resolver`! 👋

> ps.: if your project is using Expo 50 the config tsConfigPaths is enabled by default, so you don't need to update your app.json.

{% embed https://gist.github.com/RuanAzevedo/c1abeeb4632fc46f3c1fdfab26942bf3.js %}


Now you can add the path aliases to your `tsconfig.json`. Checkout the `baseUrl` and `paths` nodes below:


{% embed https://gist.github.com/RuanAzevedo/9d55c77785a01a0d28d99b7ad89bbc0c.js %}

And now, import your component in your app:

```
import AwesomeComponent from '@components/AwesomeComponent';
```

That's it! 🎉
Placeholder Contributor
Tags: hack23contributor
Published: 2023-10-21 19:55:20

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

### Intro
<!-- Share a bit about yourself as a contributor. Is this your first Hacktoberfest, or have you contributed to others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your learning or career goals changed since working on these new projects? -->
eth-todo-list
Published: 2023-10-21 19:42:28

🚀 Exciting Contribution Alert! 🚀

Hello, amazing Dev.to community!

I just made my first contribution to the redacherkaoui/eth-todo-list project, and I'd love your support and feedback on it. This project is a part of my incredible learning journey into blockchain and decentralized applications (DApps), and I can't wait to share it with you all.

Here's my contribution:

Update Migrations.sol && README file #45
1 commit
1 file changed
1 contributor
Commits on Oct 21, 2023
In this contribution, I've updated the Migrations.sol and the README file. The correct version specifier was adjusted, and I've added some essential information to the README file, giving you an even better understanding of this amazing DApp project. Now it's more accessible for newcomers and those exploring the blockchain world for the first time.

🌟 Why should you check it out?

It's a fantastic way to support someone's learning journey.
You might find the changes I made insightful and informative.
Your feedback will help me learn and grow.
Feel free to take a look, leave your comments, suggestions, or any feedback you might have. Your support is invaluable to me, and I'm eager to engage with this incredible community.

Thank you for being a part of my journey, and together, let's make this project even better! 🙌

Check out my contribution here
https://github.com/redacherkaoui/eth-todo-list/tree/eth-todo-list-Ct

Looking forward to your thoughts and suggestions! 🚀🌈

Best regards,
redacherkaoui

Let's explore the world of blockchain together! 🌐🔗
5 Minimalist Landing Pages Using Tailwind CSS
Tags: webdev, tailwindcss, frontend
Published: 2023-10-21 19:41:17

Hello everyone! 👋,
I was working on this little project to get my hands dirty, so I could practice a bit of Tailwind CSS. I hope you like it ✌️.Any feedback would be appreciate.

**Football Landing Page**
https://github.com/Renzorr/Football-landing-page
![Football Landing Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nn8cxdvs8u1pszt6e5lf.png)

**Boutique Landing page**
https://github.com/Renzorr/Boutique-Landing-Page
![Boutique Landing page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oufg6vuqljk677cmbiyx.png)

**Fashion Landing page**
https://github.com/Renzorr/Fashion-Landing-Page
![Fashion Landing page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/imb6u4kn45811vs65liv.png)

**Furniture Landing page**
https://github.com/Renzorr/Furniture-Landing-Page
![Furniture Landing page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nt2bmgs1x4pqux6zycdw.png)

**Design Lab Landing page**
https://github.com/Renzorr/Design-Lab-Landing-Page
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/78b3s8suzci9zbyli9ym.png)
KMS Property
Published: 2023-10-21 19:40:53

At [KMS Property](https://www.kmsproperty.com/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/80js7kzz27vpnlzrmp6t.jpg)), we assist with every element of your property search, whether it be a purchase of a new apartment in Marbella, a holiday home on San Pedro beach, a luxury villa in Benahavis, or a townhouse in Estepona, we will find you exactly what you are looking for at the keenest price. Please take some time to look through our site and if you have any questions don't hesitate to contact us even if just for some friendly advice.
How to easily migrate Heroku Postgres database between apps.
Tags: programming, postgres, heroku, database
Published: 2023-10-21 19:36:55

There are two ways to copy data between databases: restore backup or copy command.

We will be performing a database migration from the `myapp-prod` app to the `myapp-test` app that is copying the schema (structure) and data from the source to target.

## Restore backup
Copies specified backup version of the database.

`heroku pg:backups:capture --app myapp-prod`

Creates a backup in the app `myapp-prod`. The Heroku console will tell you backup ID version b001 in this case.

`heroku pg:backups:restore myapp-prod::b001 DATABASE_URL --app myapp-test
`

Second command: Copy from `myapp-prod` app  backup id b001 (latest backup) to default DATABASE_URL of the app `myapp-test`.

## Direct copy
Copies the latest state of the database.

`heroku pg:copy myapp-prod::DATABASE_URL DATABASE_URL --app myapp-test`

Copy from `myapp-prod` app latest default database DATABASE_URL copy to app `myapp-test` default database DATABASE_URL.


Here `DATABASE_URL` is the name of the default database of your Heroku apps.


Thanks :)

> Reference
https://devcenter.heroku.com/articles/heroku-postgres-backups#restore-a-backup
Thank you so much everyone!
Tags: discuss, meta
Published: 2023-10-21 19:23:14

Hi fam, I'm so excited to announce that I've reached 30,000 views and 6K+ followers! This is such a huge milestone for me, and I couldn't have done it without your support.


![thanks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n6v6sduimwnu4w0qymm0.gif)

I'm so grateful for all of your comments, shares, and feedback. It means the world to me that you're interested in what I have to say about DevOps, Cloud, SRE and AI.


![CO](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xze4mixasar6a643si2n.png)

> Your support is what keeps me going and helps me write even more articles.

I love hearing from you and learning from your experiences as well.

One of my favourite things about being a part of the **dev.to** community is the people I've met along the way. I've learned so much from all of you, and I'm so **grateful** for your support.


![thanks you](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mjpuly1uavw4acmxxv1r.gif)

I remember one time when I was writing an article on a new DevOps tool. I was struggling to understand a particular concept, so I asked for help in the **_dev.to community_**. Within minutes, I had several helpful responses from other developers. I was so impressed by their willingness to help me out.

This is just one example of the many ways that the dev.to community has helped me. I'm so grateful to be a part of such a supportive and knowledgeable group of people.

I'm so glad to be a part of the **dev.to** community. Thank you for being a part of my journey! I couldn't have reached this milestone without you. I'm excited to continue sharing my knowledge and experience with the **dev.to** community in the years to come.

![Thank you](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xtydx1smt3w1ym1ul04u.gif)

I'm also open to **feedback on my existing articles**, please don't hesitate to let me know what you think.


What topics would you like to see me write about in the future? Please share your suggestions in the comments below.


![COmment](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iw51z035q4dq41ibbnsm.gif)
How can we make app live
Published: 2023-10-21 19:15:47

📱 Want to share your amazing apps with the world? 🌍 Create your very own Google Play Console Developer account today! 🚀Follow these steps to get started:Visit the Google Play Console website.Sign in with your Google account.Click on "Create account" or "Get started."Follow the setup process, including agreeing to the developer distribution agreement.Pay a one-time registration fee.You're all set to upload and manage your apps on the Google Play Store!#AppDevelopment #GooglePlay #DeveloperAccount #MobileApps
Leet Code 75–746. Min Cost Climbing Stairs
Tags: java, interviewquestions, leetcode, dynamicprogramming
Published: 2023-10-21 19:06:40

It’s an [easy](https://leetcode.com/problems/min-cost-climbing-stairs/) problem from leet code 75 with the description being:

> You are given an integer array cost where cost[i] is the cost of ith step on a staircase. Once you pay the cost, you > can either climb one or two steps.

> You can either start from the step with index 0, or the step with index 1.

> Return the minimum cost to reach the top of the floor.

> Example 1:

> Input: cost = [10,15,20]
> Output: 15
> Explanation: You will start at index 1.
> - Pay 15 and climb two steps to reach the top.
> The total cost is 15.

> Example 2:

> Input: cost = [1,100,1,1,1,100,1,1,100,1]
> Output: 6
> Explanation: You will start at index 0.
> - Pay 1 and climb two steps to reach index 2.
> - Pay 1 and climb two steps to reach index 4.
> - Pay 1 and climb two steps to reach index 6.
> - Pay 1 and climb one step to reach index 7.
> - Pay 1 and climb two steps to reach index 9.
> - Pay 1 and climb one step to reach the top.
> The total cost is 6.

> Constraints:
> 2 <= cost.length <= 1000
> 0 <= cost[i] <= 999

Regarding this problem, you could simply solve with brute force, but doing that would go too many operations, will be slow and cost a lot in terms of processing.

Looking into to this on a different view will help you solve this problem. Instead of trying to check the first indexes and sum up as it go, you can go backwards and add the costs with previous indexes and keep summing up until you get to the beginning and with that you will know the one that will cost less (but you will not know the path that it went).

```java
class Solution {
    public int minCostClimbingStairs(int[] cost) {
        // adding up to previous costs the smallest one
        for(int i=cost.length-3;i>-1;i--) {
            cost[i] += cost[i+1] < cost[i+2] ? cost[i+1] : cost[i+2];
        }
        // return smallest one
        return cost[0] > cost[1] ? cost[1] : cost[0];
    }
}
```

> Runtime: 0 ms, faster than 100.00% of Java online submissions for Min Cost Climbing Stairs.
> Memory Usage: 43.1 MB, less than 23.26% of Java online submissions for Min Cost Climbing Stairs.

The solution iterate backwards from third last index into 0. On each index it adds the previous costs, considering the smallest one.

At the end (index 0 or 1) it will return the smallest one.

---

That’s it! If there is anything thing else to discuss feel free to drop a comment, if I missed anything let me know so I can update accordingly.

Until next post! :)
Single Page Application (SPA) vs Multi-Page Application (MPA) — A User-Friendly Comparison
Tags: spa, mpa, website, applicatio
Published: 2023-10-21 18:14:43


![Single Page Application (SPA) vs Multi-Page Application (MPA) — A User-Friendly Comparison](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mo471de2tgorx8opg84l.jpg)

## Single Page Application (SPA)
SPA (Single Page Application) is an app where users can interact while remaining on the same page. It gained traction in the 2010s because of frameworks like React.js, Angular.js, and Vue.js. Facebook (React.js), YouTube (Angular.js), Alibaba (Vue.js), etc. are typical examples of SPAs.

Moreover, it’s recommended to build SPAs when you want high interactivity, live updates, and a great user experience. Because here, only the part with which the user interacts will be updated, the rest of the page remains unchanged.

Further, in SPAs, there’s not much load on the server. Because SPAs use APIs to get data from the server, instead of reloading the whole page every time a request is made. But despite all this. There are also cons of SPA. One of the biggest is that since it has only one PAGE, it’s challenging to do its SEO. It also doesn’t have compatibility with old browsers. At times, there are also memory leak problems in SPA. And since SPAs are loaded at the same time. At the start, they might take a lot of time to load.

## Multi-Page Application (MPA)

MPA (Multi-Page Application) is an app with multiple pages in it. It’s a traditional way of app development. E-commerce websites such as Amazon and eBay are examples of MPAs, where clicking on a product takes you to a different page. Additionally, in MPA every page is reloaded first and only then the user can read or see the content of the page. MPA also contains a huge number of HTML pages.

Moreover, it’s recommended to build MPAs if there’s not much need for client-side processing. Additionally, if you neither need high interactivity nor real-time updates, then go for MPA.

Now, what are the pros of MPAs? Well, MPAs are claimed to be best for SEO because here each page has a different URL. This means every page can be individually indexed. And due to its multiple pages, it’s far easier to do authentication and authorization. They also have faster load time because once a page is loaded fully, the user can read the content at once.

We will see later why this doesn’t happen in SPA. Now, what are the cons of MPAs? Well, its biggest disadvantage is poor user experience. Because in MPA, every page has to fully reload before the user can read the page content. Also, due to the great number of pages, more time is required to build MPAs. At times, this also leads to more bugs and errors in codes. Additionally, with more page reload requests, there’s a high load on the server.
Placeholder Contributor
Tags: hack23contributor
Published: 2023-10-21 18:59:19

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

### Intro
<!-- Share a bit about yourself as a contributor. Is this your first Hacktoberfest, or have you contributed to others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your learning or career goals changed since working on these new projects? -->
How to Install Raspberry Pi OS Lite 64-bit
Tags: raspberrypi, linux, tutorial, learning
Published: 2023-10-21 18:57:30

**Introduction:**
Raspberry Pi OS Lite 64-bit is a lightweight operating system for your Raspberry Pi. In this guide, we'll walk you through the steps to install it.

**Step 1:** Download Raspberry Pi Imager

Download and install the Raspberry Pi Imager tool from the official website.(https://www.raspberrypi.org/software/)

**Step 2:** Prepare a MicroSD Card

You'll need an 8GB or larger microSD card. Use a card reader to connect it to your computer.

**Step 3:** Open Raspberry Pi Imager

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yr4skp59z8d4cqnzn2e2.png)
Launch the Raspberry Pi Imager application.

**Step 4: Select OS**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fz4940siuspdw2mux3ow.png)
In Raspberry Pi Imager, click "CHOOSE OS" and select "Raspberry Pi OS (Other)".



**Step 5:** Select Raspberry Pi OS Lite (64-bit)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gq6rayw8t9p5h9n3nglo.png)
Scroll down and choose "Raspberry Pi OS Lite (64-bit)".

**Step 6:** Select Storage

Click "CHOOSE STORAGE" and select your microSD card.

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

**Step 7: Enable SSH (Optional)**
Press Ctrl + shift + x
select enable SSH
and safe.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gq6rayw8t9p5h9n3nglo.png)

**Step 8: Write the Image**

Click "WRITE" to start writing the Raspberry Pi OS Lite 64-bit image to the microSD card.


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

Step 9: Insert the MicroSD Card

Insert the microSD card into your Raspberry Pi.

Step 11: Power On Your Raspberry Pi

Connect your Raspberry Pi to power and let it boot up.

Step 12: Access Raspberry Pi via SSH

If SSH is enabled, log in to your Raspberry Pi from another computer
`ssh pi@ipaddress`
**default password: Raspberry**
`sudo apt update
sudo apt upgrade`
Chang New Password:`passwd newpassword`
Grocery Price Comparison App Launching on Oct 29th!
Published: 2023-10-21 18:52:29

Hi devs!

I'm Joel, co-founder and COO of Guava, a platform for crowdsourced grocery price comparisons.

We’re building a real-time grocery price comparison app. Since grocery stores typically don’t share their in-store prices, we leverage user-contributed price data and present a side-by-side price comparison of users’ grocery lists at nearby stores. This allows shoppers to make informed decisions about where to shop and maximize savings.

Our first MVP with core data collection and aggregation functionality is set to launch on October 29th, and we were hoping some of you could give us some early user feedback when that happens. If you're interested, we'd love to have you on board - send me a chat if you'd like, and feel free to check out our [website](https://www.downloadguava.com/)!