teleren/devto huggingface dataset:
Top 5 tools to improve your Web Page Designs
Tags: webdev, coding, html, css
Published: 2024-06-02 06:55:57

Web page design is an art that combines creativity, technical skills, and user-centric thinking. The tools you use can significantly impact the quality and efficiency of your design process. Here are the top five tools that can help you enhance your web page designs, ensuring they are visually appealing, functional, and user-friendly.

**1.unDraw**

unDraw is an open-source project that provides designers and developers with access to a vast library of customizable, high-quality illustrations. These illustrations can be used to enhance web pages, making them more visually appealing and engaging. Created by Katerina Limpitsouni, unDraw is designed to help you easily incorporate beautiful graphics into your projects without the hassle of attribution or licensing issues.

**2. Gradiant Backgrounds**

As a curated list of the best gradient websites across the internet, Gradient Backgrounds allows you to explore, try and choose from hundreds of beautiful blended color palettes. The project merges two ideas developed while building a gradient color picker CSS Gradient and a background image tool Cool Backgrounds.

**3. haikei**

Haikei is a web-based tool that allows designers and developers to create unique and dynamic SVG backgrounds for their websites or applications. It offers a diverse range of customizable patterns and shapes that can be combined and adjusted to create intricate and eye-catching backgrounds. With Haikei, designers can quickly generate high-quality backgrounds without the need for complex design software or manual coding.

**4. Loading Backgrounds**

Loading is a typical situation to use animation, but never the least. With loading.io, making animation becomes so easy that you will probably want to animate everything that can be animated.

With semantic animations and our dedicated online editor, loading.io helps you quickly customize and generate your own animations without worrying about the complex timeline thing. Furthermore, animations are provided in various formats so it won’t be a problem to use them in different platforms or framworks.

**5. Smooth Shadow Generator**

Shadows.brumm.af is a web-based tool created by Philipp Brumm that allows designers and developers to easily generate CSS code for dynamic shadows. It provides a simple and intuitive interface for creating custom shadow effects that can be applied to various elements on a web page. With Shadows.brumm.af, designers can quickly experiment with different shadow configurations and export the corresponding CSS code for use in their projects.

Hope this will definitely help you improve you web development game and please do share this article as much as you can that will really motivate me for writing more such articles.
เริ่มต้น Quarkus 3 part 1
Tags: quarkus
Published: 2024-06-02 06:55:51

blog นี้จะพาเรียนรู้ quarkus step by step เพราะว่าการเริ่มต้น Quarkus มันมีหลาย plugin มากทำให้คนที่เริ่มเรียนจับต้นชนปลายยาก ผมจึงจะจะเอามาเรียบเรียง เริ่มทำตั้งแต่เริ่มต้น โดยเราจะทำ web app ที่ render ด้วย server side โดยใช้ Qute template engine หน้าบ้านใช้ HTMX,AlpineJS 
1. Rest
2. web (static,server side rendering)
   - Qute
   - web bundler
   - Renarde
3. hibernate orm 

ทีมผมใช้ Spring boot เป็นหลัก แต่ในปีนี้เรามีบางส่วนจะย้ายมา Quarkus เพราะว่าเราต้องการ dev ที่เร็วซึ่ง quarkus มำ livereload ได้ดีมากๆอารมร์เหมือนเขียนพวก dynamic lang เลย
อีกประเด็นที่เราเลือก Quarkus ก็คือ เราต้องการใช้ server side renderer เราจึงต้องการ template engine แต่เราต้องการ template engine ที่ **typesafety** เมื่อหาอยู่นาน java template engine ที่ typesafe ก็จะมีแค่ jsp และ qute เท่านั้น 
ส่วนเรื่อง performance ของ Quarkus ที่ดีกว่า boot นั้นไม่ได้เป็นจุดที่เราเลือก เพราะว่ามันไม่ได้สำคัญในแง่มากใน enterprise app ที่เราทำไป optimize หลังบ้านให้ดีๆ ดีกว่า แต่ก็ถือว่าดีที่ได้ความเร็วเพิ่มมา

##Intro
Quarkus จะต่างจาก boot ตรงที่มันจะทำการ**build**หรือประกอบร่าง bean ต่างๆตอน build เช่น แทนที่จะ scan หา annotation `@Entity` ตอน start app มันก็หาตอน build แล้วเตียม code ที่ setup EntityManager ให้เลยตอนรันก็พร้อมใช้เลย ข้อดีทำให้ start เร็วและสามารถขจัดโค๊ดที่ไม่ได้ใช้ และยังเป็นการเตรียมพร้อมกับการทำ native image ได้ด้วย(เพราะ build image ต้องการรู้ว่าจะใช้ควาสไหนตอน build เช่นกัน) 

## Part1 Rest
หลังจากติดตั้ง quarkus CLI แล้ว ก็เริ่มใช้สร้าง project เลยครับโดยใช้คำสั่ง
`quarkus create app th.co.geniustree.quarkus:demo1 -P 3.11.0`

`quarkus create` จะใช้สร้าง project โดยโปรเจคจะมี 3 แบบ app,extension,cli เราจะสร้างเวบแอพ เราเลือก app (ส่วน extension สำหรับคนที่จะทำปลั๊กอิน quarkus เด๋วเราจะมีทำในขั้น advance) สำหรับ cli ก็ตามชื่อเลย ส่วน `-P 3.11.0` จะบกว่าเราจะใช้ quarkus platform version อะไร (เครื่องผม quarkus cli เจน version เก่าให้ตลอด)

เราจะได้ project maven ที่มี Rest controller มาให้ Quarkus จะใช้ microprofile api ซึ่งเป็น subset ของ JakataEE  แทน spring 

```java
@Path("/hello")
public class GreetingResource {

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello() {
        return "Hello from Quarkus REST";
    }
}

```

เราสารถรันใน dev โหมดโดย `quarkus dev` แล้วลองเข้า http://localhost:8080 จะเห็น devUI ของ Quarkus ซึ่งมี rest endpoint /hello อยู่

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

ให้ทดลองแก้โค๊ด แล้วยิง rest ใหม่ มันจะ auto reload ให้ความรู้สึกฟินมากๆ

อ้างอิง
https://quarkus.io/get-started/

**Part2** https://dev.to/pramoth/erimtn-quarkus-3-part-2-web-4bkm
Length of slope calculator
Published: 2024-06-02 06:47:53

In construction and landscaping, accurately calculating the slope length is crucial for projects involving inclined surfaces, such as ramps, driveways, or hillside terraces. The [length of slope calculator](https://lengthcalculators.com/length-of-slope-calculator/) assists by providing precise measurements based on the rise and run of the slope. By entering the vertical rise and horizontal run, the calculator computes the length of the slope, ensuring proper design and compliance with safety standards. This tool is indispensable for architects, engineers, and DIY enthusiasts, helping to create functional and aesthetically pleasing inclined structures.
Why RRMALL is the Best Place for Premium Quality Replicas at Wholesale Rates
Published: 2024-06-02 06:34:49


도매 가격으로 프리미엄 품질의 복제품을 찾는 것은 종종 건초 더미에서 바늘을 찾는 것처럼 느껴질 수 있습니다. 하지만 RRMALL은 최고의 복제품을 파격적인 가격에 제공하면서 시장의 판도를 바꾸는 업체로 부상했습니다. 공장과의 직거래를 활용하여 탁월한 품질과 경제성을 보장합니다. 이 글에서는 RRMALL이 프리미엄 품질의 복제품을 도매가로 구매할 수 있는 최고의 장소인 이유를 살펴봅니다.

## 광범위한 제품 범위
RRMALL은 다양한 고객 취향에 맞는 다양한 [레플리카](https://rrmall02.com) 제품을 제공합니다. 하이패션 의류와 액세서리부터 첨단 전자제품까지 모두를 위한 제품이 있습니다. 광범위한 제품군을 통해 쇼핑객은 스타일, 성능, 경제성을 완벽하게 결합하여 필요한 제품을 정확하게 찾을 수 있습니다.


## 공장 직거래: 전략적 이점
RRMALL의 비즈니스 모델은 공장과의 직거래를 중심으로 운영되며, 이는 가격 경쟁력의 핵심 요소입니다. 중개인을 배제함으로써 비용을 크게 절감하고 이러한 절감액을 고객에게 직접 전달합니다. 이 전략은 가격을 낮출 뿐만 아니라 제공되는 제품의 무결성과 품질도 유지합니다.

## 우수한 품질에 대한 약속
복제품을 구매할 때 품질은 종종 주요 관심사입니다. RRMALL은 우수한 장인 정신과 소재를 우선시하여 이 문제를 해결합니다. 각 제품은 외관과 기능 모두에서 원본을 재현하도록 세심하게 설계되었습니다. 패션, 액세서리, 전자제품 등 RRMALL의 제품은 높은 기준을 충족하여 고객에게 원본과 거의 동일한 복제품을 제공합니다.

## 타의 추종을 불허하는 도매 가격
경제성은 RRMALL의 사명의 핵심입니다. 공장에서 직접 제품을 소싱함으로써 RRMALL은 시장에서 가장 경쟁력 있는 가격을 유지할 수 있습니다. 이러한 접근 방식을 통해 고객은 품질 저하 없이 탁월한 가치를 누릴 수 있으며, RRMALL은 예산에 민감한 쇼핑객이 자주 찾는 곳이 되었습니다.

## 고객 만족에 집중
고객 만족을 위한 RRMALL의 노력은 비즈니스의 모든 측면에서 분명하게 드러납니다. 고품질 복제품을 도매가로 제공하는 데 주력한 결과 충성도 높은 고객층을 확보할 수 있었습니다. 광범위한 제품 범위 탐색의 용이성부터 구매의 편리함까지, RRMALL은 원활하고 만족스러운 쇼핑 경험을 보장합니다.

## 결론
품질과 가격의 균형을 맞추기 어려운 시장에서 RRMALL은 우수성의 신호등으로 돋보입니다. 공장 직거래를 통해 프리미엄 품질의 복제품을 도매가로 제공하는 RRMALL은 고객에게 탁월한 가치를 제공합니다. RRMALL이 프리미엄 품질의 복제품을 도매가로 구매할 수 있는 최고의 장소인 이유를 알아보고 합리적인 가격과 탁월한 품질이 만나는 쇼핑 경험을 즐겨보세요.
Tile Calculator
Published: 2024-06-02 06:26:53

Thinking about tiling your floors or walls? Here’s a quick guide to measuring the area you’ll be tiling. If you get stuck with the calculations, feel free to call our team at (02) 9709 5836 or email us sales@showtile.com.au for assistance.
Website: https://showtile.com.au/tile-calculator/
Phone: 0297095836
Address: 65 Canterbury Road
https://www.funddreamer.com/users/tile-calculator
https://mstdn.social/@tilecalculator
https://controlc.com/fc865f42
https://cr8r.gg/@tilecalculator
https://dribbble.com/tilecalculator/about
https://www.wpgmaps.com/forums/users/tilecalculator/
https://ieji.de/@tilecalculator
https://www.mixcloud.com/tilecalculator/
https://bandori.party/user/201929/tilecalculator/
https://mas.to/@tilecalculator
https://mastodon.uno/@tilecalculator
https://irsoluciones.social/@tilecalculator
https://www.zazzle.com/mbr/238099864897748812
https://www.facer.io/u/tilecalculator
https://burningboard.net/@tilecalculator
https://www.dnnsoftware.com/activity-feed/my-profile/userid/3199616
https://h4.io/@tilecalculator
https://doodleordie.com/profile/tilecalculator
https://maps.roadtrippers.com/people/tilecalculator
https://developer.tobii.com/community-forums/members/tilecalculator/
https://pastelink.net/xe18i60l
https://getinkspired.com/fr/u/tilecalculator/
http://forum.yealink.com/forum/member.php?action=profile&uid=344006
https://flipboard.com/@TileCalculator
http://molbiol.ru/forums/index.php?showuser=1353228
https://nhattao.com/members/tilecalculator.6537228/
https://www.penname.me/@tilecalculator
https://www.chordie.com/forum/profile.php?id=1969000
https://wakelet.com/@TileCalculator91578
https://rotorbuilds.com/profile/43096/
https://hachyderm.io/@tilecalculator
https://www.kickstarter.com/profile/tilecalculator/about
https://teletype.in/@tilecalculator
https://www.reverbnation.com/tilecalculator
https://mastodon-japan.net/@tilecalculator
https://linkmix.co/23560761
https://community.tableau.com/s/profile/0058b00000IZZq0
https://www.creativelive.com/student/tile-calculator?via=accounts-freeform_2
https://bookstodon.com/@tilecalculator
https://www.passes.com/tilecalculator
https://lewacki.space/@tilecalculator
https://mastodon.scot/@tilecalculator
https://toot.io/@tilecalculator
https://vimeo.com/user220532175
https://app.roll20.net/users/13401930/tile-c
https://audiomack.com/tilecalculator
Keyoxide Identity Proof
Published: 2024-06-02 05:40:10

I, Benjamin N. Zelnick, hereby claim that:

1. I am @zelnickb on dev.to; and
2. I control the PGP key with fingerprint `4B5640333BA17168146867FD693BF6E258B852B8`.

## Machine-Readable Proof

openpgp4fpr:4B5640333BA17168146867FD693BF6E258B852B8
Middleware to Asp.net Core MVC Application + Custom Middleware
Tags: aspdotnet, middleware, programming, webdev
Published: 2024-06-02 05:02:01

Hello everyone,

Today, I’m excited to guide you through the process of adding custom middleware to your application. Middleware is a vital component of any application, and understanding how to effectively use it can greatly enhance your development process.

## Why Middleware Matters
Middleware is crucial in handling all requests and responses in your application. By leveraging middleware, you can streamline and manage various tasks such as:

**Authentication**: Verifying user identity.
**Authorization**: Checking user permissions.
**Logging**: Recording details about requests and responses.
**Error Handling**: Catching and managing exceptions.

Using middleware can save you significant time and effort by centralizing and simplifying these common tasks.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z13mhilaa7bdf1fylns2.png)
## What is Middleware?
Middleware is a piece of code (or a component) that sits in the HTTP request-response pipeline. It has access to all incoming requests and outgoing responses, allowing it to process or manipulate them. Middleware can log information, modify requests/responses, or even terminate requests early.

## Common Examples of Middleware
Some commonly used middleware includes:

**Authentication Middleware**: Verifies user identity.
**Authorization Middleware**: Checks user permissions.
**Logging Middleware**: Logs details about requests and responses.
**Exception Handling Middleware**: Catches and handles exceptions.
**Static Files Middleware**: Serves static files like images, CSS, and JavaScript.

```
public class Startup
{
    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        // Add custom middleware
        app.Use(async (context, next) =>
        {
            await context.Response.WriteAsync("Hello from Middleware");
            await next(); // Call the next middleware in the pipeline
        });

        // Other middleware registrations
        app.UseStaticFiles();
        app.UseAuthentication();
        app.UseMvc();
    }
}
```
## Adding Custom Middleware
Let’s walk through the process of adding a custom middleware that writes "Hello from Middleware" to every response.

**Steps to Add Custom Middleware**
Open Startup.cs: This file configures your application's request pipeline.
Modify the Configure Method: Add your custom middleware within the Configure method.

I hope this helps you understand how to integrate custom middleware into your application. Happy coding!`
The best personal Note-taking app 📙 Fast 🚀 Secure 🔐 and Free 💯
Tags: note, notetalking, opensource
Published: 2024-06-02 04:41:59

Hello everyone, about a month ago, I shared my intention to develop a note-taking app, and today I am delighted to announce that it has officially launched at https://opennotas.io. Github at https://github.com/tonghoai/opennotas. I hope it will be helpful for those who are looking for a simple yet effective note-taking solution.

To get started, there are two ways:

1. Visit https://opennotas.io and click on the "Install" button.

2. Build from the source code on Github.

You can also refer to the documentation at https://docs.opennotas.io.

The app has all the features of a note-taking application, but the highlights are:

1. Simple and easy to use, allowing you to create notes with just one touch.

2. Cross-platform based on PWA, so it can be used on any device with a modern browser. From Android, iOS to Windows, Linux, MacOS...

3. Synchronize notes across devices through an Adapter or self-implemented storage system.

4. End-to-End Encryption (E2EE) ensures data security by encrypting it before storing it on the server.

Although I have spent a lot of time perfecting OpenNotas, there may still be some undiscovered issues while using it. Therefore, if you encounter any problems, please open an Issue on Github for the fastest support.

In addition, I am also running a Launch campaign on the Product Hunt platform, aiming to compete with countless other products worldwide. I hope you can show your interest by giving me an upvote or leaving a comment about your experience here 😊 https://www.producthunt.com/products/opennotas

Lastly, the roadmap for OpenNotas is still long, and it will definitely continue to evolve, so you can use it with peace of mind for the long term. Thank you.

P/S: The app installation button may sometimes freeze or lag, and clicking on it may not show anything. This is because the PWA install API is still in experimental phase and may not be fully stable. Please try refreshing the page a few times or manually install it by pinning the website to your home screen (For example, in Chrome, go to Menu > Install App).
Rails on Docker - Simplify Your Development with Docker and DevContainers
Tags: devcontainers, vscode, docker, rails
Published: 2024-06-02 04:38:21

---
title: Rails on Docker - Simplify Your Development with Docker and DevContainers
published: true
tags: DevContainers, VSCode, docker, RubyOnRails
---

Sick of environment inconsistencies causing problems in your Ruby-on-Rails projects? Docker and VSCode Dev Containers let you create a perfectly reproducible and consistent development environment.

Even if you've never used Docker before you'll be surprised how easy it is to get started.  No more worrying about messy dependencies or "it works on my machine" issues.  Dev Containers lets you create a perfect sandbox for your Ruby-on-Rails projects.

Ready to see it in action? Check out this quick tutorial on Dockerizing a Rails app with Dev Containers in VSCode: 

{% embed https://www.youtube.com/embed/xfeQ6vDuidA %}


You'll learn how to:

- Set up a new Rails project inside a Docker container.
- Easily connect your app to a MySQL database (runs as docker container).
- Optimize your setup for both development and production.
- Code and test your app entirely within VSCode and Docker Desktop

Why use Docker and Dev Containers for Rails?

- **Consistency**: Everyone on your team has the same environment, making collaboration a breeze.
- **Reproducibility**: If something breaks, you can recreate your setup in seconds.
- **Portability**: Take your project anywhere without having to re-install anything.
- **Isolation**: Keep your main system clean and tidy.

I hope this tutorial helps you take your Rails development to the next level. It's a fantastic way to boost your productivity and make your coding life easier.

If you found this helpful, be sure to follow me on [LinkedIn](https://www.linkedin.com/in/shettigarc/) and subscribe to my [YouTube channel](https://www.youtube.com/c/ChandraShettigar) for more tips and tutorials. Happy coding!
let vs var vs Const
Tags: javascript, programming, beginners, webdev
Published: 2024-06-02 04:23:32

 Let’s dive into the differences between var, let, and const in JavaScript. These three keywords are used for variable declaration, but they behave differently. Here’s a breakdown:

## var:
Scope: Variables declared with var are either globally scoped or function/locally scoped.
Globally scoped: If a var variable is declared outside a function, it’s available for use throughout the entire window.
Function scoped: If declared within a function, it’s accessible only within that function.
Hoisting: var variables are hoisted to the top of their scope and initialized with a value of undefined.
Re-declaration and Updates: You can re-declare and update var variables within the same scope without errors.

```
var greeter = "hey hi";
var times = 4;
if (times > 3) {
    var greeter = "say Hello instead";
}
// greeter is now "say Hello instead"

```

## let:
Scope: Variables declared with let have block-level scope. They’re limited to the block they’re declared in (e.g., within loops or conditionals).
Hoisting: Like var, let variables are hoisted but not initialized until the actual declaration.
Reassignment: You can reassign let variables, making them useful when you need to change a value over time.

```
let greeting = "hello";
if (true) {
    let greeting = "hi"; // Different scope
}
// greeting is still "hello"

```

## const:
Scope: Like let, const also has block-level scope.
Reassignment: Variables declared with const cannot be reassigned after their initial assignment.
Use Case: Use const for values that should remain constant (e.g., mathematical constants, configuration settings).

```
const pi = 3.14;
// pi cannot be reassigned

```
Advantage: It improves code readability by clearly indicating immutability.

In summary:

Use let when you need to reassign variables within a block.
Use const for constants that shouldn’t change.
Minimize the use of var due to its function scope and potential issues
Mobilizing Others: Some Reflections
Tags: management
Published: 2024-06-02 04:02:35

I just realized that I am not good at managing. Here are some reflections:

I expected teammates to work at a certain standard and in a certain way that I hadn't specify or encourage. I feel a lack of vocabulary and awareness of praising others or saying positive things in general. 

Although I was the team leader, I didn't feel like leading because I associate leadership with manipulation and coercion, which obviously I don't like therefore I don't want to project these influences towards my teammates.

I don't feel like repeating things (sticking to a certain format when writing the API document) because I thought words of team leader should be executed if no objection was raised. But that is not true.

I wanted to be a software developer partially because of the possibility of creating something great just by myself learning and developing. But that is not true for software developers. SDEs work with other SDEs with different skill levels and technical background, and staff from other departments such as design and product management with less tech-literacy. I can develop by myself and make cool stuff, but that is only for side-projects. For the "day job" (so to speak), working with others is a absolute necessity.

When I watch short videos (which I shouldn't) on platforms such as YouTube, one of the video types I watch is powerful figures commanding the team and getting things done. I guess it's me wanting to do the same thing but lacking the courage to do it.

So today is my first day of correcting these mistakes. I asked one of my roommates whether he was using my tools because I noticed the tools was misplaced. I have been putting this conversation off for a few days. My roommate said no and he didn't blame me at all for bringing up this issue. I felt a bit reassured. It's could be the most trivial thing to mention in a blog like this, but I want to start to do something to correct my habits no matter how small it is.
Where To Buy Bpc157
Tags: product
Published: 2024-06-02 03:55:10

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

Our user-friendly website makes navigating and purchasing products seamless, ensuring a hassle-free experience from start to finish. Detailed product descriptions and transparent information empower our customers to make informed decisions about their purchases. Our dedicated customer service team is always available to assist with any inquiries, providing personalized support and guidance.

[Buy Now](https://primepeptides.co/products/bpc-157)
Bug Bounty Recon <nmap>
Tags: tutorial, beginners
Published: 2024-06-02 03:50:51

## Bug Bounty Recon with Nmap

**Step 1: Install Nmap**
If you're using Kali Linux, Nmap should already be installed. If not, you can install it using the following command:

```bash
sudo apt update
sudo apt install nmap

```

**Step 2: Determine Target Scope**
Decide on the scope of your bug bounty reconnaissance. This could be a specific domain, IP range, or target organization.

**Step 3: Scan for Live Hosts**
Run an initial scan to identify live hosts within your target scope. Replace `target` with your desired target (domain, IP range, etc.).

```bash
nmap -sn target

```


**Step 4: Perform Service Detection**
Once you've identified live hosts, perform service detection to determine which services are running on each host. This will help you identify potential attack vectors.

```bash
nmap -sV target

```


**Step 5: Scan for Open Ports**
Conduct a comprehensive scan to identify open ports and services on each live host. This will provide more detailed information about potential entry points.

```
nmap -p- target

```


**Step 6: Conduct Version Detection**
Perform version detection to identify specific versions of services running on open ports. This information can help you determine if any known vulnerabilities exist.

```
nmap -sV -p<ports> target

```

Replace `<ports>` with a comma-separated list of ports you want to scan.
Example:

```
nmap -sV -p80,443 example.com

```

**Step 7: Conduct OS Detection (Optional)**
Optionally, you can conduct OS detection to determine the operating system running on each host.

```
nmap -O target

```


**Step 8: Perform Aggressive Scan (Optional)**
For a more aggressive scan, use the `-A` flag to enable OS detection, version detection, script scanning, and traceroute.

```
nmap -A target

```

**Step 9: Analyze Results**
Review the scan results to identify potential vulnerabilities or misconfigurations. Pay attention to open ports, services, and version numbers.

**Step 10: Further Enumeration (Optional)**
Depending on the results of your initial scans, you may want to conduct further enumeration using additional tools or techniques, such as vulnerability scanners, web application scanners, or manual testing.

Remember especially being newer to bug bounty utilize sites like HackerOne and the HackerOne Academy and tons of other free resources to help you learn anything you want!!