<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Tips on Amir Pourmand</title>
    <link>https://amirpourmand.ir/tags/tips/</link>
    <description>Recent content in Tips on Amir Pourmand</description>
    <image>
      <title>Amir Pourmand</title>
      <url>https://amirpourmand.ir/opengraph/opengraph.png</url>
      <link>https://amirpourmand.ir/opengraph/opengraph.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>All content on this site is licensed under a CC-BY-4.0 license.</copyright>
    <lastBuildDate>Fri, 29 Nov 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://amirpourmand.ir/tags/tips/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Docker Commands I use on a daily basis</title>
      <link>https://amirpourmand.ir/posts/2024/docker-commands-i-use/</link>
      <pubDate>Fri, 29 Nov 2024 00:00:00 +0000</pubDate>
      <guid>https://amirpourmand.ir/posts/2024/docker-commands-i-use/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been using docker for years. And there are multiple commands which have been very useful to me.&lt;/p&gt;
&lt;p&gt;To me, Docker is one of the most innovative creations of all the time. I see it as basically the best way to release software.&lt;/p&gt;
&lt;p&gt;The upside is that once you set a Dockerfile and built a package, you don&amp;rsquo;t have to worry about whether the system dependencies are installed correctly or not.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What are Makefiles and Why should anyone use them?</title>
      <link>https://amirpourmand.ir/posts/2024/makefiles-and-their-applications/</link>
      <pubDate>Fri, 19 Jul 2024 00:00:00 +0000</pubDate>
      <guid>https://amirpourmand.ir/posts/2024/makefiles-and-their-applications/</guid>
      <description>&lt;p&gt;Makefiles are one of the most useful tools I&amp;rsquo;ve been working with. I can say that it can be useful for lots of projects (with any language).&lt;/p&gt;
&lt;h3 id=&#34;what-is-makefile&#34;&gt;What is Makefile?&lt;/h3&gt;
&lt;p&gt;Makefiles are essentially a place where you can store your most frequently used commands in one place. They make repetitive tasks easier by creating short commands.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s take a look at sample file:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;install_packages&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;	&lt;/span&gt;&lt;span class=&#34;l&#34;&gt;pip install -r requirements.txt&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;generate_deps&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;	&lt;/span&gt;&lt;span class=&#34;l&#34;&gt;pip-compile requirements.in -o requirements.txt&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;docs&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;pdoc --html --force --output-dir docs common&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The way to execute this &lt;strong&gt;targets&lt;/strong&gt; would be using &lt;code&gt;make generate_deps &lt;/code&gt;or &lt;code&gt;make docs&lt;/code&gt;. By default make command will search for a file named &lt;code&gt;Makefile&lt;/code&gt; (with no extension) to run your commands.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Automatically Send Azure Alerts into Slack Channels</title>
      <link>https://amirpourmand.ir/posts/2024/azure-slack-integration/</link>
      <pubDate>Fri, 28 Jun 2024 00:00:00 +0000</pubDate>
      <guid>https://amirpourmand.ir/posts/2024/azure-slack-integration/</guid>
      <description>&lt;p&gt;Recently, I wanted to have an easy way to send azure &lt;code&gt;Application Insights&lt;/code&gt; notifications into Slack.&lt;/p&gt;
&lt;p&gt;Actually I am writing this tutorial two month after setting up this workflow and I hope I don&amp;rsquo;t forget anything. This method has been working pretty good in the last couple of months.&lt;/p&gt;
&lt;p&gt;Note that this is mostly free and I am just using Azure Services (App Logic and Applications Insights) and &lt;a href=&#34;https://api.slack.com/messaging/webhooks&#34;&gt;Slack Incoming Webhook&lt;/a&gt; app (which is free).&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Record Google Meet Session With OBS Studio</title>
      <link>https://amirpourmand.ir/posts/2024/record-google-meet-obs/</link>
      <pubDate>Sun, 19 May 2024 00:00:00 +0000</pubDate>
      <guid>https://amirpourmand.ir/posts/2024/record-google-meet-obs/</guid>
      <description>&lt;p&gt;Some days ago, I wanted to record a Google Meet session as a podcast and I didn&amp;rsquo;t want to pay for just recording the call, neither to google nor third party services.&lt;/p&gt;
&lt;h2 id=&#34;update-2024-11-02&#34;&gt;Update 2024-11-02&lt;/h2&gt;
&lt;p&gt;Previously, I used the browser method to record the screen since I heard my voice twice in the recording. This way, the issue is fixed.&lt;/p&gt;
&lt;p&gt;But, There are other solutions! The better solution would be to just record the screen normally. These would be the sources.  One would capture your audio, and the other would capture your screen and their audio.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
