<?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 Muhammad Ali on Medium]]></title>
        <description><![CDATA[Stories by Muhammad Ali on Medium]]></description>
        <link>https://medium.com/@alipetarain?source=rss-96619971798a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Muhammad Ali on Medium</title>
            <link>https://medium.com/@alipetarain?source=rss-96619971798a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 07:44:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alipetarain/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[Formik Hooks Ant Design Select Set Value]]></title>
            <link>https://alipetarain.medium.com/formik-hooks-ant-design-select-set-value-ba1f4fbd51f8?source=rss-96619971798a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba1f4fbd51f8</guid>
            <category><![CDATA[ant-design-select]]></category>
            <category><![CDATA[formik-select]]></category>
            <category><![CDATA[formik]]></category>
            <category><![CDATA[ant-design]]></category>
            <category><![CDATA[antd-formik]]></category>
            <dc:creator><![CDATA[Muhammad Ali]]></dc:creator>
            <pubDate>Tue, 08 Dec 2020 14:32:54 GMT</pubDate>
            <atom:updated>2020-12-08T14:32:54.165Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi,</p><p>I have been struggling with setting up select value with formik hooks, ant design and yup for validation. The ant design select does not set value onChange/onSelect. This is what creates the problem. So, I set the value manually and works perfectly as expected. Following is the code of my form.</p><pre>&lt;Select</pre><pre>placeholder=&quot;Connect Frequency&quot;</pre><pre>style={{ width: 120 }}</pre><pre>value={formik.values.frequency}</pre><pre>onChange={(value) =&gt; { formik.setFieldValue(&#39;frequency&#39;, value); }}</pre><pre>onBlur={formik.handleBlur}</pre><pre>onSelect={formik.handleChange}</pre><pre>&gt;</pre><pre>&lt;Option value=&quot;weekly&quot;&gt;Weekly&lt;/Option&gt;</pre><pre>&lt;Option value=&quot;monthly&quot;&gt;Monthly&lt;/Option&gt;</pre><pre>&lt;/Select&gt;</pre><pre>&lt;/FormItem&gt;</pre><p>The complete form file is available at the following gist.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/81fb72a356781cd04c7192e595111022/href">https://medium.com/media/81fb72a356781cd04c7192e595111022/href</a></iframe><p>Hope that will help someone a day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba1f4fbd51f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Nextjs with custom server & proxy on Firebase Function]]></title>
            <link>https://alipetarain.medium.com/deploy-nextjs-with-custom-server-proxy-on-firebase-function-290256cb1c50?source=rss-96619971798a------2</link>
            <guid isPermaLink="false">https://medium.com/p/290256cb1c50</guid>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[nextjs-custom-server]]></category>
            <category><![CDATA[express-nextjs]]></category>
            <category><![CDATA[firebase-functions]]></category>
            <dc:creator><![CDATA[Muhammad Ali]]></dc:creator>
            <pubDate>Mon, 07 Dec 2020 07:51:40 GMT</pubDate>
            <atom:updated>2020-12-07T09:40:50.345Z</atom:updated>
            <content:encoded><![CDATA[<p>This guide is based on the following guide.</p><p><a href="https://itnext.io/deploying-next-js-app-to-firebase-functions-eb473791d79e">Deploying Next.js App to Firebase Functions</a></p><p>I had a hard time deploying nextjs with custom express server on firebase functions. After a lot of pain, I finally managed to get it to work. Following the main server.ts file.</p><p>The code is not completed yet and has some build errors. The code is deployed at my github <a href="https://github.com/alipetarian/nextjs-custom-server-firebase-deploy">repo.</a></p><p>Following links can be helping. I will get back to this as soon as I get some time.</p><ul><li><a href="https://stackoverflow.com/questions/62410769/next-js-custom-server-not-working-on-firebase">Next.js Custom Server not working on Firebase</a></li><li><a href="https://stackoverflow.com/questions/59873328/next-js-firebase-hosting-firebase-function-express-application-works-on-se">NEXT.js + firebase hosting + firebase function + express application works on serve but not when deployed</a></li><li><a href="https://itnext.io/running-express-js-on-firebase-cloud-functions-a20b536c6aec">Running Express.js on Firebase Cloud Functions</a></li><li><a href="https://medium.com/@sandun.isuru/how-to-deploy-nodejs-express-app-to-firebase-as-function-31515c304e70">How to deploy NodeJS + Express app to Firebase as Function?</a></li><li><a href="https://www.9lessons.info/2020/06/deploy-node-express-firebase-functions.html">Deploy NodeJS Express Application to Firebase as Function.</a></li><li><a href="https://morioh.com/p/11f731dff3f2">Next.js SSG|SSR on Firebase with Firebase Hosting &amp; Cloud Functions</a></li><li><a href="https://github.com/LarvenLLC/functions-nextjs">LarvenLLC/functions-nextjs</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=290256cb1c50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bemob Integration with Commission Junction CJ]]></title>
            <link>https://alipetarain.medium.com/bemob-integration-with-commission-junction-cj-638ee3ff8e42?source=rss-96619971798a------2</link>
            <guid isPermaLink="false">https://medium.com/p/638ee3ff8e42</guid>
            <category><![CDATA[cj]]></category>
            <category><![CDATA[beobachtet]]></category>
            <category><![CDATA[commission-junction]]></category>
            <category><![CDATA[affiliate-marketing]]></category>
            <category><![CDATA[affiliate-tracking]]></category>
            <dc:creator><![CDATA[Muhammad Ali]]></dc:creator>
            <pubDate>Thu, 29 Oct 2020 16:42:37 GMT</pubDate>
            <atom:updated>2020-10-29T17:53:14.789Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been learning affiliate marketing for myself for last couple of months. I realized that different affiliate tracking software like Voluum, Redtrack, Bemob are bit harder to integrate. Therefore, I started offering integration services on my <a href="https://www.upwork.com/fl/morosoft">Upwork</a> account.</p><p>Recently I have integrated CJ with bemob for a client of mine and I will explain the process in this article. CJ provides Commission Details API in REST API and GraqphQL Format. You can learn more <a href="https://developers.cj.com/graphql/reference/Commission%20Detail">here</a>. I have created a Nodjs script which is basically scheduler and looks for new commission every 10 minutes and postback the bemob via Server to Server (S2S) postbacks. The source code for the script is available at my <a href="https://github.com/alipetarian/cj-bemob-integration">CJ Bemob Integration</a> Github repo.</p><p>Looking for someone for affiliate marketing tracking, feel free to contact me at alipakistani90@gmail.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=638ee3ff8e42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons I Learnt From First Failure]]></title>
            <link>https://alipetarain.medium.com/lessons-i-learnt-from-first-failure-a1b3ac7dcef8?source=rss-96619971798a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1b3ac7dcef8</guid>
            <category><![CDATA[software-house]]></category>
            <category><![CDATA[failure]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[lessons-learned]]></category>
            <dc:creator><![CDATA[Muhammad Ali]]></dc:creator>
            <pubDate>Sat, 24 Mar 2018 08:17:25 GMT</pubDate>
            <atom:updated>2018-03-24T08:18:02.637Z</atom:updated>
            <content:encoded><![CDATA[<p>I had started a software house about one and half year before. After about 8 months, I had to quit it because It went into bankruptcy. I had learnt quite a few lessons from my experience but below are the few main lessons.</p><h3>Be Critical</h3><p>If you are looking at the most beautiful side of picture, you will have most beautiful failure. You need to carefully examine your resources, time, and money matters and take decision accordingly.</p><h3>Don&#39;t Be Stagnant Water</h3><p>You can not sell one service to all your customer for a long time. You need to add more services and link services with another. Like I was providing Wordpress Website Designing Services, I could have started Website SEO, Graphic Designing services to keep our customers in loop with us.</p><p>To be continued…… :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1b3ac7dcef8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>