<?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>Forem: sampath kumar</title>
    <description>The latest articles on Forem by sampath kumar (@sampath_kumar_04fa9e262b9).</description>
    <link>https://forem.com/sampath_kumar_04fa9e262b9</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%2F2336270%2Fff88b2b9-0367-4379-81ac-9992a1ff4457.jpg</url>
      <title>Forem: sampath kumar</title>
      <link>https://forem.com/sampath_kumar_04fa9e262b9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sampath_kumar_04fa9e262b9"/>
    <language>en</language>
    <item>
      <title>How I differentiate between padding and margin</title>
      <dc:creator>sampath kumar</dc:creator>
      <pubDate>Sun, 30 Mar 2025 08:44:44 +0000</pubDate>
      <link>https://forem.com/sampath_kumar_04fa9e262b9/how-i-differentiate-between-padding-and-margin-2cla</link>
      <guid>https://forem.com/sampath_kumar_04fa9e262b9/how-i-differentiate-between-padding-and-margin-2cla</guid>
      <description>&lt;p&gt;Many times I used to get confused between padding and margin. This is how I now think about these two to have a clear distinction between them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Padding
&lt;/h2&gt;

&lt;p&gt;Padding is something I add to protect the content. Like foam packaging around a delicate item. &lt;br&gt;
It comes inside border. &lt;br&gt;
If we have a background color padding area gets background color too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Margin
&lt;/h2&gt;

&lt;p&gt;Margin is something I add to provide a distance between one box to other&lt;br&gt;
Like moat around a castle. &lt;br&gt;
It keeps two boxes from touching each other.&lt;br&gt;
If we add background to the margin doesn't get it&lt;/p&gt;

&lt;p&gt;Here is the link to jsfiddle&lt;br&gt;
&lt;a href="https://jsfiddle.net/sampath5698/574fy36L/6/" rel="noopener noreferrer"&gt;https://jsfiddle.net/sampath5698/574fy36L/6/&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%2Fsaqx7k9fbi9y5sjwcxck.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%2Fsaqx7k9fbi9y5sjwcxck.png" alt="Image description" width="620" height="1390"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>Transfer files between Android and Ubuntu via USB</title>
      <dc:creator>sampath kumar</dc:creator>
      <pubDate>Tue, 19 Nov 2024 11:24:22 +0000</pubDate>
      <link>https://forem.com/sampath_kumar_04fa9e262b9/transfer-files-between-android-and-ubuntu-via-usb-14kh</link>
      <guid>https://forem.com/sampath_kumar_04fa9e262b9/transfer-files-between-android-and-ubuntu-via-usb-14kh</guid>
      <description>&lt;p&gt;I use Ubuntu as my primary OS on my personal laptop. I use an Android phone. I wanted to transfer some files between Android and Ubuntu. I was shocked that Ubuntu doesn't provide the ability to transfer files by default.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to fix the issue.
&lt;/h2&gt;

&lt;p&gt;After spending some time over google I figured that Ubuntu doesn't support MTP by default. I installed gmtp to get the file transfer working&lt;br&gt;
&lt;code&gt;sudo apt-get install gmtp&lt;/code&gt;&lt;/p&gt;

</description>
      <category>ubuntu</category>
      <category>android</category>
      <category>mtp</category>
    </item>
  </channel>
</rss>
