teleren/devto huggingface dataset:
How to Deploy a WordPress Website on AWS in 5 minutes
Published: 2024-04-07 11:17:35

Get your website up and running in 5 minutes with these few steps

Let's get started!

**Step 1**

- Login to the Amazon console and Launch **Lightsail**
- Click on **Create instance**


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

**Step 2**

- Select a Region
- Select an Availability Zone


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



**Step 3**
Choose an instance image
- Select Linux/Unix as the platform.
- Select WordPress as the blueprint.


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

**Step 4**

- Choose an instance plan


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

- Specify a name for the instance
- Click on **create instance**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y5m3nsncladvnrpiujlt.png)
Our instance has been launched successfully

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

**Step 6**

- Let's connect to our instance
- Choose the **SSH quick-connect** icon for your WordPress instance.

After the browser-based SSH client window opens, 

- Enter the following command to retrieve the default application password:

`cat $HOME/bitnami_application_password`

Keep the password displayed on the screen. You use it later to sign in to the admin dashboard of your WordPress website

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

**Step 7**

- Let's sign in to the admin console of WordPress
- Copy the link below to a web browser

```
http://PublicIpAddress/wp-login.php
```
Replace **PublicIpAddress** with the **public IP address** of your WordPress instance.

- In the username field enter **"user"**
- In the Password field, enter the default password obtained earlier then login

**Viola!**

You are now signed in to the administration dashboard of your WordPress website where you can perform administrative actions.


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

Now the Wordpress site is fully deployed. You can install plugins like Elementor to start building your website.
command for show the table and columns and values
Published: 2024-04-07 11:04:05

To view a PostgreSQL table in Visual Studio Code (VSCode), you can use the PostgreSQL extension. Here's a step-by-step guide:

1. Install the PostgreSQL extension for VSCode from the Visual Studio Marketplace.
2. Open VSCode and connect to your PostgreSQL database by opening the Command Palette (Ctrl + Shift + P) and selecting 'PostgreSQL: New Query'.
3. Create a new connection profile by following the prompts to enter your PostgreSQL instance's hostname, database, username, and password.
4. Once connected, you can write a query to view the table data. For example, to view all data from a table named `Books`, you would write:
   ```sql
   SELECT * FROM Books;
   ```
5. Execute the query by right-clicking and selecting 'Execute Query'. The results will be displayed in a new tab within VSCode.

You can also explore the tables using the database explorer feature provided by the extension¹²³⁴⁵. Remember to replace placeholder text with your actual database details.


in vscode after this line we should right click and insert rub query 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dvs9zicxwnxzjwzgsz5i.png)
Breathe Easy: The Benefits of Choosing Cotton Night Dresses for Women
Published: 2024-04-07 10:55:16

When it comes to bedtime comfort, cotton night dresses for women are a game-changer. Let's dive into why opting for cotton night dresses can make a world of difference in your sleep routine, allowing you to breathe easy and enjoy a peaceful night's rest.

First and foremost, cotton is renowned for its breathability. Unlike synthetic fabrics that trap heat and moisture, cotton allows air to circulate freely, keeping you cool and comfortable throughout the night. Say goodbye to sweaty, restless nights and hello to uninterrupted sleep with the breathable properties of [cotton night dresses](https://www.jaipuriadaah.com/collections/night-wear).

Another benefit of Cotton night wear is their softness against the skin. Made from natural cotton fibers, these dresses offer a gentle touch that feels luxurious and soothing. Whether you have sensitive skin or simply appreciate the comfort of soft fabrics, cotton night dresses provide a cozy embrace that helps you drift off into dreamland with ease.

But the benefits of cotton night dresses don't end there. They're also incredibly easy to care for, making them a practical choice for busy women. Cotton fabric is durable and machine washable, ensuring that your favorite night dresses maintain their quality and shape wash after wash. Plus, they dry quickly, so you can have them ready to wear again in no time.

In addition to their comfort and practicality, cotton night dresses come in a variety of styles to suit every taste and preference. Whether you prefer a simple and understated look or something with a bit more flair, there's a cotton night dress out there for you. From classic designs to trendy prints, you can express your personal style even as you unwind for the night.

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

In conclusion, choosing cotton night dresses for women offers a multitude of benefits, from breathability and softness to ease of care and style versatility. So why wait? Treat yourself to the ultimate in bedtime comfort and experience the joy of breathing easy in a luxurious cotton night dress.
update
Published: 2024-04-07 10:45:17

Certainly! Let's say you run a bookstore and you want to update the price of the book 'The Great Gatsby' because it's currently out of stock and you're planning to order a new edition that costs more. Here's how you could use the SQL `UPDATE` statement to change the price in your `Books` table:

```sql
UPDATE Books
SET Price = 12.99, InStock = TRUE
WHERE BookID = 3;
```

This code will set the price of 'The Great Gatsby' to $12.99 and update its stock status to `TRUE`, indicating that it's back in stock. Remember to replace `table_name`, `column1`, `value1`, etc., with the actual table name and column names/values you're working with in your database.
4 Must-Visit Websites for Software Engineers
Tags: softwareengineering, productivity, tips, webdev
Published: 2024-04-07 10:42:48

Are you a software engineer seeking to boost your skills and efficiency? Check out these four must-visit websites:

## 1. [30 Seconds of Code](https://www.30secondsofcode.org/) 💻

Access quick code snippets across various languages and concepts for faster coding.

## 2. [Coolors](https://coolors.co/) 🎨

Easily generate attractive color palettes for your applications, eliminating the need for trial and error.

## 3. [Envato Tuts+](https://tutsplus.com/) 📚

Explore thousands of free tutorials covering all levels of coding, from beginner basics to advanced techniques.

### 4. [OverAPI](https://overapi.com/) 📝

Find cheat sheets for multiple programming languages and frameworks to streamline your coding process.
Public Speaking Monthly Challenge: Check-in!
Tags: publicspeaking, discuss
Published: 2024-04-07 10:37:44

---
title: Public Speaking Monthly Challenge: Check-in!
published: true
description: Public Speaking is a great way to practice your communication skills. Join Virtual Coffee in their public speaking monthly challenge!
tags: publicspeaking, discuss
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7u4wo1pru5qle7jj67of.png
# Use a ratio of 100:42 for best results.
# published_at: 2024-03-28 15:39 +0000
series: public speaking
---
If you're following along with our challenge, let's take a look at what we're doing in the first two weeks:

## Week One: Building Confidence and Your Topic

### Building Confidence

- **Challenge**: Identify and challenge negative thoughts about public speaking.
- **Activity**: Record yourself delivering a short introduction and watch it back to identify areas for improvement (optional).


### Topic Selection and Outline

- **Step one**: Create a list of 5-10 topics you're passionate about or that you want to learn more about.
- **Step two**: Create a rough outline of 2-3 from the list.

## Week Two: Crafting Your Content

- **Challenge**: Finalize your topic and develop a clear, concise message.
- **Activity**: Draft an outline for your talk, including an introduction, main points, and conclusion.

What challenges do you need to overcome in public speaking? What topics are you interested in sharing? What does your outline look like?
Need Help with a project.
Tags: javascript, node, help
Published: 2024-04-07 10:19:22

I am working on a Api where in a certain time i have to use the Twilio Api to send a sms to a user. my api server is running on my localhost, and i have to use my cellular network because of my location i don't have access to wifi. 
the problem is when i am using cellular network i can't make the twilio request but whenever i am connected to wifi it works just fine. I know cellular networks can't do good dns resolutions and blocks https so how can i solve it..
W MB Commerce: Your Source for Versatile Cleaning Solutions
Tags: wmbcommerce
Published: 2024-04-07 10:08:40

W MB Commerce is your one-stop destination for premium cleaning products that tackle tough messes quickly. From multi-purpose cleaning paste to the renowned Selsil cleaning paste, we offer diverse solutions to meet your cleaning needs.

Versatility at Its Best: Multi-Purpose Cleaning Paste

Discover the power of versatility with our [multi-purpose cleaning paste](https://wmbshopping.com/products/multi-purpose-cleaning-paste-500g). Specially formulated to tackle a wide range of cleaning tasks, this all-in-one solution effortlessly removes stubborn stains, grease, grime, and more from various surfaces. Whether it's kitchen countertops, bathroom tiles, or outdoor patio furniture, our multi-purpose cleaning paste delivers exceptional results, leaving surfaces sparkling clean and refreshed.

Experience Superior Cleaning with Selsil Cleaning Paste

Elevate your cleaning routine with the exceptional performance of Selsil cleaning paste. Trusted by households worldwide, Selsil offers a powerful yet gentle formula that effectively cleans and polishes various surfaces. From stainless steel appliances to ceramic sinks, [Selsil cleaning paste](https://wmbshopping.com/products/multi-purpose-cleaning-paste-500g) leaves surfaces gleaming without scratching or damaging delicate finishes. Say goodbye to the stubborn residue and hello to a pristine shine with Selsil cleaning paste from W MB Commerce.

Conclusion: Trust [W MB Commerce](https://wmbshopping.com/products/multi-purpose-cleaning-paste-500g) for Quality Cleaning Solutions
In conclusion, W MB Commerce is committed to providing high-quality cleaning solutions to simplify and enhance your cleaning routine. Whether tackling tough stains or seeking gentle yet effective cleaning products, our multi-purpose cleaning paste and Selsil cleaning paste have you covered. Trust in W MB Commerce to deliver superior cleaning performance and exceptional results every time.
pip Trends newsletter - 06-Apr-2024
Tags: webdev, python, programming, machinelearning
Published: 2024-04-07 09:58:59

This week's pip Trends newsletter is out. Interesting stuff by Ashish M J, Grig Duta, Björn Ricks, Ashok Tankala, Leodanis Pozo Ramos, Arjan, Nanda Gopal Pattanayak & Tushar Aggarwal are covered this week

{% embed https://newsletter.piptrends.com/p/implementing-grpc-in-python-ashish %}
insert data to table
Published: 2024-04-07 09:57:18

```sql
INSERT INTO Books 

(column_one, column_two, column_three, column_four)
VALUES (value1, value2, value3, value4); 
```

Certainly! Here's how you can insert practical and real-world data into the `Books` table using the correct column names and corresponding values:

```sql
INSERT INTO Books (BookID, Title, Author, ISBN, Price, InStock)
VALUES (1, '1984', 'George Orwell', '9780451524935', 8.99, TRUE),
       (2, 'To Kill a Mockingbird', 'Harper Lee', '9780060935467', 7.99, TRUE),
       (3, 'The Great Gatsby', 'F. Scott Fitzgerald', '9780743273565', 9.99, FALSE),
       (4, 'Pride and Prejudice', 'Jane Austen', '9781986431484', 6.99, TRUE),
       (5, 'The Catcher in the Rye', 'J.D. Salinger', '9780316769488', 10.99, TRUE);
```

This SQL command inserts five rows into the `Books` table, each representing a book with a unique `BookID`, and includes the `Title`, `Author`, `ISBN`, `Price`, and `InStock` status for each book. The `InStock` column is a boolean, where `TRUE` indicates that the book is available and `FALSE` indicates it is not.
Testhouse Expands Global Footprint with New Office Launch in Saudi Arabia
Tags: saudiarabia, office, testhouse, testing
Published: 2024-04-07 09:47:55

Riyadh, Saudi Arabia – Testhouse, the renowned UK-based Quality Engineering Solutions Company, has announced a significant milestone in its expansion strategy with the opening of a new office in Riyadh, Saudi Arabia. This strategic move underscores Testhouse’s commitment to better serve the burgeoning market in the Kingdom, aligning closely with Saudi Arabia’s ambitious Vision 2030 objectives.

The inauguration of the new facility in Riyadh marks Testhouse’s establishment as a key player in the region, poised to cater to the evolving needs of Saudi Arabia and its neighbouring Gulf Cooperation Council (GCC) countries. With this centrally located hub, Testhouse aims to deliver its comprehensive suite of software testing services to support the rapid growth and digital transformation underway across the region.

Ani Gopinath, CEO of Testhouse, expressed enthusiasm about the company’s expansion into Saudi Arabia, recognizing the Kingdom’s pivotal role as an economic powerhouse and its ambitious development agenda. He remarked, “Saudi Arabia represents an important growth market for our company, driven by its thriving economy and visionary initiatives. We are eager to collaborate with local enterprises and contribute to the realization of Vision 2030, leveraging our expertise to foster innovation and excellence.”

The establishment of Testhouse’s presence in Riyadh not only signifies a strategic business move but also underscores the company’s commitment to nurturing partnerships, fostering talents and driving technological advancement and transformations in the region. With a focus on world class quality engineering solutions, Testhouse aims to empower organizations in Saudi Arabia and the GCC to achieve greater efficiency, reliability and competitiveness in an increasingly digital landscape.

Through collaboration, innovation and unwavering dedication to excellence, Testhouse looks forward to contributing significantly to the realization of Saudi Arabia’s Vision 2030 goals and beyond.

About the Company – Founded in 2000, Testhouse is a global Digital Assurance and Automation company headquartered in London, UK. The company serves clients across the United States, United Kingdom, Australia, Europe and the Middle East, delivering expertise to industries such as Banking, Payments, Manufacturing, Healthcare, Retail, Travel, Media and Entertainment.

Testhouse, Kingdom of Saudi Arabia
7327, Abdulsamad IBN Muhammad Street, Al Ezdihar Dist., Postal Code-12486, Riyadh
create table SQL
Published: 2024-04-07 09:47:23

Certainly! Let's take a practical example of a database for a bookstore. We'll create a table to store information about books. Here's how the SQL code might look:

```sql
CREATE TABLE Books (
    BookID INT,
    Title VARCHAR(100),
    Author VARCHAR(100),
    ISBN VARCHAR(13),
    Price DECIMAL(5,2),
    InStock BOOLEAN
);
```

In this `Books` table:
- `BookID` is an integer that uniquely identifies each book.
- `Title` is a variable character string that can store book titles up to 100 characters.
- `Author` is a variable character string for the name of the author, also up to 100 characters.
- `ISBN` is the International Standard Book Number, a unique code for books.
- `Price` is a decimal value that represents the cost of the book, with two digits after the decimal point.
- `InStock` is a boolean value indicating whether the book is currently in stock (true or false).

This table structure allows the bookstore to keep track of their inventory and book details efficiently.
Testhouse excels in Quality Engineering, Secures Multiple Global Awards
Tags: awards, testing, qualityengineering
Published: 2024-04-07 09:46:24

esthouse, a distinguished leader in software testing and quality assurance, proudly announces its recent triumphs. The company has been honoured with four global prestigious awards, recognizing its outstanding contributions to the software testing industry.

The accolades recognize Testhouse for its unwavering commitment to excellence in quality engineering and innovation. The awards specifically acknowledge the company’s dedication to ensuring robust, reliable, and high-performance software solutions for its clients and the team’s commitment to excellence and continuous improvement.
Testhouse was bestowed with the Best Independent Technology-Agnostic Software Company 2023 – UK (Global Business Award), Best Software Quality Assurance Company 2023 (Technology Innovator Award), Best Global Software Quality Engineering Company (MAE Awards) and Emerging Technology in Testing of the Year 2023 (UNICOM Awards).

“We are elated and honoured to receive these prestigious awards, which validate our tireless efforts in providing top-notch software testing and quality assurance services,” said Ani Gopinath, CEO of Testhouse. “This recognition is a testament to the expertise and commitment of our talented team, who consistently go above and beyond to ensure the highest standards in software quality.”

Testhouse has consistently demonstrated leadership in the Quality Engineering industry and these awards underscore the company’s position as a trailblazer in innovation and digital assurance. The recognition also signifies its continuous endeavours to surpass customer expectations, foster positive transformations and play a role in the progress and development of the software industry.

As Testhouse celebrates these recent achievements, it remains focused on its mission to provide the most innovative and efficient quality engineering solutions to its clients, continuing to raise the bar for excellence in the industry. The company is grateful to its clients, employees, partners and other stakeholders for their ongoing support and collaboration.
How to Connect MPU9250 and Raspberry Pi (Part 2 - Calibration)
Tags: raspberrypi, python, beginners, programming
Published: 2024-04-07 09:44:28

{% embed https://www.youtube.com/watch?v=gVnbsee3QDM %}

Learn how to calibrate the MPU9250 in Python with the Raspberry Pi to get more accurate acceleration and gyroscopic values. We walk through a simple calibration technique conceptually and on the code level.

Before reading the remainder, be sure to subscribe and support the channel if you have not!

Subscribe:
[Youtube](https://www.youtube.com/watch?v=gVnbsee3QDM)

Support:
[https://www.buymeacoffee.com/mmshilleh](https://www.buymeacoffee.com/mmshilleh)

Hire me at UpWork to build your IoT projects:
[https://www.upwork.com/freelancers/~017060e77e9d8a1157](https://www.upwork.com/freelancers/~017060e77e9d8a1157)

You can Watch Part 1 Here:
{% embed https://www.youtube.com/watch?v=vZ7yVSyqYRo&t=0s %}


**Full Code on GitHub Page**

[https://github.com/shillehbean/youtube-p2/blob/main/mpu9250-calibrate.py](https://github.com/shillehbean/youtube-p2/blob/main/mpu9250-calibrate.py)
Benefits of Walking
Tags: productivity, beginners, healthtip, discuss
Published: 2024-04-07 09:34:24

1. Helps in weight-loss
2. Improves heart health
3. Reduces chronic diseases
4. Decreases diabetes risk
5. Lowers blood pressure
6. Improves mood
7. Boosts Immunity
8. Speeds up digestion
9. Increases lung capacity
10. Reduces Stress
11. One of the easiest ways to get active
12. Doesn't require special equipment
13. Walking strengthens bones and muscles
14. Improves balance and coordination
15. Walking encourages other forms of exercise
16. It can boost your energy and enthusiasm

Now, that you know some other advantages of walking !!!
**So, make sure to count how many steps you cover in a day and let me know in the comments**

Remember, health always comes first before coding 😉👀

_Thanks for reading🥰.
Feel free to comment🖌️ and like the post💓
Follow for more 🤝 && Happy Coding🚀👩‍💻_

If you enjoy my content, support me by following me on my other socials:
https://linktr.ee/tanujav7
How To Create Packages And Subpackages In Python
Tags: webdev, python, beginners, programming
Published: 2024-04-07 08:58:34

Python enables you to organize your code into packages and subpackages, offering a structured approach to managing your project's modules. Packages consist of directories that contain Python modules and a special `__init__.py` file, whereas subpackages are packages within other packages. 

Follow these steps to create packages and subpackages in Python:

**Step 1: Create Your Project Directory Structure**
You need to first decide on a directory structure for your project. Typically, your project directory should contain your main Python scripts, along with directories for packages and subpackages. For example:

```
project/
│
├── main.py
│
└── my_package/
    ├── __init__.py
    ├── module1.py
    ├── module2.py
    └── subpackage/
        ├── __init__.py
        ├── submodule1.py
        └── submodule2.py
```

**Step 2: Create The Package Directory**
In your project directory, create a directory for your package. This directory will contain the Python modules that make up your package.

```
mkdir my_package
```
**Step 3: Create The `__init__.py` File**
Inside the package directory, create a file named __init__.py. This file can be empty or contain initialization code for your package.

```
touch my_package/__init__.py
```

**Step 4: Create Python Modules**
Create Python modules inside your package directory. These modules will contain the code for your package's functionality. You can create as many modules as needed.

```
touch my_package/module1.py
touch my_package/module2.py
```

**Step 5: Create Subpackages**
If you want to create subpackages within your package, repeat steps 2-4 inside the package directory to create subdirectories and subpackage modules.

```
mkdir my_package/subpackage
touch my_package/subpackage/__init__.py
touch my_package/subpackage/submodule1.py
touch my_package/subpackage/submodule2.py
```

**Step 6: Write Your Python Code**
Write the code for your modules and submodules. You can define functions, classes, and other objects within these modules to implement your package's functionality.

**Step 7: Import Your Package**
Import your package and its modules/submodules in your Python scripts or interactive sessions using the `import` statement.

```
import my_package.module1
from my_package.subpackage import submodule1
```

**Step 8: Use Your Package**
Once imported, you can use the functions, classes, and other objects defined in your package's modules/submodules in your Python code.

```
my_package.module1.function1()
submodule1.function2()
```

That's it! You've successfully created packages and subpackages in Python. Organizing your code in this way can help improve readability, maintainability, and reusability in your projects.
Manipulating dates in Typescript
Tags: typescript, webdev, tutorial
Published: 2024-04-07 09:28:48

The correct way to subtract or add dates when using Typescript

```ts
const diff = new Date().valueOf() - date.valueOf();
```

`valueOf` gives you the date as number which satisfies Typescript.

Doing the following produces a warning

```ts
const diff = new Date() - date;
// Error: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.ts(2362)
```