<?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 Jibran Haseeb on Medium]]></title>
        <description><![CDATA[Stories by Jibran Haseeb on Medium]]></description>
        <link>https://medium.com/@jibran-haseeb?source=rss-943e879561e0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4_75zCrOLgzlycjwWjbeVw.jpeg</url>
            <title>Stories by Jibran Haseeb on Medium</title>
            <link>https://medium.com/@jibran-haseeb?source=rss-943e879561e0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:42:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jibran-haseeb/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[DIY DNS: A Guide to Self-Managed DNS with PowerDNS]]></title>
            <link>https://medium.com/emumba/diy-dns-a-guide-to-self-managed-dns-with-powerdns-6ed9022dba2d?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ed9022dba2d</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Tue, 02 Jul 2024 09:29:56 GMT</pubDate>
            <atom:updated>2024-07-02T09:29:56.928Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mJV0amJKqJxAOCKuzmaPBw.png" /></figure><p>Hi, Welcome back!! 👋🏻 Today I’m going to discuss about using a self managed DNS Server for DNS resolution with a Domain Registrar.</p><p>I’m going to talk about Cloudflare and PowerDNS today. You must be wondering why these two? I’m going with a specific use-case here today. So, we have an application where we need to register a lot of DNS records using Back-end code. We were using <strong>AWS Route53</strong> for this purpose as it has API to do that programmatically. But due to certain business reasons we needed to explore something other than AWS Route53 for domain management.</p><h3>Cloudflare</h3><p>We bought a domain on <strong>Cloudflare</strong>. Now, why Cloudflare and not Godaddy or some other registrar? The reason is simple, Cloudflare offers a lot of other features for DNS management and Web Security. But that’s not our reason to choose Cloudflare, we chose it because we wanted to manage a lot of records and Godaddy has limit of <strong>1000 records</strong> per Domain. While Cloudflare has a slighter higher limit, <strong>3500 records</strong> per domain in paid plans and can be increased in Enterprise plan by contacting the Cloudflare support. A little off-topic but AWS Route53 is the best of all as it has limit of <strong>10k</strong> Records per hosted zone.</p><h3>PowerDNS</h3><p>Cloudflare is a an alternative for AWS Route53 that we have explored, but it proved to be not so good for our use-case, as we need to maintain more than 3500 records. So here comes Self Managed DNS Server in the picture. We have assessed <strong>PowerDNS</strong>, an open source DNS Management Server, for this purpose. There are other DNS management tools available, like <strong>coreDNS</strong>, and <strong>BIND</strong>, but not all of them have API access and a web interface. The next sections contain PowerDNS Installation and configurations.</p><h4>Installing and Configuring PowerDNS</h4><p>PowerDNS can be installed in Ubuntu using APT, there are a lot of Backend Packages that can be installed for PowerDNS. PowerDNS uses a Backend to maintain and persist the data. Here is the list of all the Backend that It supports, <a href="https://doc.powerdns.com/authoritative/backends/">https://doc.powerdns.com/authoritative/backends/</a>.</p><p>I’ve used <strong>Postgresql</strong> as the Backend. So I’ll be covering details of that here. First install Postgresql and the query tool (psql).</p><pre>apt-get install postgresql postgresql-contrib postgresql-doc</pre><p>Connect with Postgres and configure the DB for PowerDNS.</p><pre>su postgres<br>psql<br>CREATE USER powerdns WITH PASSWORD &#39;password&#39;;<br>create database powerdns;<br>\c powerdns</pre><p>Once the DB is connected, create the tables for PowerDNS. The details of these tables and Schema are described here: <a href="https://doc.powerdns.com/authoritative/backends/generic-postgresql.html#default-schema">https://doc.powerdns.com/authoritative/backends/generic-postgresql.html#default-schema</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*uwZnraoEeMSGxW-hUZ7iSg.png" /><figcaption>PowerDNS DB Schema</figcaption></figure><p>After creating all the Tables and Schemas, grant the powerdns user permissions to these new schemas</p><pre># check all the tables<br>\d<br># Grant Permissions<br>GRANT ALL ON &lt;Comma separated Schema&gt; TO powerdns</pre><p>The DB configuration for PowerDNS is done.</p><p>Before installing the PowerDNS we need to disable <strong>systemd-resolved</strong> because PowerDNS uses it’s own service for resolution for local apps and also runs on port 53.</p><pre>systemctl disable --now systemd-resolved</pre><p><strong>Install PowerDNS</strong></p><pre>apt-get install pdns-backend-pgsql pdns-doc pdns-recursor pdns-server</pre><p>For using the Postgres as Backend Service we need to update PowerDNS configs:</p><pre>sudo vim /etc/powerdns/pdns.conf</pre><p>Update the files to have lines like this</p><pre>launch=gpgsql<br>gpgsql-host=127.0.0.1<br>gpgsql-user=powerdns<br>gpgsql-password=password<br>gpgsql-dbname=powerdns</pre><p>Restart PowerDNS server</p><pre>systemctl restart pdns</pre><p>That’s the basic Setting of PowerDNS and it is ready for use now.</p><h4>Web UI and Public DNS Resolution</h4><p>The DNS server should be started and working for local DNS resolution. But that’s not enough, we need to make it available for <strong>public resolution</strong> if we want to use it for DNS records management.</p><p><strong>Deploying PowerDNS Admin</strong></p><p>First we need to create DB and user for PowerDNS admin. We can use these commands to do that</p><pre>sudo su - postgres<br>createuser powerdnsadmin<br>createdb -E UTF8 -l en_US.UTF-8 -O powerdnsadmin -T template0 powerdnsadmindb &#39;The database for PowerDNS-Admin&#39;<br>psql<br>postgres=# ALTER ROLE powerdnsadmin WITH PASSWORD &#39;powerdnsadmin_password&#39;;</pre><p>Also allow access to DB from all IPs because by default Postgres doesn’t allow connections from remote location.</p><pre>sudo su - postgres<br># Edit /var/lib/pgsql/data/postgresql.conf<br># Change the following line:<br>listen_addresses = &#39;localhost&#39;<br># to:<br>listen_addresses = &#39;*&#39;<br># Edit /var/lib/pgsql/data/pg_hba.conf<br># Add the following lines to the end of the <br>host    all             all              0.0.0.0/0                       md5<br>host    all             all              ::/0                            md5<br><br>exit<br>sudo systemctl restart postgresql</pre><p>Now we need to deploy PowerDNS Admin. There are multiple ways to do that, I will be deploying it using Docker and Docker compose. You can check for other ways in this <a href="https://github.com/PowerDNS-Admin/PowerDNS-Admin/tree/master/docs/wiki">documentation</a>.</p><p><a href="https://docs.docker.com/engine/install/ubuntu/">Install Docker and Docker compose</a> as a per-requisites and then we are good with the deployment part. I will be using this docker-compose file to do that</p><pre>services:<br>  app:<br>    extra_hosts:<br>      - host.docker.internal:host-gateway<br>    image: powerdnsadmin/pda-legacy:latest<br>    container_name: powerdns_admin<br>    ports:<br>      - &quot;9191:80&quot;<br>    logging:<br>      driver: json-file<br>      options:<br>        max-size: 50m<br>    environment:<br>      - SQLALCHEMY_DATABASE_URI=postgresql://&lt;db_user&gt;:&lt;db_password&gt;@host.docker.internal:5432/&lt;powerdns_admin_db_name&gt;<br>      - GUNICORN_TIMEOUT=60<br>      - GUNICORN_WORKERS=2<br>      - GUNICORN_LOGLEVEL=DEBUG</pre><p>Replace <strong>&lt;db_user&gt;</strong>, <strong>&lt;db_password&gt;</strong> and <strong>&lt;powerdns_admin_db_name&gt;</strong> with PowerDNS admin DB user, password and DB name respectively. The reference docker-compose file can be found <a href="https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/master/docker-compose.yml">here</a>.</p><p><strong>Accessing the UI</strong></p><p>Access the UI on the browser. Goto<strong> &lt;PublicIP&gt;/&lt;DNS&gt;:9191</strong> and Create a User. The first user that will be created will be considered as the <strong>Admin</strong> by default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v459vVK_ORlPAWTbGAiPbA.png" /><figcaption>Create User Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-APHmvSdQp8gYwIphYx4w.png" /><figcaption>Login Page</figcaption></figure><p><strong>Connecting Admin UI with PowerDNS server</strong></p><p>For connecting the admin UI with the server, we need to enable API access of the Server. For that first we need to create an API Key using the Admin portal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JVKX0zDebHJ1bA4ykEzFXw.png" /><figcaption>PowerDNS API page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lybZT5zAO_7fhtlmVsHvqA.png" /><figcaption>PowerDNS API page</figcaption></figure><p>Copy the Key somewhere because we will be using this to configure PowerDNS server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tx8UQ0FP0ljvO3RRum1hsg.png" /><figcaption>PowerDNS API page</figcaption></figure><p>Navigate to Dashboard Page and configure PowerDNS server credentials there, paste the API key you just copied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*ztiz1k2pYn7CVYVZQs218w.png" /><figcaption>PowerDNS Server Settings</figcaption></figure><p>Now open the server settings in some editor and configure the server.</p><pre>vim /etc/powerdns/pdns.conf</pre><p>Update the following lines</p><pre>api=yes<br>api-key=&lt;API_key&gt;<br>webserver=yes<br>webserver-address=0.0.0.0</pre><p>Replace &lt;API_key&gt; with actual value.</p><p>We also need to update the config in /etc/powerdns/pdns.conf to allow public requests.</p><pre>webserver-allow-from=0.0.0.0/0</pre><p><strong>Cloudflare with PowerDNS</strong></p><p>PowerDNS is configured now with minimal settings. Last but not the least, we need to configure Cloudflare and DNS together. We will update Cloudflare records so that PowerDNS can be used for those records. The preferred way to point the registrar to other DNS management server is by updating the Name Servers in the registrar but unfortunately <strong>Cloudflare doesn’t allow changing nameservers</strong> but other registrars like GoDaddy does allow this change.</p><p>So in our use-case, we wanted to manage only *.qa.&lt;domain&gt;.com record using PowerDNS, so we configured Cloudflare for that. To do that we need to add a nameserver for qa.&lt;domain&gt;.com in cloudflare using the <a href="https://dash.cloudflare.com/">Cloudflare dashboard</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3F16TEa5EaFxQAPors1Bg.png" /><figcaption>Cloudflare DNS Home page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S-XKn7JXTCoTgRPoSpR7xw.png" /><figcaption>Cloudflare DNS Management Page</figcaption></figure><p>One thing that is important here is that we can’t enter IP in nameservers, we need a DNS address.</p><p>Now we will create a Zone in PowerDNS using the PowerDNS UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NmIUTGeeIvIy-HxdfAQ31w.png" /><figcaption>PowerDNS zone creation page</figcaption></figure><blockquote><strong>Zone Name</strong>: &lt;domain name&gt;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFVVieSsd8-a9kEpzJNXmg.png" /><figcaption>PowerDNS dashboard page</figcaption></figure><p>Add Your records.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YPW-N1Wn0py8rOAUbovJNQ.png" /><figcaption>Power DNS zone records page</figcaption></figure><h4>Verification ✔️</h4><p>The last thing that we can do is, that we can verify if PowerDNS is actually working and resolving the records. We can use that by using <a href="https://manpages.ubuntu.com/manpages/xenial/en/man1/dig.1.html"><strong>dig</strong></a> command in out terminal.</p><p>Suppose you have created <strong>feature.qa</strong> record in your PowerDNS zone.</p><pre>dig feature.qa.&lt;doman&gt;.com</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*EksQCtFDcsc0RD3Wm_v1yg.png" /><figcaption>dig command output</figcaption></figure><h4>Final Words</h4><p>Cloudflare is a good DNS management tool that also offers many security features like DDOS protection, DNS Security, and WAF, etc. but it doesn’t allow editing the Nameservers and most of the time we need to update those. Also there are many other opensource DNS management tools but not all have API access and the UI. PowerDNS is really a great opensource tool but the problem with this setup the <strong>management overhead</strong> and the ensuring the <strong>reliability</strong> and <strong>availability </strong>of this setup.</p><p>That’s all for this blog, see you in the next one. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ed9022dba2d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/emumba/diy-dns-a-guide-to-self-managed-dns-with-powerdns-6ed9022dba2d">DIY DNS: A Guide to Self-Managed DNS with PowerDNS</a> was originally published in <a href="https://medium.com/emumba">Emumba</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Streamlining Android App Development with CI/CD using GitHub Actions]]></title>
            <link>https://medium.com/emumba/streamlining-android-app-development-with-ci-cd-using-github-actions-a8f868c321c1?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8f868c321c1</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Tue, 12 Dec 2023 11:14:58 GMT</pubDate>
            <atom:updated>2023-12-12T11:14:58.161Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*swwesFzme6tXoJZJxrIBew.png" /></figure><p>In today’s rapidly evolving tech landscape, DevOps practices play a pivotal role in automating and streamlining software development processes. Among these practices, Continuous Integration and Continuous Deployment (CI/CD) pipelines stand as the backbone of efficient software delivery. As a DevOps engineer, ensuring seamless automation becomes a mission, especially in scenarios involving complex applications, such as Android apps built using React Native.</p><p>Implementing CI/CD pipelines for Android apps isn’t a walk in the park. However, leveraging the capabilities of GitHub Actions, a powerful automation tool, can simplify this process significantly.</p><h4>Setting up the Environment</h4><p>The initial step involves configuring the environment using GitHub Actions. Setting up Java, enabling Gradle cache, and installing necessary dependency packages like Yarn are essential components.</p><pre>- uses: actions/setup-java@v3<br> with:<br> distribution: &#39;temurin&#39;<br> java-version: &#39;11&#39;<br> cache: &#39;gradle&#39;<br>- name: Install packages<br> run: yarn install</pre><h4>Managing Keystores for Secure Builds</h4><p>The management of keystores stands as a critical part of the process. Storing sensitive information securely without exposing it within the codebase is crucial. GitHub Secrets provides a safe harbor for such confidential data. However, handling binary files like `release.keystore` necessitates encoding it to Base64 before storing it as a secret and decoding it within the pipeline.</p><p>You can convert the release.keystore file to base64 using the bash command below or using a website like this one: <a href="https://base64.guru/converter/encode/file">https://base64.guru/converter/encode/file</a></p><pre>cat release.keystore | base64 --wrap=0</pre><p>Then add the result of the command into Github secrets and refer this along with additional secrets like , Release Store Password, Release Key Alias and Release Key Password, in the pipeline using the following code snippet.</p><pre>- name: Add keystore Values<br> run: |<br> echo &quot;${{ secrets.ANDROID_KEYSTORE_FILE }}&quot; | base64 -d &gt; android/app/release.keystore<br> echo RELEASE_STORE_FILE=release.keystore &gt;&gt; android/gradle.properties<br> # Additional lines to append RELEASE_STORE_PASSWORD, RELEASE_KEY_ALIAS, RELEASE_KEY_PASSWORD         <br> echo RELEASE_STORE_PASSWORD=${{ secrets.ANDROID_RELEASE_STORE_PASSWORD }} &gt;&gt; android/gradle.properties<br> echo RELEASE_KEY_ALIAS=${{ secrets.ANDROID_RELEASE_KEY_ALIAS }} &gt;&gt; android/gradle.properties<br> echo RELEASE_KEY_PASSWORD=${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }} &gt;&gt; android/gradle.properties</pre><h4>Versioning and Building the App</h4><p>Maintaining a unique version code for the Play Store releases is critical. Automating this process via GitHub Actions involves fetching the version code, incrementing it, and updating the build.gradle file accordingly.</p><pre>- name: Downloading version_code file<br> run: |<br> # Steps to retrieve, increment, and update the version code     <br>    wget &quot;https://${{ secrets.S3_BUCKET_NAME }}.s3.us-east-2.amazonaws.com/android/version_code&quot;<br>    cat version_code<br>    current_version_code=$(cat &quot;version_code&quot;)<br>    ((current_version_code++))<br>    new_version_code=$current_version_code<br>    echo $new_version_code &gt; version_code<br>    echo &quot;NEW_VERSION_CODE=$new_version_code&quot; &gt;&gt; $GITHUB_ENV<br>- name: Increment Versions in build.gradle<br>  run: |<br>    # update build.gradle file<br>    file=&quot;android/app/build.gradle&quot;<br>    current_version=$(grep -oP &#39;versionCode \K\d+&#39; $file)<br>    # new_version=$((current_version + 1))<br>    sed -i &quot;s/versionCode $current_version/versionCode $NEW_VERSION_CODE/&quot; $file<br>    sed -i &#39;s/versionName.*/versionName &quot;&#39;&quot;$ANDROID_VERSION_NAME&quot;&#39;&quot;/g&#39; $file<br>- name: Increment Versions in app.json<br>  run: |<br>    # update app.json file<br>    file=&quot;app.json&quot;<br>    jq --arg new_android_version &quot;$ANDROID_VERSION_NAME&quot;_&quot;$NEW_VERSION_CODE&quot; &#39;.androidVersion = $new_android_version&#39;  &quot;$file&quot; &gt; tmp.json &amp;&amp; mv tmp.json &quot;$file&quot;</pre><p>We’ve utilized an AWS S3 bucket to store various versions of the app. These versions are saved as files within the S3 bucket, serving as the definitive source for the latest app versions released on the Play Store.</p><p>Subsequently, the <strong>build</strong> process utilizes Gradle to compile the app, generating both .<strong>aab</strong> and .<strong>apk</strong> files as per the requirement, as we need both the files.</p><pre>- name: Build the app<br>  run: |<br>   cd android<br>   ./gradlew bundleRelease; ./gradlew assembleRelease</pre><h4>Publishing the Release to Play Store</h4><p>Finally, the last leg of the process involves publishing the release. This requires a GCP service account with appropriate permissions.</p><p><strong>Service Account access</strong></p><p>To enable app publication through the pipeline, we require a GCP service account with Play Store console access, as user credentials cannot be utilized for this task. To accomplish this, create a service account within GCP using the IAM &amp; Admin portal of the GCP console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/251/0*DhQ9XG8u5b98hUqH" /><figcaption>Service Account creations page</figcaption></figure><p>Once the service account (SA) is created, copy its email address and add it to the Users section of the Google Play Console. Grant the essential permissions, specifically administrative permissions, enabling the service account to manage the app effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y7_8Nz0qCK7ik73q" /><figcaption>Service Account Email</figcaption></figure><p>Here is the Play console users page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zz_uS5uMIYSzOr0t" /><figcaption>Play Console Users Page</figcaption></figure><p>Then add the following Step in you GH pipeline to make use of SA to upload the app to the Play store.</p><pre>-  name: publish to playstore<br>   id: upload-google-play-dev<br>   uses: r0adkll/upload-google-play@v1<br>   with:<br>     serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_JSON_KEY }}<br>     packageName: &lt;package_name&gt;<br>     track: internal<br>     releaseName: &quot;&lt;release_name&gt;&quot; #Name of the release on the playstore<br>     releaseFiles: ./android/app/build/outputs/bundle/release/app-release.aab</pre><p>You can see that we have mentioned “Internal” track for the upload. So, there are multiple tracks for play store we can use to upload the apps. Here is brief description of the Playstore tracks.</p><p><strong>Internal Testing</strong></p><p>This track is designated for internal testing, allowing the upload of an app for a restricted group of up to 100 users who must be invited via their emails. To access the app, users are required to enable the “Internal Sharing” feature within their Play Store settings for debugging purposes. Notably, this process doesn’t mandate sending the app for review to Google before internal testing can commence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Axac9JyqUXoDpoeKtbtTyA.png" /><figcaption>Ineternal Testing testers tab</figcaption></figure><p><strong>Closed Testing</strong></p><p>Closed testing, much like Internal testing, restricts app access to a limited number of users who are specifically added to a testing list. However, Closed Testing offers an extra feature allowing multiple tracks for better app release management. Before making the app available in Closed Testing, it requires a review by Google to ensure compliance before testers gain access to the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q9rljgmH3c-aRUzeky4h_w.png" /><figcaption>Closed Testing tracks</figcaption></figure><p><strong>Open Testing</strong></p><p>Open testing, also referred to as Beta testing, accommodates a larger pool of users without requiring specific invitations or additions to a testers list. However, before the app becomes visible to all users, it necessitates a review process to ensure its quality and readiness for the end-users’ access.</p><p><strong>Production</strong></p><p>The Production Release Channel on Google Play Console is like the big launchpad for Android apps. When developers finish making an app and put it in this channel, it means the app is ready for everyone to use. It’s the final step before the app goes live in the Google Play Store, allowing people all around the world to find, download, and start using the app on their Android devices.</p><p>So it’s up-to you in which track you want the app to be published using the pipeline, you can also make it input based in the pipeline. The release in the play store can later be promoted to different channels.</p><h4><strong>Optional Step</strong></h4><p>In addition to releasing the app on the Play Store, you can also upload it to GitHub artifacts or an S3 bucket. Here’s a snippet to help you with that.</p><pre> - name: Upload apk to Github Artifacts<br>   uses: actions/upload-artifact@v3<br>   with:<br>     name: app-release.apk<br>     path: ./android/app/build/outputs/apk/release/app-release.apk</pre><h4>Wrapping Up</h4><p>This blog guides CI/CD pipeline setup for Android apps with GitHub Actions, simplifying workflows for faster, safer deployments. Automating app builds via GitHub Actions boosts efficiency, freeing time for innovation. Smooth pipelines enable swift code-to-app deployment, ensuring high-quality software is delivered faster. Your feedback and improvements are welcome. Stay tuned for more! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8f868c321c1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/emumba/streamlining-android-app-development-with-ci-cd-using-github-actions-a8f868c321c1">Streamlining Android App Development with CI/CD using GitHub Actions</a> was originally published in <a href="https://medium.com/emumba">Emumba</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It’s All About Memories ]]></title>
            <link>https://jibran-haseeb.medium.com/its-all-about-memories-85cf82d95f8d?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/85cf82d95f8d</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Thu, 22 Oct 2020 21:00:53 GMT</pubDate>
            <atom:updated>2020-10-22T21:00:53.101Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bCRoid6xdWzfE2_D.png" /></figure><p>Hey There!! Beautiful reader. I’ve been writing about my <a href="https://amalacademy.org/">Amal</a> Fellowship in my previous articles that it is going to end soon. And to tell you with a heavy heart that it has now ended.</p><p>The last Day of anything or anyplace is indeed memorable to everyone like last day at a school, college, University etc. Amal Fellowship was full of learning and challenges for me personally. I had done things that I had never done before, got out of my comfort zone.</p><p>So, I want to share with you about the last session of <a href="https://amalacademy.org/">Amal</a> Fellowship in this article. So the day before the last session was dedicated to our Mega Projects Presentations. We all did hardwork on our mega projects despite of all the tough routines of ours. And the last session was not like the previous sessions. It was more like a memory making session.</p><p>Though I couldn’t attend the whole session but I came to knew about its importance and its fun activities after the session. The session was started with regular chit-chat and the shout outs for the fellows and some talk about the mega Projects presentations that how beautifully we presented.</p><p>The session’s activities started with a fun game which most of us are aware of, The Scavenger’s Hunt. The members were divided in 2 teams (Sir Ahmed’s and Ma’am Anum’s). After that There was this beautiful presentation by Ma’am Anum about the fellows. Here is what she Thinks about me 😅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rJwvU9b8_h13RbqU0A3xZw.png" /></figure><p>This was actually so beautiful and touched my heart. She’s actually right. I don’t speak a lot and don’t open up so easily but I tried my best to improve myself.</p><p>The session was the longest of all, like 4 hours long. But as it was last session so it was worth it. Although I missed the Live session but I came aware of its activities and the importance of the session. As at the end of the session there was a Farewell video and I missed that too. I wish I had attended it.</p><p>So, anyhow this may be my last article regarding the <a href="https://amalacademy.org/">Amal </a>Fellowship. And I would like to thank All my Fellows for creating such Beautiful environment and memories for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AfU7-67hfD0K5YYXxpVXYQ.png" /></figure><p>How can I forget the Team behind all the magic. <strong>Sir Ahmed, </strong>He was more like a brother to all of us than a teacher/instructor. He always made us laugh with his jokes and he always has this beautiful and <em>Kaatil </em>smile on his face. He is so passionate and handworker and made this fellowship successful. Always there to help even it’s other than the fellowship. Cheering everyone up. Wish you a successful, happy, healthy and contented life.</p><p><strong>Ma’am Anum</strong>, in you own words <em>“Ap to shehzadi hain”</em> always there to motivate people. Spreading happiness all around you. Person with a big heart and a beautiful smile. Always ready to help anyone. You continued the fellowship, after getting a more Challenging Job, just for our sake and for our happiness. You always took time from your busy schedules to talk to us. Wish you a successful, happy, healthy and contented life.</p><p>Thanks to all my Fellows and Program Facilitators and specially Amal Academy for giving us such an opportunity. I am glad that I took this opportunity and able to connect all of these beautiful People. Will surely miss each one of you. ❤ I wish everyone a successful, happy, healthy and contented life. Allah Bless Everyone.</p><p>Dedicated to All my Amal Family.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*ewa8g2f-lUsxrl3AaOohig.jpeg" /></figure><h3>ALLAH HAFIZ ❤</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85cf82d95f8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memories Last Forever. ❤]]></title>
            <link>https://jibran-haseeb.medium.com/memories-last-forever-d9fd4dfb2386?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9fd4dfb2386</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Fri, 16 Oct 2020 15:12:38 GMT</pubDate>
            <atom:updated>2020-10-16T15:12:38.140Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s the end of the <a href="http://amalacademy.org/"><strong>Amal</strong></a><strong> Fellowship</strong> now and I want to write this article now to write about the things that I am going to miss and the things that I am going to remember forever and Remind me of my Fellowship.</p><p>In the Start of the fellowship We had this task of making a Wall hanging of “Amal Values” for our Room. And I made this for that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/0*-8T-TsridssOQz_C.png" /><figcaption>Drawing: Amal Values Wall Hanging Display</figcaption></figure><p>I have this hanging in my room and I see this all the time. It reminds me of the values to live a life and these are not going anywhere. Though the Fellowship is going to end but the memories will remain forever. And the things like these are going to make me miss this journey with amazing fellows. there is another thing that adds up to these memories is a <strong>“Lollipop”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/0*qfBpeyT9VkLbIBHQ" /></figure><p>yes a Lollipop, as it was a part of a fun activity that we had in the earlier sessions here an image from the session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DEA6DFTshvfbfaFR.jpeg" /><figcaption>Lollipop Moment</figcaption></figure><p>It reminds me of fellowship and tells me to give lollipop moments to people around me and spread happiness.</p><p>All this journey was full of learning experiences for me and full of positive vibes that are going to make an impact on me for whole life. The people in the fellowship are gems, source of inspiration and motivation for me. I have never interacted too much with all of them but I will surely miss each one of them. I will say this last thing <strong>“Log chly Jaty hain, Yadain Reh jati hain”.😭</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9fd4dfb2386" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kya Khoya Kia Paya ]]></title>
            <link>https://jibran-haseeb.medium.com/kya-khoya-kia-paya-e6162ce6dece?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6162ce6dece</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Fri, 09 Oct 2020 15:26:54 GMT</pubDate>
            <atom:updated>2020-10-09T15:26:54.778Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s almost the end of my Amal Fellowship. Oh! you don’t know about Amal Fellowship 😅It is a 3 month Fellowship Program offered by<a href="https://amalacademy.org/"> Amal Academy</a> Lahore, Pakistan, Which is supported by Stanford University and PepsiCo. It is for the Fresh graduates of Pakistan to give them practical and professional knowledge and soft skills, you should try it if you get the opportunity. Any ways, it’s the end of my fellowship.</p><p>Today, I’m writing this article about positive reflections of my fellowship that I have. I have surely learned a lot from this program and have created a bundle of memories to look back. and when I look back at them I only see learning experiences and moments of joy. The Amal family, specially <strong>Miss Anum</strong> and <strong>Sir Ahmad </strong>the Program Manager and Program Associate, are gems that made the fellowship interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*zoUkp1E2NSWUe5w_.jpg" /></figure><p>The fellowship was an image of “Kam Kam and Kam” but it was full of memories. The zoom meetings, learnings from Online courses, Group meetings and Project works. The week used to pass so quickly. I still remember the first session where we had the an activity of telling the “Story behind our names” to the fellows. I remember when I tried to talk in Urdu and they all encouraged me to speak English. I didn’t feel comfortable in working teams, specially with unknowns, but because of this I had to work with a group of people on a mega project and it was actually fruitful.</p><p>Though all the fellowship had a lot of us to learn but something that has impacted me a lot was the assessment center and mock interview it was the assessment of me that what have I learnt from the fellowship and mock interviews gave a glance of the professional life that what challenges that we have to face and how to prepare ourselves for them. I identified my shortcomings and the points where I need improvement.</p><p>The fellowship is in it’s last phase and only 1 week is left now. I will surely miss everything and each one of the fellows. 😌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6162ce6dece" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows Server Active Directories]]></title>
            <link>https://jibran-haseeb.medium.com/windows-server-active-directories-90faf20d17c2?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/90faf20d17c2</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Sun, 30 Aug 2020 17:07:53 GMT</pubDate>
            <atom:updated>2020-08-30T17:07:53.763Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s learn about windows Server Active Directories. So, <strong>What is an active Directory?</strong> Windows active Directory is a service provided by Microsoft to help the domain and server administrators to manage the privileges of users. And assign them different groups according to their tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*H0O8U6mKj4ft3XXEz9v-zg.png" /><figcaption>Windows Active Directory</figcaption></figure><p>Let’s learn it in a layman’s term by taking an example. This example was given by my Instructor. Let’s say we are in a university. There are different departments like accounts, HR, Computer Science, ERP department etc. All have some staff members they have access to their department and department related stuff but they can’t use other department’s things/stuff without proper permissions. Similarly Windows active directory service is the service that makes it possible to set the policies for the users in the domain or network.</p><p>When you are an employee of an organization or like you are admitted in a university, they provide you an email that is registered on their domain. Where is all that controlled. It is controlled on servers. All the authentication is done on the Active Directory enabled servers. It checks whether the user have access to the domain, user is valid, it has access to the resource it’s trying to access and all that.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90faf20d17c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Applying Pomodoro ]]></title>
            <link>https://jibran-haseeb.medium.com/applying-pomodoro-d244b3fcb342?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d244b3fcb342</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 17:45:37 GMT</pubDate>
            <atom:updated>2020-08-18T17:45:37.830Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey there!! Today I want to talk about a very interesting technique of getting a work done on time with efficiency. The technique is call Pomodoro Technique.</p><p>Let’s Learn about this. The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s. The technique uses a timer to break down work into intervals, traditionally 25 minutes in length, separated by short breaks.</p><p>All the boring part is done. Now I want to share my experience for my today’s task that I used this technique on. Actually I am working on uploading some files on our office server. And they are hell lot of files and I have to upload 100+ files daily, So, Obviously I am not a robot and can’t work continuously for hours, My mind also needs a break. So I started applying Pomodoro technique to help me in my task.</p><p>I divided the target and setting the timer to 35 minutes as 35 minutes are enough to upload 10+ files in one go and then took a break of 5 minutes like used Facebook for minutes. This actually improve my mind condition and it was not only indulged in the work and absorbed there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zvD4rHIskN6LLLqu.jpg" /><figcaption>figure: Pomodoro Technique</figcaption></figure><p>I advice all of you to apply this simple trick and give your brain a treat, Will ya!!</p><p>Farewell, and Have a nice and productive day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d244b3fcb342" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Entrepreneurship?]]></title>
            <link>https://jibran-haseeb.medium.com/why-entrepreneurship-2d6dc6229ad2?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d6dc6229ad2</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Fri, 14 Aug 2020 17:48:30 GMT</pubDate>
            <atom:updated>2020-08-14T17:48:30.032Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Why Entrepreneurship?</strong></p><p>Hello Everyone, I am Jibran Haseeb, a Bachelor Student. I have recently written a blog for an entrepreneurial idea that I wanted to discuss here is the link of that blog, Have a look at it.</p><p><a href="https://medium.com/@jibran19983/farm-and-garden-assistant-da6bee10e417">Farm and Garden Assistant</a></p><p>I have discussed the idea. This idea can be converted to a working business by proper business model. So in this post I want to answer some of the questions that may come up in your minds like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a4b4f40ZAs7t_xrc" /></figure><p><strong>“Why do you care about that problem as an entrepreneur?” </strong>The answer to this question is simple that the farmers are the backbone of the economy and we also can’t survive without food they provide to us, then why not help them. The problem they face is that they don’t get enough knowledge.</p><p>Another question that may come is that <strong>“What are some of the ways you can address that problem?” </strong>The answers to that is also simple that I want to indulge them into technology to sort out their problems.</p><p>You must be thinking that<strong>, “How will working on that problem help you sustain your life (earn from it)?”. </strong>First of all I don’t make it my sole earning. Secondly, this is an android app so it can be be compiled with ads unless they aren’t too irritating and come in the way of using the app.</p><p><strong>“How will working on that problem help the people and the society?” </strong>I think the answer to this question is very clear that farmers provide us food for our daily life than helping them will ultimately help the society and human beings.</p><p>So that’s all the answers to the questions that might come up in your mind, I would be happy to answer any other questions in the comments section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d6dc6229ad2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Farm and Garden Assistant]]></title>
            <link>https://jibran-haseeb.medium.com/farm-and-garden-assistant-da6bee10e417?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/da6bee10e417</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Fri, 14 Aug 2020 17:16:17 GMT</pubDate>
            <atom:updated>2020-08-14T17:56:08.980Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey there!! Today I am writing this regarding an idea that I want to work on to develop and solve a problem using the technology. As technology is covering all the circles of life. I want to use technology to help the farmers around.</p><p>In Pakistan 18% GDP comes from agriculture sector, and they are least affected by technology. This government is helping the farmers in many ways like using the Drones on the Crops to spill the fertilizers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*aHYyT9PWAqeZI01DSmPMYw.png" /><figcaption>Figure: Farmer</figcaption></figure><p>I am talking about a smart phone app to help the farmers in their work by helping them identify the problems in the plants that is done using the machine learning and Digital Image Processing using computer Vision. This app will help the farmers in a lot of ways like helping them yield more crops and with better health.</p><p>This system can help the farmer in knowing about its crops like how much water they need, which month is best for harvesting and things like that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EKCGSTSOpYkVHT3A.jpg" /><figcaption>Image: Crops</figcaption></figure><p>The idea came from the thought that why farmers should be left underprivileged of the technology and its advancements. We can have them to grow more crops and let them help in boosting the economy. Moreover they play an important role in our daily life as they provide food for us then why not help them.</p><p>I am thinking of android app for the start. The app will have many features to help and accommodate different problems that are faced by farmers and gardeners. There are many type of diseases that aren’t known to the farmers they just put the fertilizers and pesticides and insecticides and that destroys the plants badly or affect the health.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sH6ZlsI0HWPPh949" /></figure><p>The app will be comprise of following features:</p><ol><li>Disease Detection: this feature will use camera or photo from gallery and process the image to identify the disease in the plant.</li><li>Crop Assistant: Tells the user that how much fertilizer, water is needed for specific crops and which season is for the crops</li><li>Weather update: Weather update of the area including the next 4 days to help the farmers think ahead</li><li>Market Rates: Current Market Rates of different crops.</li><li>Urdu Language Support: Urdu Language Support for farmers</li><li>Text To Speech: to read the content to the users (farmers)</li><li>Speech to text: Speech to text feature to help them type.</li></ol><p>The app will be made easy to use and User friendly to accommodate all kind of users. and do the task properly what it supposed to do. So that’s all for my idea, comments and reviews are appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da6bee10e417" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[#JustStart Your Goals]]></title>
            <link>https://jibran-haseeb.medium.com/juststart-your-goals-479129e6002d?source=rss-943e879561e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/479129e6002d</guid>
            <dc:creator><![CDATA[Jibran Haseeb]]></dc:creator>
            <pubDate>Fri, 31 Jul 2020 15:55:00 GMT</pubDate>
            <atom:updated>2020-07-31T15:55:00.232Z</atom:updated>
            <content:encoded><![CDATA[<p>Asslamualaikum and Hello everyone, I am Jibran Haseeb. Done with my BSCS (Hons). going to be graduated soon. And soon to start my professional Career. And support my Family.</p><p>Like everyone else, I have my Goals, that I want to achieve in Life. I have a lot of goals but there are many of them that need to be started as early as possible. Like I have this goal to go to Germany. As it has better educational exposure and better life style and better Job opportunities. So I have chose this goal for my “<strong>#JustStart</strong> your Goals” story. I am going to share things about my goal in this blog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*71CjkU4wPpETY4QAp7yDeQ.jpeg" /></figure><p>The goals is, as i stated earlier, going to Germany, I have been thinking about this for almost 2 years. As the economy of Pakistan is worsening day by day. Sadly, I want to leave this country ASAP. its very heart breaking for me to even think of leaving my loved ones and going to a country where I have no one. But we all have to sacrifice something in order to achieve another.</p><p>As I have almost completed my degree, Just waiting for the transcript to be received, I can apply for further studies in Germany. I am looking for scholarships. As I am not so well off, financially. In order to search for scholarships, I have joined different Facebook groups.</p><p>So, here is what I have done for my <strong>#JustStart</strong> activity. I have joined a group on Facebook that is “<strong>Jobs and Study in Germany for Pakistanis</strong>” and wrote a post for “Help me”. Stating that “I want to go to Germany, Kindly guide me”. Here is a little screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbe27fhBnxkYW1_ir6HzYg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M9hkgr__KnIlkwv4_HZdMA.jpeg" /></figure><p>Amal’s #JustStart gave me inspiration to put the post on the group’s wall and I even got a response from one of the group members. I hope that I will soon get the opportunity to achieve my goal. I want to go in start of 2021. As my next steps will be finding the scholarships and job opportunities for Pakistanis in Germany or any other Country in Europe.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=479129e6002d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>