teleren/devto huggingface dataset:
Links and images Day 2
Published: 2023-11-22 04:30:03

#**Día dos de odin proyect**

Siguiendo con el curso, el día de hoy tuve poco tiempo para practicar. Pero mas allá de la hora me puse al menos unos 40 minutos. 
	 ##**El día de hoy fue links e imágenes**. 
Lo que corresponde a links. Utilice links relativos y absolutos. 
	Para poder moverme a paginas externas y dentro de mi propio sitio web. 
No es la primera vez que practico esto pero la idea fue comenzar de 0 para repasar contenido ya leído y practicado. Para poder naturalizar la sintaxis correspondiente.

Luego de realizar los archivos html con lo solicitado por el curso.

Puse en practica subir los archivos al repositorio activo de github, utilizando la consola interna de VisualCode . Dejo las capturas de lo realizado el día de hoy


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

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


Es poco pero no tanto. Entre el poco tiempo libre que tengo y la familia intento ponerlo todo porque creo que esto es lo que me gusta hacer. Y me gustaría hacer todo los días. La edad puede ser un impedimento a la hora de buscarse horas libres en el día por las demás responsabilidades que uno carga ya a estas alturas de la vida de uno. Pero se que cuando esto concluya y tenga que buscar trabajo tengo otras habilidades adquiridas en mis trabajos regulares que otra persona puede no tener. Y esto lo veo como una pequeña ventaja. 



#**Day two of the Odin Project**.

Continuing with the course, today I had little time to practice. But beyond the time constraint, I managed to dedicate at least 40 minutes. 

##**Today's focus was on links and images.**

Regarding links, I used both relative and absolute links to navigate to external pages and within my own website. It's not the first time I've practiced this, but the idea was to start from scratch to review previously read and practiced content, aiming to internalize the corresponding syntax.

After creating the HTML files as required by the course, I put into practice uploading the files to the active GitHub repository using the internal console of Visual Studio Code. I'm attaching screenshots of what was accomplished today.

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

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

It may not be much, but it's something. Amidst the limited free time I have and family commitments, I try to fit it all in because I believe this is what I enjoy doing, and I would like to do it every day. Age might be a hindrance when trying to carve out free hours in the day due to other responsibilities one carries at this stage of life. However, I know that when this is concluded and I have to look for a job, I'll have other skills acquired in my regular jobs that someone else may not possess. I see this as a small advantage.
Keep on working on open-source Spring Boot project
Tags: opensource, java, springboot, mysql
Published: 2023-11-22 03:47:14

After trying to [find a runnable spring boot project for beginner](https://dev.to/wanggithub0/try-to-find-an-open-source-spring-boot-project-suitable-for-beginners-1pdo).

 I began to fix another bug for this [E-commerce-project-springBoot](https://github.com/jaygajera17/E-commerce-project-springBoot) project.

In order to login the project, I had to [create some base data](https://github.com/jaygajera17/E-commerce-project-springBoot#database) in the database, I did it according to the [mysql document](https://dev.mysql.com/doc/refman/8.0/en/mysql-batch-commands.html), but I got some errors, so I tried to revised them.

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


- 
 [`ERROR 4031 (HY000): The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior.`](https://github.com/jaygajera17/E-commerce-project-springBoot/issues/37)
Because the 'NO_AUTO_CREATE_USER' mode is not supported, so I deleted it from the list of modes. 

```
SET SQL_MODE ='IGNORE_SPACE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
```





- 
[Register met error "Duplicate entry '1' for key 'customer.PRIMARY'](https://github.com/jaygajera17/E-commerce-project-springBoot/issues/41). After searching, I found running the basedata.sql script on the database has manually inserted records with IDs '1' and '2' into the CUSTOMER table.
Since the code use the GenerationType.AUTO strategy for ID generation, MySQL is attempting to automatically generate the next available ID when try to insert a new record. However, this conflicts with the existing IDs manually inserted before. 

So I set:
 ```
@GeneratedValue(strategy=GenerationType.IDENTITY)
private int id;
``` 

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


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

I also add try catch for addUser since sometimes add action failed and updated the README, make it much clearly.


During this process, I acquired fundamental knowledge of Spring Boot, MySQL, Maven, and IntelliJ. I gained insights into connecting Java with databases, utilizing JPA for data persistence, and enhancing my understanding of Java development. Despite my limited experience in Java, I recognize there is still much to learn and explore. This experience served as a valuable foundation, highlighting areas for improvement and offering a glimpse into the vast landscape of Java development that lies ahead for me.
use wireshark to test http2 on ubuntu
Tags: wireshark, http2, ubuntu, testing
Published: 2023-11-22 03:45:59

## install wireshark on ubuntu

```bash
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt install wireshark
sudo dpkg-reconfigure wireshark-common
sudo usermod -aG wireshark $(whoami)
```

## start wireshark

1. choose `Loopback: lo` to see `127.0.0.1` or `::1`
2. click `start capturing packets`
3. input `tcp.port == 1234` in filter

## run example

```common-lisp
; server
(ql:quickload 'http2/server/example)
(http2/server-example::run-demo-server :port 1234)

; client
;; curl -k https://127.0.0.1:1234/
```


## alpn in `client-hello`
`0010 000e 000c 02 6832 08 687474702f312e31`

- Type: application_layer_protocol_negotiation [16]
 `0010`
- Length: [14]
 `000e`
- ALPN Extension Length: [12]
 `000c`
- ALPN string length: [2]
 `02`
- ALPN Next Protocol: [h2]
 `6832`
- ALPN string length: [8]
 `08`
- ALPN Next Protocol: [http/1.1]
 `687474702f312e31`

## alpn in `server-hello`
`0010 0005 0003 02 6832`

- Type: application_layer_protocol_negotiation [16]
 `0010`
- Length: [5]
 `0005`
- ALPN Extension Length: [3]
 `0003`
- ALPN string length: [2]
 `02`
- ALPN Next Protocol: [h2]
 `6832`
Angular 17 - New dev tools injector tree view
Tags: angular
Published: 2023-11-22 03:00:00

Another Angular 17 update is the release of a new DevTools panel called Injector Tree.

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

It's a good option to visualize both your element hierarchy and injector hierarchy, and it is accessible as a third tab in the [Angular DevTools browser extension](https://chromewebstore.google.com/detail/angular-devtools/ienfalfjdbdpebioblfackkekamfmbnh?pli=1) available for Chrome, Firefox, and Edge.

When we click on that tab, a tree view of all hierarchies shows up on the screen:

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

For a clearer view, we can check the option "hide framework injectors" to focus on our code:

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

Clicking on an injector (such as root) shows the list of all injectables/services available in that injector:

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

Notes: This new tab seems to be just getting started, and more information will be added later. Even though the Devtools is a browser extension, the Injector tree tab only works for apps using Angular v17+.

---

Let's get connected! You can find me on:
- Medium: https://medium.com/@nhannguyendevjs
- dev.to: https://dev.to/nhannguyendevjs
- Linkedin: https://www.linkedin.com/in/nhannguyendevjs/
- X (formerly Twitter): https://twitter.com/nhannguyendevjs
Why You Need an Electric Mountain Board in Your Life - The Ultimate Blog Article
Published: 2023-11-22 02:57:24

Are you a thrill-seeker looking for the next big thing? Do you enjoy high-speed adventures through challenging terrain? If so, you need an electric mountain board in your life.

[![electric mountain board](https://www.ecomobl.com/wp-content/uploads/2023/08/ecomobl-electric-board-21.jpg)](https://www.ecomobl.com/?utm_source=dev_to&utm_medium=rankking)

## What is an Electric Mountain Board?

An electric mountain board is a high-performance skateboard designed specifically for off-road terrain. It is powered by an electric motor instead of traditional pushing, allowing riders to easily navigate steep inclines and rough terrain. With thick, durable wheels and extra suspension, electric mountain boards offer a comfortable, smooth ride over all types of terrain.

## The Advantages of Electric Mountain Boards

The advantages of electric mountain boards are numerous. First and foremost, they are incredibly fun. There is nothing quite like the sensation of speeding through the great outdoors on an electric mountain board.

Electric mountain boards are also incredibly versatile. They can handle all types of terrain, from dirt trails to rocky paths. With power assist, you can climb steep inclines without breaking a sweat. This makes them great for exploring new areas and experiencing nature in a whole new way.

Another major advantage of electric mountain boards is that they are eco-friendly. Rather than relying on gas-powered engines, electric mountain boards are powered by batteries. This makes them a great alternative to traditional off-road vehicles that can be harmful to the environment.

## Choosing the Right Electric Mountain Board

There are many different types of electric mountain boards on the market. When choosing the right one for you, it is important to consider your skill level, budget, and the types of terrain you will be riding on.

If you are a beginner, you may want to choose a board with lower power and simpler controls. As your skills improve, you can upgrade to a more advanced board with more features and capabilities.

It is also important to consider your budget. Electric mountain boards range in price from a few hundred to several thousand dollars. However, investing in a high-quality board can save you money in the long run by reducing the need for repairs and replacements.

## Conclusion

An [electric mountain board](https://www.ecomobl.com/?utm_source=dev_to&utm_medium=rankking) is the ultimate way to experience the great outdoors. With their versatility, power, and eco-friendliness, electric mountain boards are a great choice for thrill-seekers and nature-lovers alike. So, what are you waiting for? Get out there and start exploring!

## References

  * [electric mountain board](https://durulsan.com/index.php?dil=2&url=https://www.ecomobl.com/ "electric mountain board")
Clearing the Way for Proactive Code Security Testing
Tags: security, opensource, testing, api
Published: 2023-11-22 02:51:38

To clients and the broader AppSec community, it is [True Positive's](https://www.true-positives.com) mission to deliver precise and affordable software security testing solutions. 

One offering enormous potential benefits to the DEV community is the [OWASP Penetration Testing ToolKit (aka PTK)](https://www.ptk-plus.io/owasp-ptk), an **open source tool made freely accessible** by T+. 

With PTK, you can unlock breakthrough browser-enabled security analysis to supercharge security testing to: 

- Effortlessly discover potential security bugs.
- Go deeper to verify bugs and expose hidden threats.
- Inform remediation and test fixes.

**OWASP PTK: Key Capabilities & Features**

**Insightful Information:** Get one-click access to insightful information about the target application, including its technology stack, Web Application Firewalls (WAFs), security headers, crawled links, and authentication flow.

**In-Browser Runtime Scanning:** PTK offers Dynamic Application Security Testing (DAST) and Software Composition Analysis (SCA) scanning within your browser. Detect SQL Injections, Command Line Injections, Stored and Reflected Cross-Site Scripting (XSS) vulnerabilities, and more. It even identifies complex threats like SQL Authentication Bypass, XPath injections, and JWT attacks.

**Proxy with Traffic Log:** PTK includes a proxy with a detailed traffic log. This log allows you to repeat any request in the R-Builder or send it to the R-Attacker. You can automate the execution of Cross-Site Scripting (XSS), SQL injection, or OS Command injections.

**Request Builder for Request Tampering:** The extension includes R-Builder, a powerful tool that allows you to craft and manipulate HTTP requests with precision. It empowers you to execute complex maneuvers, including HTTP request smuggling attacks, for a comprehensive assessment of application vulnerabilities.

**Cookie Management:** PTK includes a cookie editor, allowing you to manage cookies efficiently. Add, edit, remove, block, protect, export, and easily import cookies.

**Decoder/Encoder Utility:** The integrated utility helps you manage encoding and decoding from and to various formats, including UTF-8, Base64, MD5, and more.

**Swagger.IO Integration:** We've integrated Swagger.IO to enhance your understanding of API documentation. Easily create requests to interact with API endpoints.

**Selenium Integration:** With Selenium integration, PTK aids in identifying security risks at the early stages of the development cycle, ensuring robust security from the outset.

**Tool Roadmap**. **Coming December 2023**.

**JWT Inspector:** We've added a crucial new feature – JWT Inspector. It empowers you to analyze JSON Web Tokens (JWT), build new tokens using different algorithms (including None algorithm), and generate public and private keys for JWT signing.

[Get the OWASP PTK open-source tool free here](https://www.ptk-plus.io/owasp-ptk).

[Explore the feature-enhanced edition, PTK Plus(PTK+) ](https://www.ptk-plus.io). 

Question? ](ptk-support@ptk-plus.io)
IAST vs SAST vs DAST
Published: 2023-11-22 02:50:59

IAST vs SAST
Static Application Security Testing method examine source code in a non-runtime environment early in the SDLC. They look for suspicious code patterns that indicate security risks. Even though they are easy to deploy, SASTs throw too many false positives because SASTs do not take into account the presence of other security countermeasures, and they lack visibility during runtime. SAST tools normally run inside the IDE as part of the compilation phase, and introduce delays as the scan process takes time to finish. IASTs are more flexible than SASTs, because they are applicable in production runtime environments (SASTs require direct access to the source code).

IAST vs DAST
Dynamic Application Security Testing method is works like a black-box scanner that executes requests against the application to find security issues. DASTs look at the applications from the exterior and determine the presence of risks by looking at the response (including body and headers) of the server to a battery of tests, but DASTs have no visibility of the internal workings of the app. Furthermore, DAST tests are hard to automate, because DASTs must be operated by experienced appsec teams, such as penetration testers, to be truly useful. Forrester estimates that the duration of a DAST scan can take around 5 to 7 days, while testing with IAST is a real-time (zero minutes) operation.
Walking on Air: Learning the Importance of Shoe Heel Height
Published: 2023-11-22 02:39:54

[![shoe heel](https://cdn.shopify.com/s/files/1/0586/4901/8559/files/1_9bcf5869-c724-4c23-bbbc-234f78b73bc5_1100x.jpg)](https://7or9.com/?utm_source=dev_to&utm_medium=rankking)Shoe Heel: The Importance of Choosing the Right Height As an expert in the field of footwear, I understand that choosing the right shoe heel height is crucial for both comfort and style. In this blog post, I will delve into the significance of shoe heel height and how it can impact your overall look and feel. The Basics of Shoe Heel Height Before we dive into the importance of shoe heel height, let's first establish what it means. Shoe heel height refers to the height of the heel of a shoe, measured from the back of the shoe to the ground. Common heel heights range from flats and low heels (less than 2 inches) to mid heels (2-3 inches) and high heels (3+ inches). Functionality vs. Style When it comes to shoe heel height, it's important to balance functionality with style. While high heels may elongate your legs and add a touch of elegance to your outfit, they can also cause discomfort and even pain if worn for an extended period of time. On the other hand, flats or low heels may provide more comfort, but they may not always be suitable for formal or dressy occasions. The Importance of Posture In addition to comfort and style, shoe heel height can also impact your posture. Higher heels can force your weight onto the ball of your foot, leading to imbalance and a tendency to lean forward. This can cause strain on your back and neck, leading to discomfort and potential long-term damage. Choosing the right heel height can help you achieve good posture and avoid unnecessary pain. Choosing the Right Shoe Heel Height Now that we've established the significance of shoe heel height, how do we choose the right height for ourselves? Here are a few tips to consider: 1\. Know your comfort level - if you're not used to high heels, stick to a lower heel height or opt for wedges instead. 2\. Consider the occasion - for formal events, higher heels may be appropriate, while lower heels or flats may be suitable for casual outings or work settings. 3\. Pay attention to balance - if you feel wobbly or unsteady in a certain heel height, it may be best to switch to a lower or more stable option. 4\. Think about your outfit - different heel heights can complement different styles and silhouettes, so consider the overall look you're going for when choosing your shoe. In conclusion, shoe heel height is an important factor to consider when selecting the right footwear. By balancing functionality, style, and posture, you can find the perfect shoe that allows you to walk in style and comfort. Related Industry Websites: 1\. Footwear News: https://footwearnews.com/ 2\. The Heel Bar: https://www.theheelbar.com/ 3\. Sole Collector: https://solecollector.com/

## References

  * [shoe heel](https://forum.pornodump.net/proxy.php?link=https://7or9.com/ "shoe heel")
All you need to know: A guide to buying the perfect linen set
Published: 2023-11-22 02:18:47

Linen Sets: Your Ultimate Guide to Finding the Perfect Bedding When it comes to creating a comfortable and inviting bedroom, choosing the right bedding is essential. Linen sets are a popular choice for their softness, breathability, and durability. But with so many options available, it can be overwhelming to know where to start. In this guide, we'll cover everything you need to know to find the perfect linen set for your needs. Understanding Linen Fabric Before diving into the world of linen sets, it's important to understand the fabric itself. Linen is made from the fibers of the flax plant, which is known for its strength and durability. Linen is highly breathable, making it a great choice for warm climates or hot sleepers. It also has a unique texture that softens over time with use and washing. Choosing the Right Thread Count Thread count refers to the number of threads woven into one square inch of fabric. While a higher thread count may seem like an indicator of quality, it's not always the case with linen. Linen has a lower thread count than other fabrics, but this doesn't mean it's of lower quality. In fact, a lower thread count can actually make linen more breathable and comfortable. Considering Weave and Texture Linen sets come in a variety of weaves and textures, each with its own unique look and feel. Plain weave is the most common and features a simple, uniform pattern. Twill weave has a diagonal pattern and is often used for heavier linens. Herringbone weave has a zigzag pattern and is popular for its texture and visual interest. Finding the Right Color and Design Linen sets come in a range of colors and designs, from classic neutrals to bold prints. When choosing a color, consider the overall aesthetic of your bedroom and how the bedding will fit in. If you're looking for a more timeless look, neutrals like white, beige, and gray are a safe bet. If you want to add some personality, consider a pattern or bold color. Conclusion When it comes to finding the perfect linen set, there are a lot of factors to consider. From understanding the fabric to choosing the right weave and color, it's important to take your time and do your research. By following these tips, you'll be well on your way to creating a comfortable and stylish bedroom. Related Websites: 1\. LinenMe - https://www.linenme.com/ 2\. Linoto - https://www.linoto.com/ 3\. MagicLinen - https://magiclinen.com/

## References

  * [linen sets](https://www.motocal.com/?URL=https://coofandy.com/collections/mens-linen-sets "linen sets")
How to release a project(w. npm)
Published: 2023-11-22 02:16:29

Finally, I could release [til-tool](https://www.npmjs.com/package/til-tool) project to `npm`. I'll walk through how to release the project to `npm`.

### How to release
#### Step 1. Create a [npm](https://www.npmjs.com/) account

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

#### Step 2. Login to your npm account through `cmd`
```bash
npm login
```
This command will redirect to npm webpage to login.

#### Step 3. Check your project is ready to release
First, you should have a project and create a `package.json` file through `npm init` because `package.json` file contains the bare necessities that you need to publish your project. Also, check out the version of the project as well.

#### Step 4. Publish your project
```bash
npm publish
```

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

This command helps you to publish your project to `npm`. You might have an error if there's already the same name of the package on npm. Then, you need to update the name of your project on `package.json` before publishing your project.