<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Md Shykat</title>
    <description>The latest articles on DEV Community by Md Shykat (@pains_arch).</description>
    <link>https://dev.to/pains_arch</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1172895%2Fb8426f22-e9cc-4c73-9153-e0ac648c4c22.jpg</url>
      <title>DEV Community: Md Shykat</title>
      <link>https://dev.to/pains_arch</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pains_arch"/>
    <language>en</language>
    <item>
      <title>How to scan a port and import the results using Metasploitable and Kali Linux</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Fri, 13 Dec 2024 13:53:03 +0000</pubDate>
      <link>https://dev.to/pains_arch/how-to-scan-a-port-and-import-the-results-using-metasploitable-and-kali-linux-2037</link>
      <guid>https://dev.to/pains_arch/how-to-scan-a-port-and-import-the-results-using-metasploitable-and-kali-linux-2037</guid>
      <description>&lt;p&gt;To scan a port and import the results using Metasploitable (a vulnerable virtual machine for security training) and Kali Linux (a penetration testing operating system), you can follow these steps:&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Identify the Target
&lt;/h2&gt;

&lt;p&gt;Find the Metasploitable IP Address:&lt;/p&gt;

&lt;p&gt;Log in to Metasploitable using default credentials (msfadmin/msfadmin).&lt;br&gt;
Use the command ifconfig to find its IP address (e.g., 192.168.1.101).&lt;br&gt;
Ping the Target from Kali:&lt;/p&gt;
&lt;h3&gt;
  
  
  Open a terminal in Kali Linux.
&lt;/h3&gt;

&lt;p&gt;Use ping [Metasploitable IP] to verify connectivity.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx9kdc4f4s488iz0jqen.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx9kdc4f4s488iz0jqen.png" alt="kali terminals" width="370" height="150"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvp3844e159em9lk0sxq8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvp3844e159em9lk0sxq8.png" alt="Kali linux root terminal" width="645" height="517"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 2: Perform a Port Scan
&lt;/h2&gt;

&lt;p&gt;Using Nmap:&lt;br&gt;
Run an Nmap scan from Kali Linux:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nmap -sS -sV -O 192.168.38.129 -oX M1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;-sS: Performs a SYN scan. This is a stealthy scan method that sends SYN packets to identify open ports without completing the TCP handshake.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;-sV: Performs service version detection to determine the software and version running on the open ports.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;-O: Enables OS detection to identify the target's operating system based on response characteristics.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;192.168.38.129: The target IP address to be scanned.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;-oX M1: Outputs the scan results in XML format and saves it to a file named M1. This format is useful for importing into tools like Metasploit.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Review Scan Results: The scan results will list open ports and services running on Metasploitable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Import Results into Metasploit
&lt;/h2&gt;

&lt;p&gt;Start Metasploit Framework on Kali Linux:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;msfconsole
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Import the Nmap scan results:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;db_import /path/to/M1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ensure the database is initialized; run db_status to check. If it's not running, initialize it with:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;msfdb init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify the imported hosts and services:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;hosts
services
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5: Analyze and Plan Exploitation
&lt;/h2&gt;

&lt;p&gt;List Vulnerabilities: Use Metasploit's auxiliary scanners to identify potential vulnerabilities based on the open ports and services.&lt;/p&gt;

&lt;h3&gt;
  
  
  Exploit the Target:
&lt;/h3&gt;

&lt;p&gt;Use appropriate Metasploit modules to exploit vulnerabilities found during the scanning phase.&lt;/p&gt;

</description>
      <category>security</category>
      <category>linux</category>
      <category>learning</category>
    </item>
    <item>
      <title>How to Create a Workspace in Metasploit Console</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Thu, 12 Dec 2024 11:23:46 +0000</pubDate>
      <link>https://dev.to/pains_arch/how-to-create-a-workspace-in-metasploit-console-2kgc</link>
      <guid>https://dev.to/pains_arch/how-to-create-a-workspace-in-metasploit-console-2kgc</guid>
      <description>&lt;p&gt;Creating a workspace in the Metasploit Framework console is straightforward and helps in organizing your penetration testing activities. Here's how you can do it:&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps to Create a Workspace in Metasploit Console
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1.Start Metasploit Console
&lt;/h3&gt;

&lt;p&gt;Launch the Metasploit Framework console by typing:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;msfconsole
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2.List Existing Workspaces (Optional)
&lt;/h3&gt;

&lt;p&gt;To see a list of all current workspaces, use:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workspace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3.Create a New Workspace
&lt;/h3&gt;

&lt;p&gt;To create a new workspace, use the following command:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workspace -a &amp;lt;workspace_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace  with the name you want for the workspace. For example:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workspace -a test_workspace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4.Switch to the New Workspace
&lt;/h3&gt;

&lt;p&gt;Once created, you can switch to the new workspace using:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workspace &amp;lt;workspace_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workspace test_workspace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  5.Verify the Current Workspace
&lt;/h3&gt;

&lt;p&gt;To confirm you’re in the correct workspace, use:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workspace
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The currently active workspace will be marked with an asterisk&lt;code&gt;*.&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6.Delete a Workspace (Optional)
&lt;/h3&gt;

&lt;p&gt;If you no longer need a workspace, you can delete it with:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workspace -d &amp;lt;workspace_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you like this post, please do share.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>ubuntu</category>
      <category>metasploit</category>
      <category>security</category>
    </item>
    <item>
      <title>How to Activate and Enable the PostgreSQL Service on Your Kali Linux System</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Thu, 12 Dec 2024 11:11:21 +0000</pubDate>
      <link>https://dev.to/pains_arch/how-to-activate-and-enable-the-postgresql-service-on-your-kali-linux-system-4cd9</link>
      <guid>https://dev.to/pains_arch/how-to-activate-and-enable-the-postgresql-service-on-your-kali-linux-system-4cd9</guid>
      <description>&lt;p&gt;To activate the PostgreSQL service, you can follow these steps:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Start the PostgreSQL Service
&lt;/h2&gt;

&lt;p&gt;Run the following command to start the PostgreSQL service:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl start postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Enable PostgreSQL to Start on Boot
&lt;/h2&gt;

&lt;p&gt;To ensure PostgreSQL starts automatically at system boot, enable it using:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl enable postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Check the Service Status
&lt;/h2&gt;

&lt;p&gt;Verify that the service is active and running:&lt;/p&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl status postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The output should show that the service is active (running).&lt;/p&gt;

&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If the service does not start, check the logs for detailed information:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;bash:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo journalctl -u postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Ensure PostgreSQL is installed correctly and the configuration files are not corrupted.
Let me know if you encounter any specific issues!&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>postgres</category>
      <category>postgressql</category>
      <category>ubuntu</category>
      <category>security</category>
    </item>
    <item>
      <title>Hydration error while installing NextJS 15</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Thu, 21 Nov 2024 13:56:29 +0000</pubDate>
      <link>https://dev.to/pains_arch/hydration-error-when-installing-nextjs-15-1eb3</link>
      <guid>https://dev.to/pains_arch/hydration-error-when-installing-nextjs-15-1eb3</guid>
      <description>&lt;p&gt;After creating a new next 15 project and running the server&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;if you see these error in your development server:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftsj63dzdwfsdjbk8wdso.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftsj63dzdwfsdjbk8wdso.png" alt="Image description" width="199" height="76"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4ku3yyn08edobdvzows.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4ku3yyn08edobdvzows.png" alt="Image description" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A server/client branch &lt;code&gt;if (typeof window !== 'undefined')&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Variable input such as &lt;code&gt;Date.now()&lt;/code&gt; or &lt;code&gt;Math.random()&lt;/code&gt; which changes each time it's called.&lt;/li&gt;
&lt;li&gt;Date formatting in a user's locale which doesn't match the server.&lt;/li&gt;
&lt;li&gt;External changing data without sending a snapshot of it along with the HTML.&lt;/li&gt;
&lt;li&gt;Invalid HTML tag nesting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.&lt;/p&gt;

&lt;p&gt;See more info here: &lt;a href="https://nextjs.org/docs/messages/react-hydration-error" rel="noopener noreferrer"&gt;https://nextjs.org/docs/messages/react-hydration-error&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Here is the solve
&lt;/h2&gt;

&lt;p&gt;use this &lt;strong&gt;suppressHydrationWarning&lt;/strong&gt; attribute in your layout.tsx file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;return (
    &amp;lt;html lang='en' suppressHydrationWarning&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;if this doesn't solve your problem, then So far these are the mentioned extensions that cause hydration errors I have seen here. You guys can add up further names to gather them in a single place to help other fellow devs:&lt;/p&gt;

&lt;p&gt;1 - ColorZilla&lt;/p&gt;

&lt;p&gt;2 - Wappalyzer&lt;/p&gt;

&lt;p&gt;3 - Urban VPN&lt;/p&gt;

&lt;p&gt;4 - LastPass&lt;/p&gt;

&lt;p&gt;5 - Hacker Vision&lt;/p&gt;

&lt;p&gt;6 - WhatFont&lt;/p&gt;

&lt;p&gt;7 - Video Speed Controller for HTML videos&lt;/p&gt;

&lt;p&gt;8 - Glot&lt;/p&gt;

&lt;p&gt;9 - AI Grammar Checker &amp;amp; Paraphraser – LanguageTool&lt;/p&gt;

&lt;p&gt;10 - Grammarly&lt;/p&gt;

&lt;p&gt;11 - Invert&lt;/p&gt;

&lt;p&gt;12 - Dashlane&lt;/p&gt;

&lt;h1&gt;
  
  
  Happy Coding :)
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>nextjs</category>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>🚀 Unlock the Power of Next.js with These Exciting Features! 🚀</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Sat, 19 Oct 2024 20:59:28 +0000</pubDate>
      <link>https://dev.to/pains_arch/unlock-the-power-of-nextjs-with-these-exciting-features-jjc</link>
      <guid>https://dev.to/pains_arch/unlock-the-power-of-nextjs-with-these-exciting-features-jjc</guid>
      <description>&lt;p&gt;Next.js keeps evolving, making it easier and faster to build incredible web applications. Here are some of the coolest features you don't want to miss:&lt;/p&gt;

&lt;p&gt;1️⃣ App Router&lt;br&gt;
Forget about managing complex routing! The new App Router allows for simpler and more powerful routing solutions. No more worrying about nested routes and layouts – it’s all in one file structure.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example: Define your route with just one file under the /app directory. Next.js takes care of everything!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;2️⃣ Server Actions&lt;br&gt;
Say goodbye to client-side JavaScript overload! Server Actions now enable running logic on the server directly, helping reduce page load times and improving performance.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example: Perform heavy database queries or API calls on the server and send minimal data to the client, keeping your app super fast.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;3️⃣ React Server Components&lt;br&gt;
Next.js now integrates React Server Components, allowing you to render components on the server and send only HTML to the browser. This is perfect for rendering parts of the page that don’t require JavaScript interactivity.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example: Use React Server Components for things like navigation bars, static content, or other UI elements that don’t need constant client-side interaction.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;4️⃣ Turbopack&lt;br&gt;
Meet the all-new bundler, Turbopack. It's 10x faster than Webpack, giving you instant feedback during development and faster builds.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example: Just swap Webpack with Turbopack in your Next.js config, and experience lightning-fast bundling and hot-reloading during development.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;5️⃣ Automatic Static Optimization&lt;br&gt;
Next.js automatically optimizes pages that don’t have server-side code, delivering them as static files. This means even faster load times for static content pages!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Example: Build your landing pages, blogs, or portfolios with Next.js, and let the framework optimize them for blazing speed!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;💻 Ready to supercharge your Next.js projects? Dive into these new features today and experience the future of web development!&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>react</category>
    </item>
    <item>
      <title>VS Code is insanely slow</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Mon, 19 Aug 2024 12:50:56 +0000</pubDate>
      <link>https://dev.to/pains_arch/vs-code-is-insanely-slow-m4g</link>
      <guid>https://dev.to/pains_arch/vs-code-is-insanely-slow-m4g</guid>
      <description>&lt;p&gt;I did the following:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Remove the ESLint extension by Microsoft &lt;/li&gt;
&lt;li&gt;Disabled autosave&lt;/li&gt;
&lt;li&gt;Disabled quick suggestions, only show If ctrl+space&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The most notable improvement I got was when I disabled the auto-save feature in VScode that I enabled a long time ago, it must've been triggering some other stuff such as IntelliSense, code snippets, etc.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>vscode</category>
      <category>programming</category>
      <category>developer</category>
    </item>
    <item>
      <title>Game Zone - gaming community</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Sat, 13 Jul 2024 09:30:06 +0000</pubDate>
      <link>https://dev.to/pains_arch/game-zone-gaming-community-3n31</link>
      <guid>https://dev.to/pains_arch/game-zone-gaming-community-3n31</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/wix"&gt;Wix Studio Challenge &lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw8lf59vhtcc3s0cbz6xv.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw8lf59vhtcc3s0cbz6xv.gif" alt="Image description" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://himulol123.wixstudio.io/game-zone" rel="noopener noreferrer"&gt;https://himulol123.wixstudio.io/game-zone&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Development Journey
&lt;/h2&gt;

</description>
      <category>devchallenge</category>
      <category>wixstudiochallenge</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Differences between Asp.net and Asp.net Core</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Wed, 26 Jun 2024 18:34:54 +0000</pubDate>
      <link>https://dev.to/pains_arch/differences-between-aspnet-and-aspnet-core-23o7</link>
      <guid>https://dev.to/pains_arch/differences-between-aspnet-and-aspnet-core-23o7</guid>
      <description>&lt;p&gt;&lt;strong&gt;ASP.NET and ASP.NET Core are both frameworks for building web applications and services, but they have several key differences. Here are the main distinctions between the two:&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Cross-Platform Support
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Primarily designed to run on Windows. It can run on Windows Server and Internet Information Services (IIS).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Cross-platform, running on Windows, macOS, and Linux. It supports different web servers like Kestrel and IIS and can run in containers and cloud environments.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Performance
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Performance is good but not as optimized as ASP.NET Core.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Highly optimized for performance. It is known for its high throughput and low latency, making it one of the fastest web frameworks available.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Modularity
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Monolithic framework, where many libraries and features are built-in and used by default.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Modular framework, allowing developers to include only the libraries and features they need. This results in a smaller application footprint and better performance.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Unified Framework
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Separate frameworks for different tasks (e.g., ASP.NET MVC for web applications, ASP.NET Web API for building APIs).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Unified framework combining MVC, Web API, and Razor Pages into a single programming model, simplifying development.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Dependency Injection
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Limited and less flexible support for dependency injection, often requiring third-party libraries.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Built-in support for dependency injection, making it easier to manage dependencies and promote better software design practices.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  6. Configuration and Logging
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Configuration is usually done via web.config files, and logging support is more basic.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Uses a more flexible configuration system that supports various sources (e.g., JSON files, environment variables). It also includes a robust logging framework out of the box.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  7. Razor Pages
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Does not have a direct equivalent to Razor Pages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Introduces Razor Pages, a page-based programming model that simplifies the development of page-centric web applications.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  8. Blazor
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Does not support Blazor.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Includes Blazor, a framework for building interactive web UIs with C#. Blazor WebAssembly runs in the browser, while Blazor Server runs on the server.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  9. Open Source and Community
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Developed as a closed-source framework initially, with some components later open-sourced.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Fully open-source from the start, with active contributions from the developer community, ensuring continuous improvement and innovation.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  10. Hosting and Deployment
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Typically hosted on IIS on Windows Server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; More flexible hosting options, including IIS, Kestrel, Nginx, Apache, and can be hosted in various environments like Docker containers and cloud services (e.g., Azure, AWS).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  11. Cross-Platform Support
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET:&lt;/strong&gt; Primarily developed using Visual Studio on Windows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ASP.NET Core:&lt;/strong&gt; Supports development with Visual Studio, Visual Studio Code, and the .NET CLI across all supported platforms (Windows, macOS, Linux).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aspdotnet</category>
      <category>aspnet</category>
      <category>development</category>
      <category>csharp</category>
    </item>
    <item>
      <title>Greedy Algorithm</title>
      <dc:creator>Md Shykat</dc:creator>
      <pubDate>Fri, 21 Jun 2024 00:07:40 +0000</pubDate>
      <link>https://dev.to/pains_arch/greedy-algorithm-10c1</link>
      <guid>https://dev.to/pains_arch/greedy-algorithm-10c1</guid>
      <description>&lt;p&gt;A Greedy Algorithm is a simple, step-by-step way to solve problems. It picks the best choice at each step without looking ahead. It's fast but doesn't always find the perfect solution. Examples include finding the shortest path or making change with the fewest coins.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>cschallenge</category>
      <category>computerscience</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
