teleren/devto huggingface dataset:
Basics Terminal Command Every Web Developer Should Know.
Tags: webdev, terminal, freelance, programming
Published: 2023-09-28 13:52:59

- Home Directory `~`

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

- See all files in the current Directory `ls`

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


- See in which Directory you are currently now `pwd`


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

- Clear Console `clear`

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

## Navigation Commands

- Change Directory `cd`

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

- Traverse back to Directory `cd ..`

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

## Root Vs Home Directory

- Root Directory `/`

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

- Home Directory `~`

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

##  Absolute vs Relative Path

- Absolute

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

- Relative Path

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

## Create a new Directory

- `mkdir dir`

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

## Flags
Flags are the additional command embedded with the commands to show more in the directory (Hidden folders/files)

- `ls -l`

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

- `ls -a`

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

## Create a New file

- `touch filename`

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

## Delete Files/Folders

- Delete files `rm - filename`

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

## Delete Folders

- Empty Folder

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

- Folder with files 

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

I am a Web Developer & enjoy working on challenging projects, which is what makes this job so rewarding. You can reach out to my [My Portfolio Site](https://gauravweb.dev/). I hope this article will helpful
How to speed your site on Blogger
Tags: webdev
Published: 2023-09-28 13:25:10

To speed up your website hosted on blogger is now easy with just few toggling on the blogger platform. Images can be resized and avoid too much photos on your post . A faster website can improve your traffic as many similar information would already be on the web by other sites. So if your site is faster you have more chances of web visitors choosing your site.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8mmw4crsd89gs0awodex.jpeg)

Very interesting that the google platform has realized the importance of doing things to help people provide the best. If you are using blogger for web hosting and management services you know what am talking about here. Go to your blogger and on the left panel choose setting and scroll down. You will see the options on toggle as shown on the pic in this article. Here just enable them and you are done with your first step to speeding up your site. 
For example I managed to implement the lazy loading and webp photos in my [Je Phiri](www.jephiri.com) site. Can you say it has improved the load time of the posts? Please I need your feedback
How to create a Chrome extension full sidebar?
Tags: javascript, beginners, coding, frontend
Published: 2023-09-28 13:19:46

👋 Hi

I'm new to coding. I'm a product designer starting to learn to code to help me build my ideas come to life. 

I am practicing building a Chrome extension. I'm not getting anywhere, tried to ask on X too but had no luck finding the answer to this question. 

How do you create a Chrome extension full sidebar? Just like the attached image (an example)? What do I need to do?

I appreciate the good souls! :)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dobadftel4h9tcdr0azh.png)
Go Hacktoberfest Issues
Tags: go, hacktoberfest, hacktoberfest23, opensource
Published: 2023-09-28 13:05:54

**We rolled out our first batch of issues on GitHub. And we offer swag to the best contributors.**

Our issues are related to the following topics:
- Golang
- Node.js
- NestJS
- Typescript
- Prisma

Check out the repository at the link below:
- **[https://github.com/dyrector-io/dyrectorio](https://github.com/dyrector-io/dyrectorio)**

More issues are in the works.

Last year we sent one of our contributors a swag pack with a hat and a bunch of stickers, as seen below. This year we plan to ship to certain parts of Europe (we're located in Hungary) but we're happy to meet up with our contributors in case they visit KubeCon Europe, Web Summit and other conferences we usually attend and give you your swag pack in person.

![dyrector.io swag pack](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s32mpua2ibg7my26u39c.jpg)
Organize Your Godot Exports with export_category in Godot 4
Tags: godot, gamedev, beginners
Published: 2023-09-28 13:00:00

Have you ever wondered how to neatly categorize your exported variables in Godot? The answer lies in the `export_category` keyword, a fantastic new feature introduced in Godot 4. It allows you to group your exported variables, maintaining organization and tidiness in your scripts.

## YouTube
{% youtube _L2rIhp7Vso %}

**How to Use export_category:**

It's remarkably simple. Just place `@export_category("YourCategoryName")` before the `@export` keyword. For instance, if you're working on a player script and want to create a category called "Movement," it's as easy as:

```gdscript
@export_category("Movement")
@export var speed = 10
@export var jump_height = 5
```

With this, you'll have a "Movement" category neatly displayed in your inspector, containing all related exported variables. To add more categories, simply place `@export_category` above your desired exported variables.

```gdscript
@export_category("Player Info")
@export var name = "Bit Of Code"
```

**Why Use export_category:**

- Keep your projects organized, even with numerous exported variables.
- Enhance script readability and maintainability.
- Simplify tweaking and fine-tuning during development.

**Conclusion:**

I hope you found this tutorial helpful and discovered a new way to organize your Godot projects. If you did, please give it a like and if you prefer a video version watch the short to better understand `export_category`
Redux Toolkit Implementation In Next.Js 13 App Router
Tags: redux, nextjs
Published: 2023-09-28 12:59:38


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3zvgbn9anum1zx0kwb4h.png)
Implementing redux in next.js 13 is very easy.

```
import { createSlice } from "@reduxjs/toolkit";

const initialState = {
  isLoggedIn: false,
  user: null,
};

export const userSlice = createSlice({
  name: "user",
  initialState,
  reducers: {
    login: (state, action) => {
      state.isLoggedIn = true;
      state.user = action.payload;
    },
    logout: (state) => {
      state.isLoggedIn = false;
      state.user = null;
    },
  },
});

export const { login, logout } = userSlice.actions;
export default userSlice.reducer;
```

```
import { configureStore } from "@reduxjs/toolkit";
import userReducer from "./slices/user";

export const store = configureStore({
  reducer: {
    user: userReducer,
  },
});
```
For complete source code visit : [https://freecodez.com/post/tez2igk](https://freecodez.com/post/tez2igk)

Thank You!
Creating Simple Tooltips with Pure CSS as a Beginner
Tags: webdev, css, html, beginners
Published: 2023-09-28 12:46:31

Tooltips are a common UI element that provide additional information when users hover over an element. They are often used to clarify the purpose of buttons or icons.

In this tutorial, we will create a simple tooltip using only HTML and CSS. While tooltips can also be created using JavaScript, this tutorial focuses on a pure CSS approach to keep things simple for beginners.

## HTML Structure

Let's start by looking at the HTML structure we'll use to create our tooltip:

```html
<div class="tooltip">
    <label class="text">Tooltip</label>
    <button>Hover Me</button>
</div>
```
We have a `<div>` element with the class "tooltip" containing two child elements: 

- A `<label>` with the class "text" (this will be our tooltip content)

- A`<button>` element (the element we'll hover over to trigger the tooltip). 

## CSS Styling

Main .tooltip should have a position property.

```css
.tooltip {
    position: relative;
}
```

This is the styling for the actual tooltip that appears after hovering. If you want, you can change the background-color property or add a border, box-shadow, etc.

```css
.tooltip .text {
    visibility: hidden;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    padding: 5px 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    top: -40px;
    font-size: 12px;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
```

Then we use the ::after psuedo selector in CSS to create an arrow for the tooltip. Both ::after and :after will work.

```css
.tooltip .text::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #000000;
    position: absolute;
    bottom: -10px;
}
```

Finally, we make the text visible when the .tooltip is hovered over use :hover psuedo-class.

```css
.tooltip:hover .text {
    visibility: visible;
}
```

And there you have it! We've created a simple tooltip using pure CSS and HTML.

Certainly, here's an improved and more professional version of the statement:

We can enhance the functionality of this tooltip using JavaScript in several ways, such as automatically detecting screen edges and adjusting the tooltip's position accordingly.

We can optimize the HTML structure by defining the tooltip text within the HTML element as a data attribute, eliminating the need for additional HTML elements and so on.

I'll post it as a separate article.

Also, check out my [CSS Tooltip Generator](https://codervortex.com/generator/tooltip), which will be helpful if you are a beginner.
Set up Prod and Dev environments of Database
Published: 2023-09-28 12:53:23

- These days I have finished the primary logic of the backend and run it successfully. I launched a local Postgres instance via Docker, and the Nest project writes and reads data from it using Prisma. all things run smoothly locally.
- But about 2 days ago, I tried to deploy the whole project. As for the database, I chose ** Supabase **. And the Nest project, I want to deploy it on Vercel. 
- **How to sync my database migration to Supabase ?** 
- **What is the command like?**

## These issues are worth documenting

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t4ydhpx5q3zoewy1rdnh.png)
LeetCode - Solution for 2723. Add Two Promises
Tags: leetcode, typescript, javascript, webdev
Published: 2023-09-28 12:52:24

The first attempt:
```
type P = Promise<number>

async function addTwoPromises(promise1: P, promise2: P): P {
    return (await Promise.all([promise1, promise2])).reduce((a: number, b: number) => {
        return a + b;
    }, 0);
};
```
App design ประหลาดๆ
Tags: designsystem, analyst
Published: 2023-09-28 12:41:20

สิ่งหนึ่งที่อยากจะบอกคนที่มีหน้าที่ design งานมาให้ developer เขียน ซึ่งส่วนตัว อยากจะตั้งคำถามทุกครั้งว่า ทำไมต้องมีคนคนนี้ วันนี้จะมาเล่า design แปลกๆคือเรื่องของ file
ผมไม่รู้ว่าคนออกแบบอายุเท่าไร แต่เห็นตอนปี 2023 แล้วเหมือนย้อนอดีต คือเขาออกแบบให้ไฟล์อยู่ใน sftp server แล้ว process ของ API คือมันเป็น batch แต่ trigger ผ่าน API
เมื่อมีการ call API ขั้นตอนคือจะไป list ชื่อไฟล์มา
จากนั้นจะต้องตรวจชื่อไฟล์ก่อนว่าตั้งชื่อถูกระเบียบหรือไม่
จากนั้นไปเปิดเนื้อไฟล์ โดยลักษณะของไฟล์จะมีข้อมูลคั่นด้วย `|`
แต่ว่า มีรูปแบบแตกต่างกัน 4 รูปแบบ

ที่ผมไม่ชอบเลยในการออกแบบนี้เลยคือ

1. ไฟล์พวกนี้นามสกุล .txt แต่เนื้อในเป็น psv
2. psv ในนั้นมีหน้าตาที่แตกต่างกันได้ 4 รูปแบบ
3. ไม่มี header

ผมคิดว่าคนออกแบบไม่น่าจะเขียนโค้ดได้ดี หรือเขียนมาน้อยมาก จนไม่เข้าใจว่า พอออกแบบมาแบบนี้ ผมไม่รู่้จะนิยามไฟล์แบบนี้ว่าเป็นอะไร และไม่สามารถจะใช้ lib อะไรในโลกมา parse มันออกมาได้เลย

สิ่งนี้มันย้อนอดีตไปสมัยที่เราไปเจอ SOAP service ที่ออกแบบมาแบบประหลาดๆ ถ้าใครเกิดทันน่าจะพอเคยเจอมาบ้าง

อยากเรียกร้องให้เลือกใช้บริการคนที่เขียนโค้ดไม่เป็นมานั่งออกแบบงานให้ developer จัง มันไม่ make any senses ทุกครั้งจริงๆ
What are the Benefits of publishing in an ABCD Index approved journal?
Tags: webdev, research
Published: 2023-09-28 12:38:01

Publishing in an **[ABCD index approved journal](https://abcdindex.com/blogs/scopus-database-list-of-journals)** can have several benefits, including: 

**Discoverability:** Publishing in journals can give your work greater visibility and make it easier for others to find and cite your research 

**Contributing to the records of research in the field:** By publishing in a reputable journal, you are contributing to the body of knowledge in your field and helping to advance research

**The benefits of peer review:** Many **[ABCD index approved journals](https://abcdindex.com/blogs/scopus-indexed-journals-in-india)** have a rigorous peer review process, which can help to ensure the quality and accuracy of your research 

**Dissemination and impact**: Publishing in a well-respected journal can help to increase the impact of your research and make it more widely known 

**Career advancement**: **[Publishing in high-quality journals](https://abcdindex.com/blogs/how-to-publish-a-research-paper-in-ugc-approved-journal)** can be an important factor in advancing your academic career, as it demonstrates your expertise and contributions to the field 

**Preventing duplication of effort**: By publishing your **[research in a journal](https://abcdindex.com/blogs/best-research-paper-publishing-sites)**, you are making it publicly available and helping to prevent others from duplicating your work 

Overall, publishing in an **[ABCD index approved journal](https://abcdindex.com/blogs/scopus-indexed-monthly-journals-in-computer-science-with-low-cost)** can help to increase the visibility and impact of your research, contribute to the advancement of your field, and enhance your academic career.
How to Download research papers for ABCD Index online
Tags: webdev, research
Published: 2023-09-28 12:11:10

ABCD index provides **[research databases](https://abcdindex.com/blogs/how-to-publish-research-paper-in-international-journal-free)** related to all fields. One can find and download the research and academic database easily. The quality of research papers and articles here are the top most because they avoid **[conference papers](https://abcdindex.com/blogs/upcoming-conference-for-paper-publication)** and only provide research papers and articles published in the journals that are indexed in the top indexing sites like [scopus](https://abcdindex.com/blogs/scopus-journal-list), **[web of science](https://abcdindex.com/blogs/web-of-science-journal-search)**, ABCD Index etc. so it ensures the quality of the papers here is definitely best. 
 

**How to download research papers for **[ABCD Index](https://abcdindex.com/blogs/web-of-science-journal-list)**
**
Finding research papers at ABCD Index is very easy. one can follow the steps to find research papers or articles at the ABCD Index. They are as follows:

Firstly go to the **[ABCD index homepage](https://abcdindex.com/blogs/how-to-check-scopus-indexed-journals)** and find the search bar.

Select **[articles](https://abcdindex.com/blogs/research-paper-download-free)** from the drop down list of search bar.

Write a keyword related to your field or domain then click on the search button.

A default list of articles would be on the screen.

One can also apply filters given at the left side of the window as per their requirement.

If you want research papers related to a particular country then go to filter and type the country name from which you want research papers.

If you want to see [papers published](https://abcdindex.com/blogs/abcd-journal-list) in a particular year then select the year then click on the search button. A list of papers published in that year would be on screen.

One can also look for databases from a specific time period. For example if you want to find a research database from 2000 – 2010 then select the range of the year from the filter section then click on the search button. The list of [research databases]() from the given range would be on your screen.
Maximizing Your Digital Presence: Makclan Digital's Comprehensive Social Media Solutions"
Tags: career, design, chatgpt, writing
Published: 2023-09-28 12:01:50

In the dynamic world of Social Media, Makclan Digital is your trusted partner for comprehensive solutions. Our Social Media Management strategies go beyond mere posting; we tailor them to your brand's audience and objectives, focusing on communication, visual appeal, and data-driven analysis.
With Social Media Marketing, we harness the potential of platforms like Facebook, LinkedIn, Twitter, and more to grow your business, aligning strategies with specific goals and ensuring a solid ROI.
Influencer Marketing, an area where authenticity prevails, is our forte. We connect your brand with influential figures to deliver persuasive, conversational messages.
Social Media Optimization boosts brand reach and customer loyalty through precise targeting and emerging hashtags.
Online Reputation Management safeguards your brand from negativity, leveraging a team of professionals to protect your online image and maintain trust.
https://www.makclandigital.com/social-media-management/
Apex v2.0 Released with Chat GPT Integration
Tags: php, framework, repository, management
Published: 2023-09-28 12:00:34


After a substantial amount of time and resources, Apex v2.0 is released, an open source PHP based framework with built-in development network, CI pipeline, and version control system.  Keeping it simple, links are below.

Main Site:  https://apexpl.io/

Announcement:  https://apexpl.io/blog/apex_v2_released

Training Program:  https://apexpl.io/training/

Developer Documentation:  https://apexpl.io/docs/

Demo Admin Panel:  https://demo.apexpl.io/admin/

Earn Money:  https://apexpl.io/about/earn_money

Reddit for Support:  https://reddit.com/r/apexpl/

Chat GPT Info:  https://apexpl.io/docs/gpt/

Been a long journey, but pretty proud of myself especially considering I can't even see the computer screen anymore.  Any questions or feedback, feel free to drop a reply.

Huge shout out to Digital Ocean for supporting Apex through this journey.  Without question, best cloud hosting provider on the internet.  If you're ever in need of cloud hosting, definitely go with DO.
How are Headless CMS website builds going?
Tags: webdev, cms, jamstack, website
Published: 2023-09-28 11:59:10

We've built a new Headless CMS called [Contento](https://www.contento.io/) which is the only Headless CMS focused 100% on websites. This simple assumption makes a huge difference in terms of feature set, workflows, UI, product roadmap etc. 

Pretty much all the others are omnichannel or "head agnostic" - after all the key point of Headless is that the content can be fed to multiple heads via an API. However, the benefits of Headless for websites is significant (even if you don't need to send content to multiple heads).

The Dev dependency for a Headless / Jamstack site build is high but based on several conversations we've had with agencies they are struggling a little. Moving from churning out traditional CMS based sites like WordPress to the more bespoke world of Headless seems a major jump that is throwing up lots of issues.

I'd welcome any thoughts as to how agencies looking to offer Headless CMS backed websites can do so more profitably (than currently seems to be the case)? All ideas/ thoughts welcomed. Thanks in advance.

PS For those not familiar with how a traditional CMS differs from a Headless CMS see the image below:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kri7pci20q2r54ntsyvv.png)
Initialization
Published: 2023-09-28 11:55:53

## 1: Initialization
Travelers looking for a distinctive balance of luxury, leisure, and adventure have always been drawn to cruise holidays for a specific attraction. The cruise business has seen a tremendous transition recently, providing tourists with a variety of cutting-edge experiences. Cordelia Cruises, one of the more recent entrants in this market, has distinguished itself as a rising star by providing amazing voyages over the turquoise oceans. We'll take a virtual trip to discover Cordelia Cruises' beauty in this post, from the opulent ships to the captivating locations they provide.
Best Commercial Electrician Services in Virginia
Tags: electrician
Published: 2023-09-28 11:54:18

C&W Electrical Contractors provides electrical needs for businesses in Virginia, the best [commercial electrical services](https://www.cwelectricva.com/commercial-electrical-services-in-virginia/) in the state. Our skilled electricians provide the finest electrical solutions for your space. From routine maintenance to complex installations, we have the expertise to handle. We understand the importance of a reliable electrical system for your business's operations and customize safety and efficiency in every project. With years of experience and a commitment to excellence, we are your trusted partner for all your needs as a commercial electrician in Virginia. Your satisfaction is our priority.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r14liodt6tbv4j8blcek.jpg)
Tiny online developer tools
Tags: programming, productivity, developer, softwaredevelopment
Published: 2023-09-28 11:52:12

I regularly use many online tools to help software development so this is a list of these. Not being part of development tools, I have to hop on web versions of these.

## Regular expressions

These tools help to create debug and understand various regular expressions which you will create. Also contain useful examples.

- https://regex101.com/

- https://regexr.com/


## CRON schedule expressions

- https://crontab.guru/

- 
https://www.freeformatter.com/cron-expression-generator-quartz.html

## Sites with lot of tools 

Converters, validators, beautifiers, minifiers, cryptography, generators, editors, viewers (this will give you idea what is there):

- https://www.utilities-online.info/

- https://www.freeformatter.com/

- https://appdevtools.com/

- https://www.lambdatest.com/learning-hub/free-online-developers-tools

## HTTP Request bin

If you need to test your HTTP requests, you can send them to free pages for debugging.

- https://public.requestbin.com/

## OpenAPI tools 

- https://openapi.tools/