teleren/devto huggingface dataset:
MY EXPERIENCE SO FAR GOING THROUGH THE SCRIMBA COURSE #scrimba,#html,#css,#js
Published: 2023-08-28 10:58:58

  Taking the bold step to learn about the **frontend developer** course on **scrimba** was a decision I never regretted taking.
It has really been a hectic journey but I must confess it worth it because I have learnt alot. 
  The muscle works i did on the course really went a long way in improving my skills on coding coupled with the projects too that always come at the end of every section was an eye opener to polishing my newly acquired knowledge on that particular section.
  
 I started the course by first learning about **HTML**, which means Hypertext Markup Language. The HTML refers to the parts that makes up a project work or a website. This can be explained using a car which consists of the doors, lights, seats, steering as the HTML of the car.
 Another area I learnt about was the CSS aspect. CSS stands for Cascading Style sheets. It refers to the design or styling applied to a website to make it appealing to the eyes.
 I also learnt about JS(JavaScript). This simply refers to the engine that drives the website or makes it run.

 Under the HTML I learnt about some very important tags which include the following:

- _h1_ tag:<h1> </h1>
- _h3  tag:<h3> </h3>
- p_  tag:<p> </p>
- _image_ tag: <img>
- _button_ tag:<button> </button>
- _input_ tag:<input>
and so on....

Some of the CSS properties learnt include the following:

- background color
- font-size
- border
- margin
- text-align
- padding
and so on....

Coming to the JS section, we are talking about making the website interactive using the DOM (Document Object Module) method. It is added to the HTML section as this;  <script src="index.js"></script>. Under this section, I also learnt about things like; 

> addEventListener
, calling a function and so on.

 So far so good it has really been an interesting and enjoyable time learning all of these and I hope to improve more on my newly acquired skill and become a professional in it.

THANKS TO SCRIMBA FOR ITS PAINSTAKING METHOD IN TEACHING.

Click on the links below to see some of my project works:  [](https://dapper-profiterole-db2d35.netlify.app/)

[](https://startling-malasada-1d3521.netlify.app/)

[](https://grand-daifuku-fb24bd.netlify.app/)
./What_is_BASH?!.sh
Tags: bash, beginners, linux, codenewbie
Published: 2023-08-28 10:41:49

Tired of doing boring, repetitive tasks? BASH scripting is a powerful way to automate those tasks and manipulate data on Linux systems. BASH stands for Bourne Again Shell (no relation to Jason Bourne), which is a command-line interpreter that can execute commands from a file or interactively from the terminal.

![JBourne](https://media.giphy.com/media/xT0GqD5vPp1e0hkGZy/giphy.gif)

## What is a BASH script?

A BASH script is simply a file that holds a bunch of Linux commands and when you run the script it will run the commands in order from top to bottom. A bash script can also use variables, functions, loops, conditional statements, and other features to create more complex and dynamic scripts.

To create a BASH script, you need to follow these steps:

1. Create a file, you can use the extension ` .sh` but it is not necessary. Use any text editor to write your script. For example, you can use `nano`, or `vim`.

2. Start your script with a **SHEBANG** line, which tells the system what scripting language will be used to run the script. The shebang line is usually `#!/bin/bash` for BASH scripts.

![Shebangs](https://media.giphy.com/media/DPtj3FaOaENO0/giphy.gif)

3.  Fill your file with commands in the order you want them executed.

4.  To be able to run your script you must make your script executable by using the `chmod` command. For example, `chmod +x my_script.sh`. (you can also type "bash my_script.sh" to run it without getting executable permission)

5.  Run your script by typing its name or its full path in the terminal. For example, `./my_script.sh` or `/home/user/my_script.sh`. Depending where you are in your directory.

## Conclusion

Bash scripting is a useful skill that can help you automate tasks and manipulate data on Linux systems. Thanks for stopping by to read and learn some basics of BASH, check out the resources below to learn more about BASH!

## RESOURCES

Here are some great YouTube personalities/ resources to try to learn more BASH from.

1. [NETWORK CHUCK BASH SERIES](https://www.youtube.com/watch?v=SPwyp2NG-bE&list=PLIhvC56v63IKioClkSNDjW7iz-6TFvLwS) - great place to start 
2. [Shawn Powers BASH series](https://www.youtube.com/watch?v=eagmXIAKtZw) - easy to follow examples
3. [Devhints.io BASH Cheat Sheet](https://devhints.io/bash)
4. [Learn Linux TV Bash Series](https://www.youtube.com/watch?v=2733cRPudvI&list=PLT98CRl2KxKGj-VKtApD8-zCqSaN2mD4w) - Longer series than others, covers a lot with examples covering backingup and scheduling jobs
5. [Scott Simpson Linkedin Learning BASH scripting Course - MUST HAVE Linkedin Premium](https://www.linkedin.com/learning-login/share?forceAccount=false&redirect=https%3A%2F%2Fwww.linkedin.com%2Flearning%2Flearning-bash-scripting-17063287%3Ftrk%3Dshare_ent_url%26shareId%3Dwrm0cO8iQueOjNgmbAuV6g%253D%253D) - Provides Git Repo that you can fork and use Gits Codespaces to follow along!
6. [Microsoft Developer Bash for Beginners](https://youtu.be/nrfwcbYJZfc?si=MQgYy-t2z7XmVcv7)
 - Great course to start off with, also provides a Git Repo taught by @madebygps @joshduffney
Creating a Cluster, connecting and creating a database in EDB
Tags: edb, postgres, database, biganimal
Published: 2023-08-28 10:39:16

Follow below tutorial for a quick overview on how to create a cluster and connecting it to a database.

I assumed that you have already made up [EDB account](https://www.enterprisedb.com/docs/biganimal/latest/free_trial/detail/create_an_account/) follow the link for more information on creating an account in EDB. 


### Create a cluster:
Creating a cluster 
- On the overview page select **Create a new cluster**

You will be on the Create Cluster Page

- You will find options for your cluster. Select according to your requirements.

### Connecting to the new Cluster:
- Select your cluster to get an overview of how it has been configured.
- Select the overview tab and copy the command. Paste in the terminal where psql is installed. 
```
psql -W "postgres://edb_admin@p-qzwv2ns7pj.pg.biganimal.io:5432/edb_admin?sslmode=require"
```
The above command will prompt for your password and put you on a sql command line. 

#### Creating a new Database:
We will create a new sample database `employee`.
Best practice is to isolate data.

- Create a new `employee` database.
```
create user employee with password 'employee_password';
create database employee;
```

- Grant the `employee` role to edb_admin:
```
grant employee to edb_admin
```

- Connect to the employee database. You will be prompted for edb_admin password(the one you provided above)
```\connect employee```

## References:
1. https://www.postgresql.org/docs/
2. https://www.enterprisedb.com/docs/biganimal/latest/free_trial/quickstart/
Getting Started with Angular2
Published: 2023-08-28 10:33:11

As we all know that Angular 2 is much popular among the js frameworks nowadays. So today I am going to start the angular2 demo here at jsonworld. 

So lets start today angular2 from the very basic app.

### Starting with Angular2 Dependencies installation.

At first we need node.js and npm installed in our system to proceed. Then we need to install angular command line module. For that we need to run following command over terminal.

``````sudo npm i -g angular-cli``````

After completing installation from above we can check if it installed properly or not.

``````angular-cli``````The angular command line is officially tool provided by Google Angular2 team to create, manage the Angular project. It follows the best standard and code practices recommended by the Angular team.

### Install Typescript

So now move to the next step, Installation of TypeScript. So still typescript is not installed in the system then run the below command to install TypeScript.

``````sudo npm i -g typescript``````

We can check its status with below command.

``````tsc -v``````

It will return the version of the TypeScript.

### Angular2 app creation
So in the next step, for creating new app in angular2 using cli, we need to run below command that will create basic setup for angular2 applicaiton

``````ng new jsonworld-test-app``````

The above command will create a new folder name provided above in the command. This command will run **npm install** at background to install node.js related dependencies. To run the above app create go inside the newly created folder with **cd jsonworld-test-app/** and run the below command.

``````ng serve or npm start``````

Now our aim is fulfilled, angular2 basic app is created.  Now we can check the basic app by typing http://localhost:4200


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

Finally  Its works fine.

For reading the detailed document on the angular cli and basic stucture, visit the official site of angular.

**Next Demo**

In the next demo we will learn to create a static website on angular2

### Conclusion
Getting started with Angular2 is really easy using Angular command line interface.

This article is originally posted over [jsonworld](jsonworld.com)
Kepala Bergetar
Published: 2023-08-28 10:28:02


Tonton Dfm2u Malaysian Dramas Dan Malay Filem Full Episod Online. Myinfotaip Kbergetar All Episod Terkini Telefilem.
Kepala Bergetar Tonton Dfm2u Malaysian Dramas Dan Malay Filem Full Episod Free Download. Myinfotaip Kbergetar ...
[](https://mykepala.live/)
Nylas and AI: Email and Calendaring for the Future
Tags: hackathon, programming, ai, api
Published: 2023-08-28 10:25:24

Yes, we're hosting a Hackathon and you can [join today](https://nylas.devpost.com/).


![Nylas Hackathon](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tj07hu17ukh4bw2ao5ds.png)


## What do I need to do?

Just create an application using any of our SDKs (Ruby, NodeJS, Java, Python) or calling our APIs directly and any Artificial Intelligence tool of your choice (ChatGPT, Hugging Face, Midjourney).


## Are there any prizes?

Of course, here's the list for the first prize:

* $5,000 USD

* Virtual meeting with Nylas leadership

* Blog post featuring the winning submissions

And here for the 5 runner ups:

* $1,000 USD

* Virtual meeting with Nylas leadership

* Blog post featuring the winning submissions

## I just signed up, now what?!


![Create a free Nylas account](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s6fpycm4s826nzf3q5my.jpeg)

When you sign up, you will receive an started kit email with clear instructions, but, if you don't read it or your forget about it, it's critical that you create a [free Nylas account](https://dashboard.nylas.com/register?utm_source=devpost&utm_medium=hackathon&utm_campaign=devpost-hackathon-q3-23&utm_content=) (And mention that you are completing our Hackathon!), that will allow you to connect up to 10 email account.


## Can I get some inspiration?

Sure you can, just watch some of our **Coding with Nylas** livestream episodes


![Coding with Nylas](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oth7rw2ysnbezh1ksp20.png)

[How to Send an email using DearPyGUI, ChatGPT and your voice | Coding with Nylas | Episode 68](https://www.youtube.com/watch?v=xnp-7oW5cvw)

[How to use AI to generate email responses](https://www.youtube.com/watch?v=KNJWMGExt18)

[Localize your emails with ChatGPT and Python | Coding with Nylas | Episode 59](https://www.youtube.com/watch?v=00VLiNT7Tlw)

[Python, Sentiment Analysis, Streamlit, and ChatGPT | Coding with Nylas | Episode 74](https://www.youtube.com/watch?v=InxpfTtGYf0)

[Nylas + AI Events: WeAreDevelopers Recap & Upcoming Events](https://www.youtube.com/watch?v=NzXTuJzdveE)


## Last words


Just follow the foxes advise 😉

![Join Nylas Hackathon](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rs7gsv6o3t8jq3s5ngxb.png)
TIL, CSS Pseudo Classes and Elements
Tags: css, html, javascript, learning
Published: 2023-08-28 10:24:06

**Hey guy,**
I'm Esraa a front-end developer, wife, and mom.
It’s been a long time since I wrote an article so excuse me for any mistakes.

Here’s what the difference between CSS pseudo-classes VS pseudo-elements

First of all I need to know **What is a pseudo prefix reference for?** a class or an element that is not real. 
and **How?**
It's mean not in your HTML or part of your DOM.


There's examples for pseudo-classes helps to understand the difference

**Pseudo-classes:** used to target state
:hover
:active
:link
:target
:invalid
:valid


Example for **:focus, and :focus-within**


{% codepen https://codepen.io/web-dot-dev/pen/WNREoyj %}

{% codepen https://codepen.io/EsraaNasr/pen/YzdwEXz %}


For more example [Click here] (https://web.dev/learn/css/pseudo-classes/)


**Pseudo-elements:** used to target specific part of element

::before
::after
::first-letter
:first-line
::selection

**::first-letter**

{% codepen https://codepen.io/EsraaNasr/pen/ExGPwRL %}

For more example [Click here](https://web.dev/learn/css/pseudo-elements/)


and I read a useful JavaScript article about operators you can [check it out here] (https://www.freecodecamp.org/news/javascript-operators/).

So let's share our knowledge and tell me what you learned today.


Here are my social links if you would like to follow.

Github: https://github.com/EsraaNasr92/
Twitter / X: https://twitter.com/Esraa_nasr92
Instgram: https://www.instagram.com/_esraaanasr/

I hope to publish my portfolio this week. Wish me luck
FR Legends MOD APK (Version 0.3.2) – Enjoy Unlimited Money, Maps, Unlocked Cars
Published: 2023-08-28 10:09:35

"[FR Legends MOD APK](https://frlegendsapk.net/) (Version 0.3.2) – Enjoy Unlimited Money, Maps, Unlocked Cars

**Updated a Day Ago
**
Download Now
Download for PC
Additional Details (for Android)
App: FR Legends MOD APK
MOD Features: Unlimited Money, Unlocked Everything
Last Update: 1 Day Ago
Version: 0.3.2
Size: 87MB
Google Play Link: Get it on Play Store
Category: Racing
Publisher: TWIN TURBO TECH CO. LTD
Requirements: Android 4.4

**Introduction:**
FR Legends MOD APK stands as a standout racing game, captivating gamers globally. With unique features, it became widely popular. In 2022, a new version was introduced with enhanced features. Discover what's new and exciting in this version.

**Best Drifting Racing Game:**
FR Legends 2023 offers a tutorial for better gameplay understanding. The practice mode lets you hone drifting skills. Master controls to enjoy the game. Realistic drifting experience requires practice.

**Understand Drifting Laws:**
Realistic drifting laws make it challenging to control the car while drifting. Requires skill and practice. Gamers familiar with drifting mechanics have an advantage.

**Compete With AI:**
AI mode provides fair competition with computerized players. Diverse menus include Battle, Solo Run. Unlock features with payments. Damaged cars require repair payment.

**How to Play / Install:**
Install FR Legends MOD APK easily. Download the APK, locate in Android's download folder, and install.

**Why Download FR Legends MOD APK?**
Enjoy updated features and improved graphics. No ads in this version. Unlimited Money and Diamond features offer a better gaming experience.

**Customization Options:**
Customize cars with engine upgrades, turbo kits, drifting kits, and tires for improved gameplay.

**Conclusion:**
FR Legends MOD APK (Version 0.3.2) offers enhanced gameplay, unlimited features, and customization options. Ideal for drift racing enthusiasts."
Kotlin Code Smell 34 - Fragile Tests
Tags: kotlin, codesmells, cleancode, programming
Published: 2023-08-28 10:10:46

---
title: Kotlin Code Smell 34 - Fragile Tests
published: true
date: 2023-08-28 10:06:48 UTC
tags: kotlin,codesmells,cleancode,programming
canonical_url: https://yonatankarp.com/kotlin-code-smell-34-fragile-tests
---

> **TL;DR:** Steer clear of non-deterministic tests..

## Problem

- Lack of determinism

- Eroding confidence

- Time squandered

## Solution

1. Ensure that the test is fully deterministic. Eradicate any potential for unpredictable behavior.

2. Eliminate test coupling.

## Examples

The terms "Fragile," "Intermittent," "Sporadic," and "Erratic" are often used interchangeably when discussing problematic tests in many development environments.

However, such tests erode the trust developers place in their test suites.

Such tests are best avoided.

## Sample Code

### Wrong

```kotlin
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test

abstract class SetTest {

    protected abstract fun constructor(): MutableSet<String>

    @Test
    fun `test add empty`() {
        val set = constructor()
        set.add("green")
        set.add("blue")
        assertEquals("[green, blue]", set.toString())
        // This is fragile since the outcome hinges on the set's
        // ordering, which isn't predefined and can vary based on
        // the set's implementation.
    }
}

```

### Right

```kotlin
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue

abstract class SetTest {

    protected abstract fun constructor(): MutableSet<String>

    @Test
    fun `test add empty`() {
        val set = constructor()
        set.add("green")
        assertEquals("[green]", set.toString())
    }

    @Test
    fun `test entry at single entry`() {
        val set = createFromArgs("red")
        val result = set.contains("red")
        assertTrue(result)
    }
}

```

## Conclusion

Fragile tests often indicate system coupling and manifest as non-deterministic or unpredictable behaviors.

Addressing and resolving these erratic tests can drain considerable developer time and energy.

* * *

I hope you enjoyed this journey and learned something new. If you want to stay updated with my latest thoughts and ideas, feel free to register for my [**newsletter**](https://yonatankarp.com/newsletter). You can also find me on [**LinkedIn**](https://www.linkedin.com/in/yonatankarp/) or [**Twitter**](https://twitter.com/yonatan_karp). Let's stay connected and keep the conversation going!

* * *

## Credits

- [Code Smell 51 - Fragile Tests](https://maximilianocontieri.com/code-smell-52-fragile-tests) by [Maximiliano Contieri](https://hashnode.com/@mcsee)
The River Castle: An Unrivaled Haven in Naimisharanya
Tags: realestatecompany, realestateinvestment, commercialrealestateproject
Published: 2023-08-28 10:01:18


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nv7mas986yw0t3vi964y.jpg)Discover a haven like no other at [The River Castle](https://www.therivercastle.com/)—a masterpiece of tranquility nestled in the enchanting embrace of Naimisharanya. Unveil the allure of a sanctuary where dreams meld with reality, and where every moment is crafted to elevate your senses. Immerse yourself in the timeless beauty of the river, the echoes of history, and the luxury you deserve. Join us in redefining living at The River Castle—a true testament to the extraordinary.
Gmail backup tool
Tags: gmail
Published: 2023-08-28 10:00:34

A complexity-ridden Gmail backup tool becomes a cause for concern rather than becoming an ideal solution. A tool may be a full-fledged solution, but what good is a solution that poses more questions at us rather than providing answers. This problem generally stems from a complexity-ridden User Interface. It is a commonplace to find Gmail backup software that indulge users in a confusions-triggering grapevine of instructions, traversing through which is a mind-boggling chore. If you are also stuck in this quagmire, then the only way out is to entrust a simple tool with the responsibility to backup Gmail mail. And if you are ready to etch a bond with a tool that is a full-fledged email management solution with simplicity written all over it, then look no further than Mail Backup X.

## An ultra simple User Interface will become your primary guide paving way for flawless Gmail backup

You will be utterly pleased by the simplicity with which you can easily operate this tool to carry out complex email management tasks in a jiffy. Its reader-friendly User interface has completely barred any complex terminology from making its way in and pushing users down a spiral of confusions. Great effort has been put to make its UI easily comprehensible for both beginners and experts. You will find no complex terminology putting you at unease. Moreover, the given instructions to backup Gmail mail are self-explanatory in nature and easy to follow. 

## Other factors that boost simplicity

A live backup progress bar always intimating you about the current status of backup will make things even simpler. Moreover, a smart search module will assist you in finding those missing mails in a quick and effortless manner. File transfer too will be simplified by an inbuilt module that will assist you to import or export emails without any encounter with unease.

## All mail elements are left untouched fostering great ease in email management

Unlike those iffy tools that mess up the folder hierarchy or fail to retain mail elements like meta data and Unicode characters, this [Gmail backup tool](https://www.mailbackupx.com/how-to-backup-gmail-yahoo-pop-imap-mails-on-mac/) leaves all mail elements untouched  and retains them in their pristine state in the final backup. No unneeded game of jumbling the folder hierarchy is played. To state in simple words, folder hierarchy is left untouched, so that your inbox is replicated as it is in the resultant backups. 

To enjoy this simplicity and much more download its trial version
If you are already feeling a great pull towards this compelling tool, then download its free demo. It will provide you exact picture of the simplicity with which you can execute various complex data management tasks. Everything will fall into right place without much effort on your part. Results will be quick and accurate and you can take full advantage of this trial version for a period of 15 days. Isn’t this an out and out bonanza?
What advantages do Indian creators gain from participating in local NFT platforms?
Published: 2023-08-28 09:56:11

Indian creators participating in local NFT marketplaces gain significant advantages. They can showcase and monetize their digital creations, benefiting from increased exposure to a growing audience. NFTs offer creators unique opportunities for copyright protection and royalties. It ensures that they retain control over their works.

On the other hand, collectors in the Indian NFT marketplace gain access to culturally relevant and region-specific digital assets. They experience true ownership of exclusive NFTs, contributing to a sense of pride and connection to their heritage. Overall, the local [NFT Marketplace in India](https://www.jump.trade/) fosters a vibrant ecosystem, empowering both creators and collectors to thrive in the digital world.