teleren/devto huggingface dataset:
Working with Git
Published: 2023-12-16 09:17:36

## What does Git do?
- Manage projects with **Repositories**
- **Clone** a project to work on a local copy
- Control and track changes with **Staging** and **Committing**
- **Branch** and **Merge** to allow for work on different parts and versions of a project
- **Pull** the latest version of the project to a local copy
- **Push** local updates to the main project

## Working with Git
- Initialize Git on a folder, making it a Repository `git init`
- Git now creates a hidden folder to keep track of changes in that folder `.git`
- When a file is changed, added or deleted, it is considered modified
- You select the modified files you want to Stage `git add .`
, alternatively you can add specific files: `git add file1 file2`
- The Staged files are Committed, which prompts Git to store a permanent snapshot of the files `git commit -m "your commit message"`
- Git allows you to see the full history of every commit.
You can revert back to any previous commit (will explain it later..)
- Git does not store a separate copy of every file in every commit, but keeps track of changes made in each commit! `git log`

Now, your project is under version control with Git. You can continue to make changes, stage them, and commit them as needed. Additionally, you may want to connect your local repository to a remote repository on a platform like GitHub using commands like `git remote add` and `git push`.

The `git remote add` command is used to add a remote repository reference to your local Git repository. A remote repository is a version of your project hosted on another location, typically on a different server or platform (e.g., GitHub, GitLab, Bitbucket). Adding a remote allows you to interact with and push/pull changes to/from that remote repository (will explain it later..).

Remember that this is just a basic setup. As your project progresses, you may need to learn more advanced Git commands for branching, merging, pulling, and collaborating with others.
pull the changes up to a specific commit and delete all commits made after it
Tags: github, webdev, javascript, programming
Published: 2023-12-16 12:56:32

To pull the changes up to a specific commit and delete all commits made after it, you can follow these steps:

1. **Identify the commit hash:**
   - Use `git log` to find the commit hash of the commit you want to revert to.
   - Let's assume the commit hash is `CODE OF SHA`.

2. **Reset your local branch:**
   - Use the following commands to reset your local branch to the specified commit:
     ```bash
     git reset --hard (CODE OF SHA)
     ```

3. **Force-push to the remote repository:**
   - If you've already pushed the commits you want to delete, you'll need to force-push the changes to the remote repository:
     ```bash
     git push origin main --force
     ```
     Be cautious with `--force` as it overwrites the remote branch with your local branch.

After completing these steps, your local and remote repositories should be rolled back to the state of the specified commit (`30c87bb1797c6ac8f4afde9e0004d723f21fe8d5`), and all commits made after that will be deleted.

Keep in mind that force-pushing can cause issues if others are collaborating on the same branch. Use it with caution, especially on shared branches. If others are working on the same branch, communicate with them about the force-push to avoid conflicts.

If you face any issues or have further questions, feel free to ask!
Tác Giả Đức Duy
Published: 2023-12-16 12:50:41

Đức Duy là tác giả của website 181bet.biz với nhiều năm kinh nghiệm tại lĩnh vực cá cược trực tuyến. Anh là một chuyên gia, anh chia sẻ nhiều mẹo cực hay và có ích đến người chơi
Địa chỉ: 28/1a Trường Chinh, Phường 15, Quận 12, Thành phố Hồ Chí Minh, Việt Nam
Số điện thoại: 09628362848
Email: zacheryperson637@gmail.com
Website: https://181bet.biz/tac-gia-duc-duy/
Hastags: #tacgiaducduy #ducduy181betbiz #ducduycasino #181betbiz


Social Links:

https://www.facebook.com/ducduy181betbiz/

https://twitter.com/ducduy181betbiz

https://www.pinterest.com/ducduy181betbiz/

https://www.reddit.com/user/ducduy181betbiz

https://www.quora.com/profile/Ducduy181betbiz

https://www.producthunt.com/@ducduy181betbiz

https://vimeo.com/ducduy181betbiz

https://foursquare.com/ucd8283457/list/ducduy181betbiz

https://www.youtube.com/@ducduy181betbiz/about

https://www.goodreads.com/user/show/172541978-c-duy

https://soundcloud.com/ducduy181betbiz

https://www.twitch.tv/ducduy181betbiz

https://flipboard.com/@ducduy181betbiz/

https://gravatar.com/bailcilladruceclyte05815

https://dribbble.com/ducduy181betbiz/about

https://www.kickstarter.com/profile/ducduy181betbiz/about

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

https://ducduy181betbiz.blogspot.com/

https://ducduy181betbiz.tumblr.com/

https://www.behance.net/ducduy181betbiz

https://about.me/ducduy181betbiz

https://www.instapaper.com/p/ducduy181betbiz

https://sites.google.com/view/ducduy181betbiz/

https://band.us/@ducduy181betbiz

https://data.world/ducduy181betbiz

https://www.blackhatworld.com/members/ducduy181betbiz.1852264/#about

https://www.designspiration.com/ducduy181betbiz/

http://www.socialbookmarkssite.com/user/ducduy181betbiz/

https://replit.com/@ducduy181betbiz

https://pxhere.com/en/photographer/4145028

https://osf.io/4gdyj/

https://public.tableau.com/app/profile/ducduy181betbiz/

https://forums.goha.ru/member.php?u=1516195

https://www.chordie.com/forum/profile.php?id=1802767

https://roomstyler.com/users/ducduy181betbiz

https://ducduy181betbiz.contently.com/

https://www.penname.me/@ducduy181betbiz

http://egamingsupply.com/forum/member.php/64940-ducduy181betbiz

https://gitee.com/ducduy181betbiz

https://dev.to/ducduy181betbiz
You can help write down the history of frontend! Contributions are welcomed 🎉
Tags: frontend, opensource, webdev, javascript
Published: 2023-12-16 12:48:09

## Intro

I just released my new side project called [Frontend History](https://frontendhistory.com/). It's open source and contributions are warmly welcomed! 🎉 Here is the link to the [repository](https://github.com/michalkuncio/frontendhistory).

## Motivation

The frontend changes rapidly, with new libraries being released daily, and some features achieving full browser support. Likewise, some libraries and browsers become deprecated. What if we had something like a calendar that cataloged all significant events in the frontend world? This would allow us to stay informed about recent news and explore the distant history of frontend. It would be great to have a single comprehensive repository detailing the entire history of frontend development.

## FAQ

**I want to contribute and add some new items. Which items will be accepted?**

If you think it's important to the frontend community, go ahead and add it. Adding JS libraries can be a tad trickier because if we were to include every single JS package in this calendar, it'd be way too big. I think we should only list the relevant packages here, so you got to decide for yourself if a library is worth adding.

**What stack is used here?**

Nuxt

**Why not Astro, Tailwind, HTMX, HTML, XYZ?**

I love those tools but I feel the most comfortable with Vue and Nuxt

## Contributions

This is a long-term community project that will be as valuable as its contributions. Anyone can contribute and help write down the history of Frontend.

## How to contribute?

- Create a separate branch originating from **main**
- Create a pull request from your branch to **main**
- For new history entries, please add **[History items]** at the end of the PR title
- For other issues or improvements, don't you don't have to add any label in the PR title
- For new history entries, navigate to the appropriate year inside `/data` directory
- data should follow chronological order, there is no additional sorting
- It should follow the the following structure:
```js
export default {
    year: 2004,
    items: [
        {
            date: '2004-11-09',
            title: 'First version of Firefox released',
            link: 'https://en.wikipedia.org/wiki/Firefox',
            icon: 'firefox'
        }
    ]
};
```

- If you are adding a new type of history item, you can also add the SVG icon to `components/icons`
- Please note that new history items without the link with date confirmation won't be accepted
- Add the repository owner as a reviewer.
63. Working on my Python app assignment (Day 61)
Published: 2023-12-16 12:36:23

Another H.O.T Sydney Saturday was spent on my assignment and drinking lots of water!

This is what I achieved today:

1. Completed the full basic functionalities of my checklist terminal app. It can now accept new entries, delete new entries, mark past entries as complete, view all entries, and exit the menu.

2. Installed an external package for applying colors to my menu items (https://pypi.org/project/colored/).

3. Created an executable Batch Script file, so that anyone can download my repository and execute the program.

4. Consistent commits and push to GitHub.

5. Keeping track of my work on a Kanban board.

I thought I was mostly done as far as my program is concerned, but I have run into some errors now with the color package. When I run it outside of the executable file and the virtual environment, I get a "Module Not Found" error. Looks like I may have to install the color package again because it seems to have been deleted when I deleted the virtual environment before.

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

Anyway, I will work on this tomorrow I think because it's 11:30 PM now, and I am so sleepy!
🌟 #DEVImpact2023 Reflections
Tags: devimpact2023
Published: 2023-12-16 12:27:29


### Proud Moments
This year I was invited to two colleges for conducting tech workshops. One of the workshops was for AI and Big Data and the other one was for Android Development. It felt great to be a part of several students tech journey.

### DEV Contributions
I wrote articles and replied to people's comments on my articles. I also commented on other people's articles after reading and reacting to their articles.

### Brilliant Fails
I had trouble with certain colleagues, I could feel that they hated me. I did not do anything about it though. My plan is to one day become a solopreneur so that I can escape the hierarchy and politics. I also struggled with procrastination in certain tasks this year. Planning to solve that with the pomodoro technique and having a study/work buddy. 

### Celebrate the Numbers 

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

### Shoutouts
Actually several people's comments on my posts were inspiring to me but I would like to give a shoutout to @andrewjensentech for his inspiring comment on my [post](https://dev.to/nandinishinduja/how-to-fall-in-love-with-coding-4mdf).
### Future Goals 
I want to learn web development, data science and data structures fully in 2024. I also want to get promoted, become a solopreneur, make and publish at least 1 app and then sell it in 2024. I also want to learn UI designing fully.

### What Does DEV Means to You?
This is an amazing community. It makes me believe that everything is possible if only I set my mind to it.
Software Testing and its relevance
Published: 2023-12-16 12:20:53

**Software Testing** is the critical phase in development process and it is necessary to fix bugs / issues in the software applications before it is deployed.

**_The main purpose of software testing are as follows_**

- To provide high quality product
- To meets customer requirements
- To make sure all the functionalities of the software are working fine
- To identify bugs/issues during development process which in turn helps to reduce the cost and effort of fixing them later.

There are two different **types of software testing**
1) Manual Testing - Humans does the testing
2) Automation Testing - Automated tools does the testing

Also we have different **levels of software testing**
1) Functional Testing - checking features of the software
2) Non Functional Testing - checking performance of the software

**_Ultimately the Main Objective of software testing process is :-_**

- Identify defects - finding bugs / defects
- Quality Assurance - high quality product
- Risk Mitigation - providing defect free applications
- Validation - To make sure applications meets its intended purpose
JK Distro
Published: 2023-12-16 12:16:58

At JK Distro, we possess a deep understanding of the unique challenges and opportunities within the industry. Our team brings together a diverse range of expertise, including supply chain management, regulatory compliance, quality assurance, market expansion, and data analytics. We are committed to providing exceptional products and experiences. We are eager to contribute with our knowledge and expertise to build a community of enthusiasts around the globe.
[thca shake](https://jkdistro.com/)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w6zf98irj5dczcr6w21z.jpg)
CSS framework for 2024🔥
Tags: webdev, css, beginners, opensource
Published: 2023-12-16 12:12:49


**NEXTGENCSS 🔥**

A next generation of righting CSS ?

 - But how ?

It is similar to your existing technologies but make 
design fast by adding **default styles** and small classes..

Github : [link](https://github.com/rudransh61/NextGenCSS-
)

check this out !! (and star to contribute with them !!)

 - Show how it is fast ??

With only **5** line of code you can make Responsive and Beautiful Designs.

```
<h1>Halo</h1>
<h2>Halo</h2>
<h3>Halo</h3>
<div class="bg-orange">Abcd</div>
<div class="bg-primary">Abcd</div>
```

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

Docs to Learn More :-
[Docs](https://nextgencss.gitbook.io)
Generate a Random JWT Secret Key
Tags: jwt, env, express, node
Published: 2023-12-16 12:06:41

To generate a random JWT secret key, you can use a tool like Node.js to create a random string. Here's a simple example:

1. Open your terminal or command prompt.
2. Run the following Node.js script to generate a random string:

```bash
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
```

This command uses the `crypto` module in Node.js to generate a random sequence of 32 bytes and then converts it to a hexadecimal string.

3. Copy the generated string.

4. Open your `.env` file and set the JWT secret key:

```env
JWT_SECRET=paste-the-generated-string-here
```

Replace `paste-the-generated-string-here` with the string you copied.

Save the changes to your `.env` file.

Now, you have a securely generated JWT secret key. Remember to keep this key confidential and don't share it publicly. If needed, you can regenerate the key and update it in your `.env` file.
Few Testing Techniques
Published: 2023-12-16 11:59:48

**1) Boundary Value Analysis**
Its black box testing (testing without internal knowledge) 
Analysing using Min and Max values, boundary values, typical values, error values.
_Eg:_ Boundary value of 1 to 10 is 0,1,2 and 9,10,11 and if value is not within the range ( 1 to 10 ) then the system should throw error.

**2) Decision Table Testing**
Its black box testing, which respond to different combination of inputs or events and used for complex decision making
_Eg:_ Amazon website purchase

- 
For prime members the discounts are different ( for Rs 3000 above purchases - the discount would be 15% and for Rs 3000 below purchases - the discount would be 10% )

- 
For Non Prime members the discounts are different ( for Rs 3000 above purchase - the discount would be 5% and below that would have no discount ) 

so these are different combination of inputs or events and decision table testing will help to check such combination of scenarios

**3) Use Case Testing**
Its black box testing, it validates the system behaviour for different use cases (or) scenario 
_Eg:_ ATM Machine

- 
if pin is correct, the system will allow to withdraw the money directly.

- 
if pin is incorrect, the system will not allow to withdraw the money and calculates your no. of attempts and suspends your card once it reaches the maximum attempts

**4) Linear code sequence and Jump Testing**
Its White box testing and will Ensure that all parts of the coding are working fine within the code 
Both linear sequential as well as jumping sequential
_Eg:_ Take age as input and check if the person is eligible to vote

- 
if age is <18 - the person is not eligible for voting

- 
if age is >18 - the person is eligible for voting
Standalone migrating an existing large scale app Angular
Tags: angular
Published: 2023-12-16 11:45:31

Hello everyone, I am trying to migrate my large scale app to standalone in v15 and will update to v16 after migration, I need some clartiy regarding components and modules in shared modules for example i have converted a component to standalone so do I have to remove the component or the module that i am importing in the component completely from the shared.module or do i have to place the standalone component from the declarations in Ngmodule to its imports? I am very much confused regarding this and i am stuck in my task of migration and also do i have to change the routing structure in app-routing as well after standalone migration? Help would me appreciated alot.Good day.
🚀 Exciting News for Aspiring Entrepreneurs in 2024! 🌐
Published: 2023-12-16 11:43:16

Unleash your creativity with these 30 small business ideas tailored for today's go-getter. No massive capital needed—just determination and innovation. Here's a sneak peek:

💻 Dropshipping: Partner with suppliers and use platforms like Shopify.
🎨 Print on Demand: Design phone cases and t-shirts with Printify.
🌐 Translation: Leverage multilingual skills on Upwork and Flexjobs.
💻 Website Flipping: Invest in websites on platforms like Flippa.
🍲 Home-Based Catering: Turn your cooking skills into a business.
🐾 Dog Walking: Offer pet services on platforms like Wag! and Rover.
💼 Virtual Assistant: Provide virtual assistant services on FreeUp and PeoplePerHour.
👗 Personal Shopping: Turn your fashion sense into a business.
🚗 Car Detailing: Transform car detailing into a profitable venture.
📚 Online Tutoring: Connect with students on platforms like Skooli and Tutor.com.
💌 Greeting Cards: Craft and sell greeting cards online.
📝 Content Writing: Start a content writing or copywriting business.
🛍 Homemade Products: Sell handmade products on Etsy.
🖥 WordPress Support: Offer WordPress support services.
🏢 Career Coaching: Assist with job searches and interviews.
📧 Email Marketing: Launch an email marketing business.
🧹 Contract Cleaning: Provide cleaning services to homes and businesses.
🥗 Meals to Go: Start a meals-to-go business using shared rental kitchens.
🌿 Landscaping Services: Turn your passion for gardening into a business.
🌐 Website Testing: Offer website testing services.
🔍 SEO: Cash in on your SEO skills.
📱 App Development: Start an app development business.
💃 Virtual Dance Studio: Launch a virtual dance studio.
📷 Stock Photography: Become a stock photographer.
📲 Instagram Consulting: Monetize your Instagram knowledge.
🎥 Video Production: Start a video production company.
🖥 Software Education: Offer software education services.
🎓 College Preparation: Assist students with college admissions.
🤝 Niche Staffing Agency: Match employees to employers in a specific industry.
📅 Digital Event Planning: Plan, organize, and report on digital events.
Ready to make your dream business a reality? For professional website development, get a quote from jenaro.pro and kickstart your entrepreneurial journey! 💼🚀 #Entrepreneurship #BusinessIdeas2024 #SmallBusiness #Innovation #StartYourBusiness #EntrepreneurialSpirit #BusinessSuccess #CreativeEntrepreneurship #DigitalBusiness #WebsiteDevelopment #JenaroPro #EntrepreneurialJourney
Artificial Intelligence in Digital Marketing 2023
Published: 2023-12-16 11:17:17

What is Artificial Intelligence?

Artificial Intelligence (AI) refers to the development of intelligent machines capable of performing tasks that typically require human intelligence, such as learning, problem-solving, and decision-making. In the context of [[digital marketing](https://digitalfloats.com/artificial-intelligence-in-digital-marketing-2023/)](url), AI encompasses various technologies like machine learning, natural language processing, and computer vision to automate tasks, personalize experiences, and gain valuable insights.

1. Enhanced Targeting and Personalization:
Simple way to master inheritance in Python
Tags: beginners, tutorial, python, programming
Published: 2023-12-16 11:13:56

Inheritance is mechanism that allows a class to inherit properties and attributes from another class.
General Syntax of inheritance
```
class DerivedClassName(BaseClassName):
    <statement-1>
    .
    .
    .
    <statement-N>
```
The name BaseClassName(super class) must be defined in a namespace accessible from the scope containing the derived class definition.
If the super class is defined in another module then the syntax is: 
`class DerivedClassName(moduleName.BaseClassName):`

How inheritance work?
Execution of a derived class definition proceeds the same as for a base class. When the class object is constructed, the base class is remembered. This is used for resolving attribute references: if a requested attribute is not found in the class, the search proceeds to look in the base class. This rule is applied recursively if the base class itself is derived from some other class.

## Method Overriding
Derived classes may override methods of their base classes. Because methods have no special privileges when calling other methods of the same object, a method of a base class that calls another method defined in the same base class may end up calling a method of a derived class that overrides it. (For C++ programmers: all methods in Python are effectively virtual.)

An overriding method in a derived class may in fact want to extend rather than simply replace the base class method of the same name. There is a simple way to call the base class method directly: just call ```BaseClassName.methodname(self, arguments)```
This is occasionally useful to clients as well. (Note that this only works if the base class is accessible as BaseClassName in the global scope.)
## Built Functions that works with inheritance

1. [`isinstance()`](https://www.w3schools.com/python/ref_func_isinstance.asp) to check an instance's type:
```
isinstance(obj, int)
```
will return `True` iff `obj.__class__` is int or some class derived from [int](www.google.com).
2. [`issubclass()`](https://www.w3schools.com/python/ref_func_issubclass.asp#:~:text=The%20issubclass()%20function%20returns,the%20specified%20object%2C%20otherwise%20False%20.)
to check class inheritance:
```
issubclass(bool, int)
```
will return `True` since bool is a subclass of int.

## Multiple Inheritance
Python supports a form of multiple inheritance as well.
Syntax
```
class DerivedClassName(Base1, Base2, Base3):
    <statement-1>
    .
    .
    .
    <statement-N>
```
kwfinder
Published: 2023-12-16 10:45:45

kwfinder là
Nghiên cứu từ khóa hiệu quả, phân tích SERP, theo dõi xếp hạng và phân tích liên kết ngược nhờ các công cụ siêu dễ sử dụng.
Nghiên cứu từ khóa: Tìm hàng trăm từ khóa đuôi dài với độ khó SEO thấp cho trang web của bạn.
Phân tích SERP: Thực hiện phân tích SERP của Google được bản địa hóa về các đối thủ cạnh tranh của bạn.
Phân tích liên kết ngược: Tìm các liên kết ngược mạnh mẽ của đối thủ cạnh tranh mà bạn có thể sao chép dễ dàng.
Theo dõi xếp hạng: Theo dõi tiến trình tổng thể của các vị trí của bạn bằng một số liệu chính.
Mua ngay tại: https://www.wsovn.net/mua-chung-kwfinder-mangools