<?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: Ismail</title>
    <description>The latest articles on Forem by Ismail (@ismailravian).</description>
    <link>https://forem.com/ismailravian</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%2F489010%2F98307323-998d-41cf-bfc0-21048cf69b01.jpg</url>
      <title>Forem: Ismail</title>
      <link>https://forem.com/ismailravian</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ismailravian"/>
    <language>en</language>
    <item>
      <title>Reduce your AWS S3 cost</title>
      <dc:creator>Ismail</dc:creator>
      <pubDate>Wed, 26 Apr 2023 20:16:18 +0000</pubDate>
      <link>https://forem.com/ismailravian/reduce-your-aws-s3-cost-3lco</link>
      <guid>https://forem.com/ismailravian/reduce-your-aws-s3-cost-3lco</guid>
      <description>&lt;p&gt;🚀 Introducing s3-abort-multipart-uploads: A Time and Cost-Saving Tool for AWS S3!&lt;/p&gt;

&lt;p&gt;Are you tired of dealing with incomplete multipart uploads in Amazon S3?  open-source project helps you clean up your storage and reduce costs with ease.&lt;/p&gt;

&lt;p&gt;🌟 Key Features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automatically aborts incomplete multipart uploads in S3&lt;/li&gt;
&lt;li&gt;Improves storage usage and lowers costs&lt;/li&gt;
&lt;li&gt;Easy to deploy in AWS CloudShell&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🔗 Explore the code and contribute on GitHub: &lt;a href="https://github.com/richtechteam/s3-abort-multipart-uploads"&gt;https://github.com/richtechteam/s3-abort-multipart-uploads&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>s3</category>
      <category>devops</category>
      <category>bash</category>
    </item>
    <item>
      <title>SQL query optimization, 3 min to 0.5 sec</title>
      <dc:creator>Ismail</dc:creator>
      <pubDate>Wed, 29 Mar 2023 10:57:05 +0000</pubDate>
      <link>https://forem.com/ismailravian/sql-query-optimization-3-min-to-05-sec-49f2</link>
      <guid>https://forem.com/ismailravian/sql-query-optimization-3-min-to-05-sec-49f2</guid>
      <description>&lt;p&gt;Today, I was working on an SQL query and managed to optimize it. Previously, it took almost three minutes to run, but after optimization, it now takes only 0.5 seconds.&lt;/p&gt;

&lt;p&gt;To achieve this optimization, I converted some of the sub-queries into joins. This is because sub-queries tend to take a lot of time when dealing with large amounts of data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rk3-M9UK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tsj19jwnyuxild24icpt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rk3-M9UK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tsj19jwnyuxild24icpt.jpg" alt="Image description" width="820" height="1302"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>database</category>
      <category>sql</category>
    </item>
    <item>
      <title>Generate Dynamically months array in PHP</title>
      <dc:creator>Ismail</dc:creator>
      <pubDate>Tue, 07 Feb 2023 08:20:22 +0000</pubDate>
      <link>https://forem.com/ismailravian/generate-dynamically-months-array-in-php-57im</link>
      <guid>https://forem.com/ismailravian/generate-dynamically-months-array-in-php-57im</guid>
      <description>&lt;p&gt;if date is 2023-02-07 then run only till to feb &lt;br&gt;
if date is 2022-06-12 then run loop only till to June if date is 2022-12-31 then run till to dec&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$selected_date= "02/07/2022" // d/m/Y
$selected_month_number = date('n', strtotime($selected_date));
$selected_year = date('Y', strtotime($selected_date));

$months = array();

for ($i = 1; $i &amp;lt;= $selected_month_number; $i++) {
    $month_name = date('M', strtotime("$selected_year-$i-01"));
    array_push($months, $month_name);
}
 print_r($months);
//  Out put will be Array ( [0] =&amp;gt; Jan [1] =&amp;gt; Feb )
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>aws</category>
      <category>community</category>
      <category>howto</category>
      <category>career</category>
    </item>
    <item>
      <title>Google map how to show city boundaries</title>
      <dc:creator>Ismail</dc:creator>
      <pubDate>Sat, 21 Jan 2023 09:18:25 +0000</pubDate>
      <link>https://forem.com/ismailravian/google-map-how-to-show-city-boundaries-1kh3</link>
      <guid>https://forem.com/ismailravian/google-map-how-to-show-city-boundaries-1kh3</guid>
      <description>&lt;p&gt;I recently worked on a project where I had to show city boundaries on a Google Map, and it was not an easy task. However, I was able to figure it out and complete the project successfully. If you're interested, you can check out my article on how to display city boundaries using Google Maps. It goes into detail on the process I followed and the challenges I faced. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://richtech.io/google-map-show-the-city-or-any-area-boundaries-on-map/" rel="noopener noreferrer"&gt;https://richtech.io/google-map-show-the-city-or-any-area-boundaries-on-map/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
  </channel>
</rss>
