<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Justin Carman on Medium]]></title>
        <description><![CDATA[Stories by Justin Carman on Medium]]></description>
        <link>https://medium.com/@anmolsiwa30?source=rss-f55031fc4ca5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*c1NupUpJyVzi9K4V</url>
            <title>Stories by Justin Carman on Medium</title>
            <link>https://medium.com/@anmolsiwa30?source=rss-f55031fc4ca5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 14:01:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anmolsiwa30/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Basics of building a Website for Beginners. (Design)]]></title>
            <link>https://medium.com/@anmolsiwa30/basics-of-building-a-website-for-beginners-design-85b160236896?source=rss-f55031fc4ca5------2</link>
            <guid isPermaLink="false">https://medium.com/p/85b160236896</guid>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Justin Carman]]></dc:creator>
            <pubDate>Wed, 04 Dec 2024 09:24:16 GMT</pubDate>
            <atom:updated>2024-12-04T09:24:16.360Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building a Website: Step-by-Step from Foundation to Final Touches.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TxwQz505v6Vs-AQfDwjh_A.png" /><figcaption>A Simple HTML example</figcaption></figure><p><em>Note: This is what I learned while creating my own website and wanted to keep a note for myself and for anyone who wants to understand it in an easy way.</em></p><p>Creating a website is like building your dream room. First, you plan the layout, then you decorate it, and finally, you make sure everything works smoothly. Here’s what you need to know, step by step!</p><p><strong>1. The Framework: HTML and CSS Basics </strong><br>Think of HTML as the blueprint of a room and CSS as the paint, wallpaper, and furniture.</p><p><strong><em>- HTML Structure:</em></strong> Like deciding where the bed, table, and shelves go, HTML helps organize your content with tags like `&lt;header&gt;`, `&lt;section&gt;`, and `&lt;footer&gt;`. <br><strong><em>- CSS Layouts:</em></strong> Flexbox and grid are your design tools. Flexbox is like arranging chairs in a row, while grid lets you design a room with tiles, where each piece fits perfectly in its place.</p><p><strong>2. Making It Fit: Responsive Design </strong><br>A good room should be comfy whether it’s for one person or ten. Websites need to adjust too!</p><p><strong><em>- Media Queries:</em></strong> These are like expandable furniture — changing the layout for smaller screens like phones or bigger ones like laptops. <br><strong><em>- Flexible Units (`vw`, `vh`, `rem`, `em`):</em></strong> Imagine using stretchy furniture that adjusts with the room size. `vw` and `vh` change based on the window size, while `rem` and `em` adjust based on font size. <br><strong><em>- `clamp()` Function:</em></strong> This is like a magic couch that expands or shrinks just the right amount, so text looks great on any screen.</p><p><strong>3. Adding Style: Borders, Shadows, and Colors </strong><br>This is where the fun begins — time to decorate your website!</p><p><strong><em>- Shadows and Borders:</em></strong> Think of `box-shadow` as adding a soft glow around a lamp, making things stand out. Borders can be simple lines or colorful gradients, like adding trim to a window. <br><strong><em>- Gradient Borders: </em></strong>These are like painting a fence in a rainbow, giving your site a unique and colorful outline.</p><p><strong>4. Choosing the Right Fonts: Typography Basics <br></strong>Fonts are like choosing the perfect handwriting style for your room’s nameplate.</p><p><strong><em>- Custom Fonts: </em></strong>Using services like Google Fonts is like picking a custom font from a shop to match your website’s theme. <br><strong><em>- Text Styling (`text-transform`, `line-height`): </em></strong>Adjusting the height and spacing between lines is like making sure the handwriting is clear and easy to read.</p><p><strong>5. Placing Elements Just Right: Positioning and Spacing <br></strong>Now it’s time to arrange things perfectly in your room.</p><p><strong><em>- Positioning (`relative`, `absolute`, `sticky`): </em></strong>Imagine placing a painting on the wall — it can stay fixed (`absolute`), move with the room (`relative`), or stick to the top when scrolling (`sticky`). <br><strong><em>- Margins and Padding: </em></strong>Margins are like the space between furniture and the walls, while padding is the cushion around each piece.</p><p><strong>6. Cool Effects: Advanced CSS Tricks <br></strong>Now, add some unique touches to wow visitors.</p><p><strong><em>- `clip-path`:</em></strong> This allows you to cut out shapes like stars or circles, like having a heart-shaped window in your room. <br><strong><em>- Outlines vs. Borders: </em></strong>Outlines don’t affect the layout, like a glow around a button, while borders are like picture frames.</p><p><strong>7. Adapting to All Devices: Mobile Optimization <br></strong>Just like rearranging furniture for a small or large room, your site needs to work on all screen sizes.</p><p><strong><em>- Responsive Fonts with `clamp()`: </em></strong>Ensures text is not too big or too small, like adjusting the size of posters on your wall. <br><strong><em>- Overflow Control:</em></strong> `overflow` makes sure nothing sticks out awkwardly, like keeping furniture from blocking a doorway.</p><p><strong>8. Making It Interactive: Hover and Click Effects <br></strong>Let’s make your room interactive with buttons and icons.</p><p><strong><em>- Hover Effects (`:hover`, `:active`): </em></strong>This is like a lamp that turns on when you wave your hand over it — elements change when hovered or clicked. <br><strong><em>- Icons with Font Libraries: </em></strong>Using icons from libraries like Font Awesome is like adding decorative pillows to a couch.</p><p><strong>9. Speed and Performance: Keeping It Fast <br></strong>A fast website is like a well-organized room — you find everything quickly and easily.</p><p><strong><em>- Lazy Loading:</em></strong> Only load what’s needed when it’s needed, like turning lights on only when you enter a room. <br><strong><em>- Minified CSS and JavaScript:</em></strong> Compressing files is like folding clothes tightly to save space in a suitcase.</p><p><strong>10. Adding Some JavaScript Magic: Interactivity Basics <br></strong>JavaScript is like adding smart home gadgets to your room — now it can do more!</p><p><strong><em>- DOM Manipulation:</em></strong> This lets you change things on your website in real-time, like moving furniture with the push of a button.</p><p><strong>11. Checking for Issues: Debugging and Testing <br></strong>Finally, check your room for any leaks or creaks before showing it off.</p><p><strong><em>- Browser DevTools:</em></strong> These tools are like a flashlight to inspect every corner, making sure everything is perfect.</p><p><strong>Final Thoughts: <br></strong>Building a website is like setting up the perfect room — it takes planning, creativity, and attention to detail. Each part, from the layout to the interactive touches, plays a role in creating a space that’s both functional and beautiful. And remember, the process is just as fun as the final result!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85b160236896" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Mount a Windows NTFS Partition as Read-Write in Linux to Transfer Files]]></title>
            <link>https://medium.com/@anmolsiwa30/how-to-mount-a-windows-ntfs-partition-as-read-write-in-linux-to-transfer-files-850bce8fb662?source=rss-f55031fc4ca5------2</link>
            <guid isPermaLink="false">https://medium.com/p/850bce8fb662</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Justin Carman]]></dc:creator>
            <pubDate>Sun, 17 Nov 2024 20:48:12 GMT</pubDate>
            <atom:updated>2024-11-17T20:48:12.733Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m working from a Live USB with Linux (you know, that cool OS you can run from a USB stick without messing with your main system). I needed to copy some files to my Windows partition, specifically my “Regular D” drive. But when I tried to transfer files over, Linux was like, “Nah, bro, I’m not gonna let you write to this NTFS partition.”</p><p>It was stuck in read-only mode. Ugh.</p><p>But don’t worry, I didn’t freak out. Here’s how I pulled it off, step-by-step. And don’t worry, it’s not as complicated as it sounds. I promise.</p><p>Step 1: Find the Partition</p><p>First things first, I needed to figure out which partition was my “Regular D” drive. So, I ran a quick command to list all my drives and partitions. This is how you can figure out which one is your D drive (mine was `<strong>/dev/sda5</strong>`, but it could be different for you).</p><p>How to know it? Just use the command in the terminal:</p><p><strong>lsblk</strong></p><p>then it will show you a bunch of gobbledygook. You can identify it by looking at the storage size. Or you can do another command:</p><p><strong>fdisk -l</strong></p><p>It will show you Disk models. Your SSD, your Flash Disk(USB) and others if you have.</p><p>Under each Disk model, you can see all the partitions. But the ones that we are looking for will be named as Microsoft basic data(if you are using Windows, of course). Then you can see it’s name as <strong>/dev/sda1</strong> OR <strong>/dev/sda2</strong> and so on. Be very careful in this step.</p><p>But if you still want another way to identify it, let’s say using the name of the partition(Regular D) then you can use:<br><strong>mount</strong></p><p>But it only works if the partition is mounted which should probably be mounted.<br>But the output of `mount` command might overwhelm you. So we can use grep tool to just get what we need. So in this case:</p><p><strong>mount | grep Regular</strong></p><p>And boom, our partition is once again on <strong>/dev/sda5</strong>.</p><p>Once I saw that <strong>/dev/sda5</strong> was my “Regular D”, I knew I was good to go.</p><p>Step 2: Unmount the Partition</p><p>Before I could do anything, I had to unmount the partition. If it’s already mounted, you can’t just jump in and remount it with write access. So, I unmounted it first. Think of it like “disabling” the partition temporarily.</p><p><strong>umount /dev/sda5</strong></p><p>Step 3: Mount It with Read-Write Access</p><p>Okay, here’s where the magic happens. I used the ntfs-3g driver to mount the partition in read-write mode. This is the key. Without ntfs-3g, Linux would treat the partition like a locked box that you can’t open.</p><p>I ran a quick mount command with the read-write flag:</p><p><strong>mount -t ntfs-3g -o rw /dev/sda5 /mnt</strong></p><p>And bam! I could now write to the partition and copy stuff over. So cool, right? But if it didn’t work for you and started showing you <strong>error</strong> like <strong>unclean file system (0, 0)</strong>, check the <strong>bonus tips</strong> for the fix.</p><p>Step 4: Verify It’s Really Mounted as Read-Write</p><p>Just to be 100% sure I wasn’t hallucinating, I ran a quick check to verify that the partition was mounted in read-write mode. If it was successful, it should show `<strong>rw</strong>` (readwrite) in the output. If you see `<strong>rw</strong>`, you’re golden. Go ahead and transfer your files!</p><p>Step 5: Transfer Files</p><p>Now the fun part: file transfer. I could finally copy files to my “Regular D” drive. No more “read-only” walls stopping me.</p><p>I just dragged and dropped (well, technically typed a command, but you get it).</p><p>Step 6: Unmount When You’re Done</p><p>Once I finished copying everything over, I unmounted the partition again. It’s always a good idea to safely eject and unmount before you close up shop. Don’t leave the partition hanging around while it’s still in use.</p><p>A Few Bonus Tips</p><p>Windows Shutdown: Before doing any of this, make sure that Windows is completely shut down. If it’s in Fast Startup or Hibernation mode, the NTFS partition could still be locked. So, make sure you fully shut down Windows (use Shift + Shut Down to make sure it’s not in Fast Startup).</p><p>Use Read-Write Responsibly: It’s fine to transfer files and do basic stuff like that, but be careful not to mess with any system files or make any big changes to the partition from Linux. This isn’t a Windows system, so things might not always go as planned.</p><p>And there you have it! That’s how I was able to get my “Regular D” partition on `<strong>/dev/sda5</strong>` mounted in read-write mode, letting me transfer files from my Linux Live USB to my Windows partition.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=850bce8fb662" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>