<?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: Mahfuz Shaikh</title>
    <description>The latest articles on Forem by Mahfuz Shaikh (@mah3uz).</description>
    <link>https://forem.com/mah3uz</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%2F69964%2F7246012b-d5dd-41c5-91ca-82d1e7fd800e.jpg</url>
      <title>Forem: Mahfuz Shaikh</title>
      <link>https://forem.com/mah3uz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mah3uz"/>
    <language>en</language>
    <item>
      <title>Could you tell the issue?</title>
      <dc:creator>Mahfuz Shaikh</dc:creator>
      <pubDate>Thu, 04 Nov 2021 15:05:47 +0000</pubDate>
      <link>https://forem.com/mah3uz/could-you-tell-the-issue-673</link>
      <guid>https://forem.com/mah3uz/could-you-tell-the-issue-673</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3USpsUly--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1oa9jiyl0fysy0p4e5sv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3USpsUly--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1oa9jiyl0fysy0p4e5sv.png" alt="Laravel eloquent query" width="880" height="987"&gt;&lt;/a&gt;&lt;br&gt;
Hey thank you for reading and helping me :)&lt;br&gt;
The above Laravel eloquent queries giving different result. Could you tell the difference? I am one step away from pulling my hair .&lt;/p&gt;

</description>
      <category>php</category>
      <category>laravel</category>
      <category>database</category>
      <category>help</category>
    </item>
    <item>
      <title>Explain Enumeration in computing</title>
      <dc:creator>Mahfuz Shaikh</dc:creator>
      <pubDate>Sun, 05 Jan 2020 18:34:47 +0000</pubDate>
      <link>https://forem.com/mah3uz/explain-enumeration-in-computing-2d0i</link>
      <guid>https://forem.com/mah3uz/explain-enumeration-in-computing-2d0i</guid>
      <description>&lt;p&gt;Can you please explain to me what is Enumeration in computing.&lt;/p&gt;

</description>
      <category>explainlikeimfive</category>
      <category>basiccomputing</category>
    </item>
    <item>
      <title>Please Help me out on Bash script CRON </title>
      <dc:creator>Mahfuz Shaikh</dc:creator>
      <pubDate>Tue, 06 Nov 2018 05:28:14 +0000</pubDate>
      <link>https://forem.com/mah3uz/please-help-me-out-on-bash-script-cron--4phl</link>
      <guid>https://forem.com/mah3uz/please-help-me-out-on-bash-script-cron--4phl</guid>
      <description>

&lt;p&gt;Hey folks how are you doing. Need a help.&lt;br&gt;
I have a bash script to backup MySQL databases, that runs on a daily cronjob. Everything is working fine as intended but only there is an error on S3 upload part. The script is working good on manual execution but the cronjob execution says:&lt;br&gt;
&lt;code&gt;s3: command not found&lt;/code&gt;&lt;br&gt;
The S3 upload code is below.&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;S3_BUCKET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"s3-bucket-name"&lt;/span&gt;
&lt;span class="nv"&gt;AWS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;which aws&lt;span class="k"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="nv"&gt;$AWS&lt;/span&gt; s3 &lt;span class="nb"&gt;cp &lt;/span&gt;backups.tar.gz s3://&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;S3_BUCKET&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Any help would be appreciated. Thanks all.&lt;/p&gt;


</description>
      <category>help</category>
      <category>bash</category>
      <category>awscli</category>
    </item>
    <item>
      <title>Explain ORM oneToMany, manyToMany relation like I'm five</title>
      <dc:creator>Mahfuz Shaikh</dc:creator>
      <pubDate>Fri, 29 Jun 2018 14:22:48 +0000</pubDate>
      <link>https://forem.com/mah3uz/explain-orm-onetomany-manytomany-relation-like-im-five-94i</link>
      <guid>https://forem.com/mah3uz/explain-orm-onetomany-manytomany-relation-like-im-five-94i</guid>
      <description></description>
      <category>orm</category>
      <category>explainlikeimfive</category>
    </item>
  </channel>
</rss>
