teleren/devto huggingface dataset:
8 Must-Have Infrastructure Reconnaissance Tools for Your App Security
Tags: security, cybersecurity, codenewbie, programming
Published: 2023-07-06 08:47:28

**Infrastructure reconnaissance tools are essential for any organization that wants to ensure the security of its digital assets. These tools allow businesses to scan their infrastructure for vulnerabilities, including outdated software versions, open ports, and misconfigured security headers.**
﻿
Check out the infrastructure reconnaissance tools that we use and recommend to keep software secure.

## [crt.sh](https://crt.sh)
* subdomain reconnaissance tool that provides a list of possible subdomains registered for a particular domain,
* shows domain IPs, making it a valuable tool for conducting reconnaissance.

## [VirusTotal](https://www.virustotal.com/gui/home/upload)
* a search engine that can scan any IP address and check open ports, software versions, server location, and other important details,
* highly recommended to scan your site using VirusTotal to ensure that you do not have any unnecessary open ports or outdated software versions that have CVE.
﻿

## [Censys](https://censys.io/)
* provides a detailed analysis of IP addresses,
* lists all domains and provides valuable insights into your network infrastructure.
﻿

## [Phonebook.cz](https://phonebook.cz/)
* scans for email addresses associated with a particular domain,
* helps businesses remove unnecessary emails from their website to reduce the risk of phishing attacks against employees.
﻿

## [SSL Labs](https://www.ssllabs.com/ssltest/)
* analyzes SSL certificates and provides valuable insights into the security of your server certificate,
* checks if your server certificate is trusted, what TLS protocols are supported, and any potential security issues.
﻿

## [Security Headers](https://securityheaders.com/)

* checks if web apps have the correct security headers configured,
* scans your page to learn more about each header and understand how to configure them correctly.
﻿

## [Report URI](https://report-uri.com/)
* analyzes the CSP header, which specifies the security policy that the client should follow when loading scripts, styles, images, etc.,
* generates a policy based on existing data.
﻿

## [Mozilla Observatory](https://observatory.mozilla.org/)
* aggregates several websites and provides an option to check headers, do TLS scans and see third-party analysis,
* provides businesses with a comprehensive infrastructure reconnaissance solution.

## There are more tools to discover

Check out other tools and tactics listed in the [free security ebook](https://brightinventions.pl/blog/app-security-free-ebook/?utm_source=dev.to&utm_medium=referral&utm_campaign=article_infra). Download it now!

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

---

By Rafał Hofman, Fullstack Developer @ Bright Inventions.
Reactive principles
Published: 2023-07-06 08:41:44

---
title: Reactive principles
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-06-26 10:41 +0000
---


https://drive.google.com/file/d/1J3zFYbxQJCHQazzP7jg9adQDtRtWt1_M/view?usp=sharing
How to: copy/move AWS EC2 instance from one account to another
Tags: aws, ec2, cloud, beginners
Published: 2023-07-06 08:31:18

Hello. It is my first post and it will be pretty simple.
I am a beginner in AWS Cloud so if the solution does not belong to best practice - you can bit me in the comments)

**Situation**:
So, there was a situation when my AWS free tier ends in my old account. I have a running instance with web-server on EC2.  

**Task:**
And I needed to move my single AWS EC2 instance in this old account to another, newly created one.  

**Action:**
The steps to do are:
* _Export the EC2 Instance:_ Export the EC2 instance we want to copy by creating an Amazon Machine Image (AMI) of the instance. An AMI is a template for creating new EC2 instances. We can create an AMI by selecting the instance in the AWS Management Console, right-clicking on it, and choosing the "Create Image" option. Provide a name and description for the AMI.

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

* _Share the AMI:_ After creating the AMI, we need to share it with the destination AWS account (my new acc, in this case). To do this, we go to the EC2 dashboard in the source (old) AWS account, select the AMI we just created, and choose the "Actions" menu. From there, select "Modify Image Permissions" and enter the account ID of the destination AWS account. Save the changes to make the AMI available in the destination account.

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

* _Import the AMI:_Now we need to log in to the AWS Management Console using the destination (new) AWS account credentials. After that, we need to choose the same region as in the source (old) account and navigate to the EC2 dashboard.
Then select the "AMIs" option from the sidebar. Here, we should see the shared AMI from the source (old) account. Select the AMI and choose the "Launch" option to launch a new EC2 instance from the AMI. 

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

* _Configure the New EC2 Instance:_ The last but not least step is to follow the prompts to configure the new EC2 instance in the destination (new) account. We can choose the instance type, VPC, subnet, security groups, and other settings based on our requirements. Once configured, we can launch the instance.
P.S. We can delete AMI and snapshots on both accounts after the instance is launched for saving the costs proposed (of course we need to set up a backup for our data, but it is the other topic).

**Result:** As a result we moved our EC2 instance from one aws account to another in the same region.

Thank you for reading. 

Later I will add a section to this post about how to copy an instance to another region, and how to create a new instance from our AMI in a new account using Terraform.

Feel free to live comments with critics or not.
Dissertation Help UK
Tags: writing
Published: 2023-07-06 08:28:49

We are offering dissertation writing services in all disciplines. Our experts are known for their quality work and rapid service. We offer **[Dissertation Help UK](https://www.dissertationhelpexperts.co.uk/)** at an affordable price that every student can benefit from without thinking twice about the budget. Grab this opportunity and allow us to support you in completing your dissertation with exceptional quality. 
Through dissertation writing help UK, students can have the best dissertation services at an affordable cost. Our professional writers keep upgrading their knowledge as the domain trends change and incorporate their knowledge in the thesis to make it presentable enough so that the committee board of the dissertation is impressed. Contact us and get your dissertation ready before the deadline.
IT Playground: Where ASD and Introversion Excel
Tags: autistic, extroverts, introverts, programming
Published: 2023-07-06 08:24:37

In general, about 1% of people without Autism Spectrum Disorder (ASD) fall into the autism spectrum. However, within the IT industry, if we take a group of 100 people, 4 of them would have ASD. This means that the ASD population among IT workers is four times higher than in the general population.

It has been observed that many programmers are highly introverted, although an exact percentage is difficult to determine. If you want to advance in the IT industry, you need to study, read, and learn new things every day. These activities often take place outside of working hours, requiring you to spend more time staring at a screen than you might expect.

For an extrovert, this can be their worst nightmare. However, for introverts, it may not be a big problem. Yet, introverts still have desires beyond work. On the other hand, an extrovert might find this situation bit more intimidating. However, individuals with ASD often develop intense interests and obsessions. They may enthusiastically share their knowledge about a specific topic, such as dinosaurs, with anyone they meet as long as they are ready to listen. Therefore, if a person with ASD develops an interest in IT, it means they may excel while others lag behind.

Despite these advantages, individuals with ASD face certain challenges in the IT industry. Due to limited social and communication skills, their true potential often goes unrecognised. Convincing them to consider alternative perspectives or ideas can be difficult, as they tend to have firm beliefs. Additionally, individuals with ASD may struggle to effectively market themselves, leading to prolonged employment in the same position with low remuneration. It is worth noting, historical figures like Einstein faced similar challenges but were able to negotiate better salaries with the support of their partner.

However, these challenges should not discourage extroverts from pursuing a career in IT. Their social skills can be advantageous, allowing them to thrive and lead fulfilling lives in the industry. Extroverts are better at marketing them self. After all, a world with only introverts would be quite boring.

The characteristics that may be considered disadvantages in other fields actually work to the advantage of introverted and ASD individuals in IT, particularly in programming. That's why, in popular culture, the image of the best programmer or IT expert often depicts someone who prefers solitude and guards their workspace.

In the IT industry, introverts may be more prevalent, but there is still a significant presence of extroverts, accounting for approximately 40% of professionals (This is just an educated guess). This diverse mix of personalities and working styles contributes to the dynamic nature of the field.

In conclusion, the IT industry provides a playground where individuals with ASD and introverted tendencies can thrive. By embracing their strengths and unique perspectives, they can excel in this ever-evolving field.
#LearnedToday: WTF JS
Tags: javascript, webdev, learnedtoday, github
Published: 2023-07-06 08:23:00

A list of funny and tricky JavaScript examples by [Denys Dovhan](https://github.com/denysdovhan).

Knowing the edge cases can help you understand JavaScript thoroughly!

🔗 https://github.com/denysdovhan/wtfjs
Breaking down challenging IT certification exam topics
Tags: webdev, beginners
Published: 2023-07-06 08:16:49

How do IT Exam Dumps work?
IT Exam Dumps are collections of questions and answers that have been compiled by individuals who have taken a particular IT certification exam. <a href="https://examlabsdumps.com/best-exam-dumps-websites/it-exam-dump/">Exam Labs Dumps</a>The purpose of these dumps is to help other aspiring candidates prepare for their own exams.
These dumps are created through different methods, but most commonly involve taking notes during the actual exam or using memory-recall techniques after the test has been completed. Once the questions and answers have been gathered, they are organized into a document or file that can be easily accessed by others.
Using IT Exam Dumps can be beneficial in several ways. They provide candidates with an opportunity to practice answering real-world questions, <a href="https://examlabsdumps.com/best-exam-dumps-websites/it-exam-dump/">IT Exam Dump</a>which helps them become more familiar with the types of questions they may encounter on their actual exam. Additionally, practicing with these dumps can improve confidence levels and increase overall chances of passing the certification test.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f4td6cxdmjcwbv28ugu8.jpg)
However, it's important to note that simply memorizing these dump materials does not guarantee success on an IT certification exam. While they may provide some insight into what topics will be covered on test day, it's still crucial to thoroughly understand all concepts related to your chosen field before attempting any official examination.
IT Exam Dumps serve as useful tools for supplementing one's study materials and boosting confidence levels prior to an IT certification exam.
Unbeatable Offers Await! Discover Amazing Deals on our Website Today!" https://examlabsdumps.com/best-exam-dumps-websites/it-exam-dump/
Read the story of Arif's dream joy in Ittefaq paper.
Tags: news, career, learning
Published: 2023-07-06 08:15:26

People do not exist without suffering. Everyone has difficulties in their life. Every step has to be fought and struggled. For some people this suffering is little and for some this suffering is very much. I understand how much it takes to achieve even a little in life. Let me share with you some lessons from my life.

If you want to do something good in life or reach your desired goal then first of all shed your emotions and learn to be alone, fight alone. If you have many friends in life, leave them first. Because one day you will see that even your best friend will not come forward in your time of need or danger. Make proper use of time. Every second that goes out of your life will never come back so make use of the time.

Along with studies you need to acquire skills in any field. First, figure out what you like to do best, and strive to master it. Remember that at this same time many will come to give you knowledge but he will not be by your side but will weaken you. So go ahead at your own pace without listening to anyone's words. We read from our childhood that 'buying a book never goes bankrupt', just like if you lose a fortune to acquire any skill you have, remember that if your hard work and intentions are honest, you can get it back.

If you can't learn by yourself, if you need a mentor, then enroll in a good course. Don't be afraid to buy a 'good course and you won't go broke'. Learn to your best. Work hard and suffer. Don't expect to get money or a job early and your hard work will get you to the right place at the right time. So spend time behind the flame first.
This is the time to lose the most morale. There may be many pests in your society or around you who will always tell you what you are doing? Can't do anything with it. You will not be given etc. Again, you may think that you will not be able to, but keep in mind that this little boy can do it, so why can't I? Keep trying again and again and never give up under any circumstances. Carry on you can it you must.

The most turning point of my life was the 'Think-In-A-Redux-Way' course of Learn with Sumit when I didn't have a single rupee and enrolled in the course with the money I took from my mother. It didn't teach me, but it changed the direction of my life ❤️.

Acknowledgments and thanks to Dainik Ittefaq for publishing this report. And many thanks and love to Shakirul Alam Shakil brother. Brother's words and behavior are incredibly beautiful 💐.

**Read the story of my dream joy in Ittefaq paper. Where I spoke some truth and correct words of my life.**

[E-paper link](https://www.ittefaq.com.bd/649138)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kq2r1cajmv7zi8e5owct.jpg)
Are you looking to #hire talented #iOS #developers?
Tags: ios, development, hiring, developer
Published: 2023-07-06 08:05:13

Our new longread dives deep into the world of iOS #development popularity, hiring #engineers from this field, providing valuable advice, proven strategies, and a step-by-step #guide. 

⬇️  Click below to read more and revolutionize your #hiring process by using the Devler.io platform! 
[](https://devler.io/hire-ios-developers )

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/msmk3f7hpt02ntye5jp0.png)
Node.js vs Python, Which Language is Faster for Your Website?
Tags: node, python, website, hirenodejsdevelopers
Published: 2023-07-06 07:31:49


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

Node.js is a runtime environment used for executing JavaScript code outside of a web browser, which is optimized for fast and efficient server-side web development. It utilizes the V8 engine for executing JavaScript code and employs single-module caching and event-driven architecture.

**Python**

Python, on the other hand, is a general-purpose programming language that is used for various tasks such as web development, data analysis, scientific computing, and machine learning, among others

**Performance comparison (handling user requests)**

When it comes to raw performance, Node.js may outperform Python in certain web applications that require handling many concurrent connections, with Node.js capable of handling up to 100 req/s compared to Python's 50 req/s.

Conclusion

Node.js is a suitable technology for building websites with a massive user base. It is recommended to [hire Node.js developers](https://www.biztechcs.com/hire-nodejs-developer/) in order to build scalable websites.
Laravel error handling
Tags: laravel, exception, programming, php
Published: 2023-07-06 07:08:14

Just a post on Exception handling using Laravel, the following code is for catching known exceptions:



```php

    public function set_quote(Request $request)
    {
        
        // Validate input
        $this->rules = [
            'id' => '',
            'author' => 'required',
            'quote' => 'required',
        ];
        $validator = Validator::make($request->all(), $this->rules);

        if($validator->fails())
            return response()->json(['code'=>400, 'message'=>$validator->errors()->first()], 200);
        try{
         
            $resp = Quote::updateOrCreate(['id' => $request->id], $request->all());
            $this->data['response'] = $resp;
            if($resp->wasRecentlyCreated == true)
                return response()->json(['code'=>200, 'message' => 'Created Successfully', 'data'=>$this->data], 200);       
            elseif($resp->wasRecentlyCreated == false)
                return response()->json(['code'=>200, 'message' => 'Updated Successfully', 'data'=>$this->data], 200);   
        }
        catch(\Illuminate\Database\QueryException $e)
        {
            $er_msg = 'Data truncated as data too long';   
            return response()->json(['code'=>400, 'message' => $er_msg, 'data'=>[]], 200);
        }
        catch(Exception $e)
        {
            //echo get_class($e); //To get the exception class name
            $er_msg = $e->getMessage();   
            return response()->json(['code'=>400, 'message' => $er_msg, 'data'=>[]], 200);
        }    
        /*finally
        {
            return response()->json(['code'=>400, 'message' => $er_msg, 'data'=>[]], 200);   
        }*/

    }
```

`N.B: For namespacing, you need to first \ if the class is not included as a use statement.`
Choosing Wisely Between Dreams and Nightmares in Startup Arena
Published: 2023-07-06 07:20:26


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

So, you have an idea for a new SaaS product and are ready to bring it to life? However, this journey won’t be without its challenges — especially if software engineering is unfamiliar territory. One of the most significant hurdles is deciding where to start.

This involves weighing up options like a custom-built system or a headless Content Management System (CMS). Be prepared to assess these choices thoughtfully, as they will impact your success down the line.

Embarking on an entrepreneurial journey entails understanding the gravity of your decisions. Stark statistics from MIT and Failory indicate a bleak reality: only 10% of startups succeed. The startup path is riddled with obstacles like team conflicts, financial crises, marketing roadblocks and technical challenges — brace yourself for these formidable hurdles.

To navigate this challenging terrain successfully, let us offer you valuable insights and experiences in the forthcoming article. We will provide potential solutions to address some critical issues, thereby enhancing your chances of success.

**Selecting the right platform**
When building a SaaS platform, it’s important to consider the different options available to you. Two commonly used options are bespoke platforms and headless CMS.

[Originally published at https://www.linkedin.com. and you can continue reading on it.
](https://www.linkedin.com/feed/update/urn:li:activity:7076977649415241729/)
🌊 A better way to do image/file imports?
Tags: vscode, javascript, react
Published: 2023-07-06 07:07:40

Do you know the situation when you are in the middle of your code and want to import an image to use it right there?

You need to:

1. leave your current line and jump to the top of your file 2. write something like `import imageTest from './test-image.jpg` 
3. get back to the line you left.

I hate things like that because they can interrupt my flow and throw me off.

With [automatic import sorting](https://dev.to/receter/automatic-import-sorting-in-vscode-275m), at least I don't have to find the right spot to import it. I can just add the import in the first line and it will be sorted automatically.

**Here's the flow I'd like to get going:**

1. write the variable name you would like to use and select it:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nfzrg557d4hy3bjf2dt8.png)
2. Hit a hotkey eg. `cmd-shift-i`: This will bring up a dialog where i can choose a file like this: ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ivgi06oirw8xme3cfq59.png)
3. Hit enter
Done.

## Notes

**Importing svgr**

When using [svgr](https://dev.to/receter/so-easy-svg-with-currentcolor-in-create-react-app-1aid), it would be nice to be able to choose whether to import the SVG as a ReactComponent.

```javascript
// A
import iconTest from 'icon-test.svg'
// B
import { ReactComponent as SvgIconTest } from 'icon-test.svg'
```

**Existing solutions**
This is the only plugin I found so far:
https://github.com/ElecTreeFrying/auto-import-relative-path

You can select a file in the sidebar and it does import the file in the currently active tab.

Looks cool but still not exactly what I'm looking for.

---

Do you have any solution for this or a better idea? If I would make a VSCode plugin, would you use it? Any other thoughts?
Coding 101: How is Coding Different from Programming?
Tags: codenewbie, beginners, discuss
Published: 2023-07-06 07:00:00

_This week's discussion series is dedicated to helping beginners on their coding journey by addressing common doubts and misconceptions. We will delve into fundamental concepts, explore essential tools, and shed light on industry practices, providing clarity and guidance to those who are new to coding. If you're an experienced developer, your valuable insights, explanations, and best practices are highly encouraged and appreciated to support and mentor aspiring coders!_

> Have you ever wondered about the nuances between coding and programming? Let's dive into their distinctions, understand their roles in software development, and share our experiences with each!

Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!

*{% embed* https://dev.to/codenewbieteam *%}*
How Do You Foster Accountability & Meet Deadlines in Coding Teams?
Tags: discuss, productivity
Published: 2023-07-06 07:00:00

Re: team accountability, in your experience, what strategies have proven effective in promoting responsibility and ensuring timely completion of coding tasks? 

Share your insights, anecdotes, and tips to help us all level up our team collaboration game. 

Follow the DEVteam for more discussions and online camaraderie!

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}