<?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 Harun Gachanja Gitundu on Medium]]></title>
        <description><![CDATA[Stories by Harun Gachanja Gitundu on Medium]]></description>
        <link>https://medium.com/@harungachanjagitundu?source=rss-81d6fa108cb2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*O3vUegwMVzZgtTRQI5IYsw.jpeg</url>
            <title>Stories by Harun Gachanja Gitundu on Medium</title>
            <link>https://medium.com/@harungachanjagitundu?source=rss-81d6fa108cb2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:36:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harungachanjagitundu/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[Demystifying Docker]]></title>
            <link>https://medium.com/@harungachanjagitundu/demystifying-docker-670aa669fe56?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/670aa669fe56</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[dockerfiles]]></category>
            <category><![CDATA[docker-image]]></category>
            <category><![CDATA[docker-compose]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Wed, 23 Feb 2022 17:24:07 GMT</pubDate>
            <atom:updated>2026-11-23T10:33:58.119Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CnMSd1xglOwLBvieAEwF6A.jpeg" /></figure><h3><strong>What is Docker?</strong></h3><p>Docker is a <strong>OS-Level virtualization</strong> software for building, running, and maintaining containers. Docker <strong>packages applications</strong> as containers. These containers can be <strong>shared</strong>, <strong>duplicated</strong>, or even <strong>deleted</strong>. Docker is <strong>open-source software</strong>, meaning the <strong>original source code</strong> is made freely available and may be <strong>redistributed </strong>or <strong>modified</strong>. Docker helps<strong> build and deploy</strong> applications quickly.</p><h3><strong>Why Docker?</strong></h3><p>Let’s take a look at how applications were built traditionally before docker was in the picture.</p><p><strong>Before Docker</strong></p><p>Code didn’t work in other systems due to differences in computer environments.</p><p>Server configuration was a nightmare.</p><p>The installation process was error-prone due to the difference in operating systems.</p><p><strong>After Docker</strong></p><p>Code runs in the same environment since applications are packaged as containers. These containers have all the necessary tools, dependencies, systems settings, and runtime to run an application.</p><p>Server configuration is no longer required. All you need to do is to install the docker runtime environment and spin your containers from there.</p><p>Without reinventing the wheel we can now pull and use already existing images. This saves us from having to install and set up application-dependent services i.e Redis, RabbitMq, Postgres, e.t.c.</p><h3>Docker Concepts</h3><h3><strong>Docker Images</strong></h3><p>Docker image is a <strong>read-only template/file</strong> with a set of instructions for creating containers. Docker images are <strong>immutable</strong>. These images can however be shared, duplicated, or deleted. An image contains <strong>application code</strong>, <strong>tools</strong>, <strong>dependencies</strong>, <strong>libraries</strong>, and other <strong>files</strong> needed to make an application run. An image has many layers. We will discuss more about these layers in the future series.</p><h3><strong>Docker Containers</strong></h3><p><strong>A container</strong> is a lightweight, standalone, executable package of software that includes everything needed to run an application. In relation to images container(s) could be defined as instance(s) of running image(s). Containers contain code, libraries, system tools, runtime, and settings. A container v<strong>irtualizes </strong>the OS only and not the underlying hardware. They provide increased <strong>portability </strong>and<strong> </strong>facilitate <strong>deployment</strong> simplicity. <strong>Cloud applications </strong>are built on containers.</p><h3><strong>Getting Started</strong></h3><h3><strong>Installation</strong></h3><p><strong>Note</strong> On desktop systems like Docker Desktop for Mac and Windows, Docker Compose is included as part of those desktop installs. For Linux, you have to install Docker Compose after you install Docker Engine.</p><p>To install docker-engine on ubuntu you can check out this <a href="https://docs.docker.com/engine/install/ubuntu/"><strong><em>link</em></strong></a> and install docker-compose from <a href="https://docs.docker.com/compose/install/"><strong><em>here</em></strong></a>.</p><p>To install docker desktop on Mac check out this <a href="https://docs.docker.com/desktop/mac/install/"><strong><em>link</em></strong></a>.</p><p>To install docker desktop on windows check out this <a href="https://docs.docker.com/desktop/windows/install/"><strong><em>link</em></strong></a>.</p><h3><strong>Pulling Images</strong></h3><p>Docker images are majorly stored on Docker Hub.</p><p>First, let us pull an image from Docker Hub that we will be working with. To pull any image from the docker hub use the command <strong><em>docker pull &lt;image-name&gt;. </em></strong>Let’s now pull the <strong>rabbitmq-management-alpine</strong> image.</p><pre>docker pull rabbitmq:3.9.11-management-alpine</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NaaiUMDLcvfV6Wofow5OGg.png" /></figure><p>To list your image(s) you can use one of the following commands.</p><pre>docker images<br>docker image ls<br>docker image list</pre><p>You should see your image list with its tag as 3.9.11-management-alpine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Luh2I4qAeqG3vb8VyINCw.png" /></figure><h3><strong>Running Images</strong></h3><p>As discussed earlier a container can sometimes be defined as a running image. Let&#39;s take a look at how to run an image. If the image does not exist locally, then the image will be pulled from the repository, otherwise, we spin up or boot or start the container.</p><pre>docker run rabbitmq:3.9.11-management-alpine</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ft8Pq5ZGpcYWaELYsK9iQQ.png" /></figure><p><strong>Running Images with Options</strong></p><p>Let’s explore this step further. Instead of just running the image we are going to provide some options when running the image.</p><pre>docker run -d --hostname my-rabbit --name some-rabbit -e   RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=mypass -p 8080:15672 rabbitmq:3.9.11-management-alpine</pre><ol><li><strong>-d: </strong>This is detached mode shown by the option<strong> — detach</strong> or<strong> -d</strong>. It means that the docker container run in the background of your terminal.</li><li><strong>— hostname</strong>: Used to change the hostname of your container, it&#39;s used when you run your container i.e <strong><em>— hostname my-rabbit. </em></strong>This does not change the container’s DNS outside docker and it also does not provide any network isolation, so you cannot connect to the container using the hostname. You can use the container name or the container’s id to connect from container to container with docker’s embedded DNS as long as you have both containers on the same network and that network should not be the default bridge.</li><li><strong>— name:</strong> Assigns the name to the container i.e <strong><em>— name some-rabbit</em></strong>. This is the container name. If you do not assign a container name with this option, then the daemon generates a random string name for you.</li><li>If you wish to change the default username and password, you can do so with the <strong>RABBITMQ_DEFAULT_USER</strong> and<strong>RABBITMQ_DEFAULT_PASS</strong> environmental variables i.e <strong>-e </strong><strong>RABBITMQ_DEFAULT_USER=admin -e </strong><strong>RABBITMQ_DEFAULT_PASS=mypass .</strong></li><li>If you need access outside the host, on port 8080 you can provide the option with a tag <strong>-p</strong> and map <strong>host’s port 8080</strong> to port <strong>15672</strong> inside the container<strong> </strong>i.e <strong>-p 8080:15672</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lZ-TrU4jNJjt6g-vt8cGgg.png" /></figure><p>You can now go to your browser and search <a href="http://localhost:8080/"><em>http://localhost:8080</em></a><em>. </em>Since we mapped our host’s machine port 8080 to container port 15672, we will be able to see the rabbitmq management dashboard. You can log in with the username and password you provided as environment variables.</p><p><strong>RabbitMq Login Page</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a2-Q3dFc3UAQDbpq6Lgq5A.png" /></figure><p><strong>RabbitMq Management Dashboard</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3rJrGXxHWFArhu54e0kM-Q.png" /></figure><h3><strong>Managing Images and Containers</strong></h3><p>To list running containers use the command:</p><pre>docker ps<br>docker container ls<br>docker container list</pre><p>To list all containers(both running and stopped containers) use the command:</p><pre>docker ps -a</pre><p>To list all container&#39;s ids use the command:</p><pre>docker s -aq</pre><p>To format, docker ps use the tag<strong> — format. </strong>This only displays the container information that you have specified. It’s a cleaner way of listing containers with what’s important for you to see.</p><pre>docker ps --format=”table {{.ID}}\t{{.Image}}\t{{.Ports}}\t{{.Names}}”</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uS6fpa2ztAizk2vVDfmEXQ.png" /></figure><p>In this case, we have truncated the container information to only display the container ID, image, ports, and container name.</p><p>To start a container use the command:</p><pre>docker start &lt;container-id&gt;</pre><p>To stop a running container use the command:</p><pre>docker stop &lt;container-id&gt;</pre><p>To remove a container use the command:</p><pre>docker rm &lt;container-id&gt;</pre><p>When using the above command make sure the container is not running otherwise you will get an error trying to delete the container.</p><p>To forcefully remove running containers use the command.</p><pre>docker rm -f &lt;container-id&gt;</pre><p>To delete an image use the command:</p><pre>docker rmi &lt;image-id&gt;</pre><p>Note that the above command cannot remove images attached to running containers. First, you have to stop the running containers the proceed to delete the image.</p><p>To forcefully remove images attached to running containers use the command:</p><pre>docker rmi -f &lt;image-id&gt;</pre><p>Delete all containers using the command:</p><pre>docker rm $(docker ps -aq)</pre><p>Delete all containers(running containers as well):</p><pre>docker rm -f $(docker ps -aq)</pre><p><strong>Note </strong>there are many options you can provide when running images. To get a list of all possible options use the command:</p><pre>docker run --help</pre><h3><strong>Dockerfile</strong></h3><p>Docker can build images by reading instructions from a <strong>Dockerfile. </strong>A <strong>Dockerfile</strong> is a text document that contains all the commands a user could call on the command line to assemble an image. Using the <strong>docker build</strong> command users can create an automated build that executes several command-line instructions in succession.</p><p>Open your favorite editor(am using VScode) and create an empty <strong>Dockerfile. </strong>As discussed earlier docker file is a text file.</p><p>Add the following line to your Dockerfile:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5f43df437db5604ddcd657a3e0d0d901/href">https://medium.com/media/5f43df437db5604ddcd657a3e0d0d901/href</a></iframe><p>Let’s take a look at what’s happening here. With the <strong>FROM</strong>, we are simply instructing docker to use rabbitmq:3.9.11-management-alpine as our base image. Each line in Dockerfile is considered as a docker layer. Remember we said earlier that docker images have many layers. You can now see as we continue to write this file we are adding image layers. For now, let us build an image using this Dockerfile.</p><p>To build an image use the command:</p><pre>docker build -t my-rabbit:1.0 .</pre><p>Let&#39;s break down this command.</p><ol><li>As discussed earlier Using the <strong>docker build</strong> command, users can create an automated build that executes several command-line instructions in succession.</li><li><strong>-t: </strong>Name and optionally a tag(usually a version, in this case, we want to create an image and tag a version of 1.0) in the <strong>‘name:tag’</strong> format i.e <strong><em>my-rabbit:1.0</em></strong></li><li><strong>(.) Do not forget the period</strong>. The period simply defines the build context(the location of your Dockerfile). In this case, we want to execute it in the same directory we are in hence the period.</li></ol><p>Now that you have a clear picture of what’s happening you can go ahead and execute the command. As you can see below we are using the rabbitmq image we pulled when beginning this tutorial. Since the image is available locally docker will reuse the same image rather than pulling another image from a remote repository. This is the beauty of docker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WRUYyksIsQsR7QPCuBz3xA.png" /></figure><p>To list your images:</p><pre>docker images</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8pzfzu0pGYvXR2UiiHmeIw.png" /></figure><p>Don’t get confused already.<strong> My-rabbit </strong>pointed in red is the image we have just created using the base image <strong>rabbitmq </strong>pointed in yellow. This is where we see docker image reuse in practice. We are using an image we pulled before to build another image. If the image (pointed in yellow) did not exist then the <strong>FROM rabbitmq:3.9.11-management-alpine</strong> line would pull an image from the remote repository instead.</p><p>Let us now run the image that we have built.</p><pre>docker run --name my-rabbit -p 8080:15672 my-rabbit:1.0</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qFPPj-K3ii6IFfJCRwmjHg.png" /></figure><p>As you can see from the image above the container is up and running. We have used the image(<strong>my-rabbit:1.0</strong>) we just built. In future series, we will see how we can build on our Dockerfile. Next on we will be focusing on Docker Compose.</p><h3><strong>Docker Compose</strong></h3><p>Docker Compose is <strong>a tool that was developed to help define and share multi-container applications</strong>. With Compose, we can create a YAML file to define the services and with a single command, can spin everything up or tear it all down. Suppose you have an application that depends on a number of services i.e <strong>Postgres</strong>, <strong>NGINX</strong>, <strong>RabbitMQ</strong>, <strong>Redis</strong> e.t.c. What would be a better way to manage all these services than with a single command? Later on, we will see both Dockerfile and Docker Compose in production.</p><p>Docker-compose uses YAML syntax. Let us take a look a how we can configure the RabbitMQ service with docker-compose.</p><p>Create a <strong><em>docker-compose.yml</em></strong> file and add the following snippet.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d85333b0df324df36cf0358a1114f39b/href">https://medium.com/media/d85333b0df324df36cf0358a1114f39b/href</a></iframe><p>Let us break this down;</p><ol><li>We always start with the <strong>version </strong>of the docker-compose that we will be using, in this case, <strong><em>version 3.7.</em></strong></li><li>Next, we define the <strong>services </strong>we want to set up, in this case, we are trying to set up RabbitMQ service. Remember you can add as many services as you would want. We will see how we can do this in the future series.</li><li>Each service has a number of options we can set up.</li></ol><pre><strong>image</strong>: This is the base image that the service will use.</pre><pre><strong>container_name:</strong> This is the name we want to give to our container. Previously we used the tag <strong>--name.</strong></pre><pre><strong>environment: </strong>These is where we define all our environment variables that we need to run the service. Previously we use the tag <strong>-e.</strong></pre><pre><strong>ports: </strong>This is where we map host&#39;s port 8080 to the port 15672 inside the container. Previously we used tag<strong> -p.</strong></pre><p>4. A service can have many more options, let us just stick we these.</p><p><strong>Running Services with docker-compose</strong></p><p>To spin up containers/services in a docker-compose file we use the command:</p><pre>docker-compose up</pre><p>We can as well spin up these containers in the background by using the detached tag i.e -d or — detach</p><pre>docker-compose up -d</pre><p>We can also spin up containers while building images concurrently. Suppose you make changes to your image or your docker-compose file. All you need to do is to add <strong><em>— build</em></strong> tag to your docker-compose up command. This will note any changes and build your images</p><pre>docker-compose up --build</pre><p>You should see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ScXuDwa9nr9F87gy_XXnFw.png" /></figure><p>Visit<a href="http://localhost:8080/"> <strong><em>http://localhost:8080/</em></strong></a> to see your RabbitMQ dashboard.</p><p>Let us add another service. This time we will use our custom image <strong><em>my-rabbit:1.0</em></strong> we built earlier. But we are going to map the host’s port 8081 to the port 15672 inside the container. Your <strong><em>docker-compose.yml</em></strong> file should look like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2a6ee95b88418ff65271e7d4a0bdf1e/href">https://medium.com/media/f2a6ee95b88418ff65271e7d4a0bdf1e/href</a></iframe><p>Spin up your containers/services with the command:</p><pre>docker-compose up --build</pre><p>Visit <a href="http://localhost:8081/"><strong><em>http://localhost:8081/</em></strong></a><strong><em> </em></strong>to view another RabbitMQ dashboard mapped to port 8081.</p><p>The docker-compose down command helps <strong>to Stop and remove containers, networks, images, and volumes</strong>.</p><p>The docker-compose down command <strong>will stop running containers</strong>, but it also removes the stopped containers as well as any networks that were created. You can take down one step further and add the <strong><em>-v</em></strong> flag to remove all volumes too. Don’t worry about networks and volumes for now. We will capture them in the future series.</p><pre>docker-compose down<br>docker-compose down -v</pre><h3><strong>Docker Best Practices</strong></h3><p>Let us see how we can improve our docker images and make them ready for production. We will discuss how we can improve Dockerfile and docker-compose files as well.</p><p>Let us kick off with Dockerfile.</p><p><strong>Dockerfile Best Practices</strong></p><p>Our objective is to make the image size to be as small as possible so that we can share these images with ease. We also want to reduce our build time. We don’t want to be waiting for a build for a “whole day”. Let us take a look at how we can achieve these milestones.</p><ol><li>When selecting your base image, make sure to pick <strong><em>alpine-based</em></strong> images. These images are quite light. This will improve your image size drastically. In our case, we used <strong><em>rabbitmq:3.9.11-management-alpine</em></strong>. We are safe in this regard.</li><li>As you can see above, I have specified the version of my alpine image (version <strong><em>3.9.11</em></strong>). Normalize specifying image versions. <strong>DO NOT</strong> use the latest image tags. This could affect your future builds because you do not know what changes could have an impact on your application.</li></ol><pre>Use <strong><em>rabbitmq:3.9.11-management-alpine </em></strong>instead of<strong><em> rabbitmq:latest</em></strong></pre><p>3. As we discussed earlier an image has many layers and each step in a Dockerfile is a layer. To improve your build time you have to have what we call <strong><em>layer caching</em></strong> in mind. To take full advantage of this feature arrange your steps from the least changing to the most frequent changing step. This will get clear with an example. Don’t worry we will get to that. An ideal arrangement would be to start with tools/dependencies installations and then your application code should follow. This is because you change your code more frequently than you do to your tools and dependencies.</p><p>4. <strong>Multi-stage build</strong> will also reduce your image size to a significant number. We will see how best we can approach a multi-stage build.</p><h3>Docker Hub</h3><p><a href="https://hub.docker.com/"><strong>Docker Hub</strong></a> is a service provided by Docker for finding and sharing container images with your team. It is the world’s largest repository of container images with an array of content sources including container community developers, open-source projects, and independent software vendors (ISV) building and distributing their code in containers.</p><p>This is where we are going to push our images so that we can share them with the world. From the hub, you can push and pull images to either public or private repositories. You have access to one free private repository. For more private repositories, you need a subscription plan.</p><p><strong>Pushing Images to Docker Hub</strong></p><p>First things first, make sure you have a Docker Hub account if not sign up <a href="https://hub.docker.com/"><strong><em>here</em></strong></a><strong><em>.</em></strong></p><ol><li>Login to your Docker Hub from <a href="https://hub.docker.com/"><strong><em>here</em></strong></a><strong><em>.</em></strong></li><li>Once you are logged in, click on <strong>Repositories </strong>on the navigation bar.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hdRi_RCp9UzozUiPClgW3w.png" /></figure><p>3. Next, click on <strong>Create Repository</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ymfSwEXggOvnG5sUqw5zUg.png" /></figure><p>4. <strong>Name </strong>your repository and give it a <strong>description </strong>and click on <strong>create </strong>and you should see your repository created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8e-yxBSSonAzEBWMwYVrag.png" /></figure><p>5. The next important step is to tag your local image to the remote repository.</p><pre>docker tag my-rabbit:1.0 arrotech/docker_demo:1.0</pre><p>We are using an image(<strong><em>my-rabbit:1.0</em></strong>) we created with the Dockerfile earlier in this series.</p><p>As you can see am tagging my local image(<strong><em>my-rabbit:1.0</em></strong>) to my remote repository where <strong><em>arrotech </em></strong>is my docker id (<strong>username</strong>), <strong><em>docker_demo </em></strong>is my repository name and 1.0 is my tag name(in this case am using <strong>version </strong>1.0).</p><p>After tagging your image, you can list your images to see your tagged image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBVOCkQS6I5iAGCbNcGjBw.png" /></figure><p>6. Login with your <strong><em>Docker ID</em></strong> and <strong><em>Password </em></strong>to push and pull images from Docker Hub from your terminal.</p><pre>docker login</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P6V1EzP8ykr_-QHXDn0qIw.png" /></figure><p>7. Finally you can push your tagged image to Docker Hub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3-NEekqSzuGUFWQeXJsljg.png" /></figure><p>8. You can go ahead and check your image on Docker Hub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-uBHUFZBSIxLEj-npUcceQ.png" /></figure><h3><strong>Final Thoughts</strong></h3><p>With what is possible with docker, this is just the tip of the iceberg. This is a good and quick introduction to get started with Docker. In the next series, we will quickly take a look at docker in <strong>development</strong>, docker <strong>volumes</strong>, and docker <strong>networks</strong>.</p><p>If you have any <strong>queries </strong>or <strong>questions </strong>about this tutorial please <strong>comment </strong>below and I will get back to you as soon as possible.</p><p><strong>Subscribe, stay tuned, and have a happy docker year ahead of you!!!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=670aa669fe56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Effortless Mpesa Integration]]></title>
            <link>https://medium.com/@harungachanjagitundu/effortless-mpesa-integration-aff6492e33?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/aff6492e33</guid>
            <category><![CDATA[mpesa-integration]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Tue, 28 Jul 2020 09:35:41 GMT</pubDate>
            <atom:updated>2020-08-06T09:00:21.467Z</atom:updated>
            <content:encoded><![CDATA[<p>A meticulously researched article that shows you ways to <strong>integrate MPESA APIs</strong>. The following article will cover <strong>Java</strong>, <strong>Python</strong>, and <strong>JavaScript </strong>languages in connection with <strong>MPESA RESTFUL APIs</strong>.</p><p>First, we are going to take a look at <strong>Java</strong>. The following are the <strong>prerequisites </strong>for the application;</p><ol><li>Java</li><li>Eclipse IDE</li><li>Tomcat</li><li>Postman</li></ol><p>If you have <strong>satisfied </strong>the above requirements then you can proceed to the next step.</p><p><strong>Getting Started</strong></p><p>During the writing of this article, I make an assumption that you have a developers account with <strong>Safaricom PLC</strong>.</p><p>1. Visit this <a href="https://developer.safaricom.co.ke/login-register"><strong><em>link </em></strong></a>to login to your account or register a new account if you do not have any.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b4NhydCed6w8eTVsd_kJGA.png" /></figure><p>2. Create a new app by clicking <strong>+Add new app</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g7K_m_GNZW273BHT6cE5vA.png" /></figure><p>3. Choose your name of choice in this case, <strong>MyApp, </strong>and select <strong>Mpesa Sandbox. </strong>Then click<strong> CREATE APP.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c1xp5sIuRP11wkNHKnjdYg.png" /></figure><p>4. Click on the app you just created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VbsCAYpIi_0Jp_3v4cdtxw.png" /></figure><p>5. Take note of the <strong>consumer key</strong> and <strong>secret key.</strong></p><p><strong>Please note these the consumer key and secret key are invalid. DO NOT USE them.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Thn3_9etXFmAI_xrZWaWJw.png" /></figure><p>To make an API call, you will need to <strong><em>authenticate your app</em></strong>. To <strong>authorize </strong>your API call to the<strong> OAuth API</strong>, you will need a <strong><em>Basic Auth</em></strong> over <strong><em>https authorization token</em></strong>. The <strong>Basic Auth</strong> string is a <strong>base64 encoded string</strong> of your app’s <strong>consumer key</strong> and <strong>secret key</strong>. Authentication will be discussed further in this article.</p><p><strong>How to authenticate your app?</strong></p><ol><li>Open postman and use the following <a href="https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials"><strong><em>URL</em></strong></a><strong><em> </em></strong>to send a <strong>GET </strong>request in order to get the token.</li></ol><p>2. Provide your <strong>consumer key</strong> and <strong>secret key</strong> as <strong>Username </strong>and <strong>Password </strong>respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P_Ka9Vf60uc0YI8P5npb4A.png" /></figure><p>3. Click <strong>send</strong> to get the access_token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MyWltGqNeGkxqPUbYBUmjQ.png" /></figure><p>The above <strong>access_token </strong>will be used throughout this series as the bearer token. Also, note that the token has an <strong>expiry time</strong>. In case the token expires, send another <strong>GET </strong>request to get a <strong>new access_token</strong>.</p><p>We are going to test all the APIs(B2C, B2B, C2B, Reversal, Account Balance, Transaction Status) in postman and consume them in Java, Python, and JavaScipt in the later tutorials. First of all, get your test credentials.</p><p><strong>How to get your Test Credentials</strong></p><p>Take note of the private information(<strong>credentials</strong>) that you have to acquire from the Safaricom developers portal. To get your credentials,<br>1. Log in to your developer portal and navigate to <strong>Docs.</strong></p><p>2. From the left menu click on <strong><em>Test Credentials.</em></strong></p><p>3. Then click on <strong>test credentials </strong>that appear in blue<strong>.</strong></p><p>3. Then navigate to the bottom of the page and click on <strong>get test credentials</strong>. You should have all information to use with your application.</p><p>B2C Integration short form for <strong>Business to Customer </strong>integration enables <strong>businesses </strong>to <strong>send money</strong> directly to a <strong>list of phone numbers</strong> from their <strong>bulk account</strong>. This is a convenient service to <strong>pay salaries </strong>to many <strong>staff </strong>to reduce time and error in doing this one by one.</p><ol><li>Generate <strong>access_token </strong>as we did earlier when authenticating your app.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sd8aTzRlMjBZC4aHloS6qw.png" /></figure><p>2. Use the following <a href="https://sandbox.safaricom.co.ke/mpesa/b2c/v1/paymentrequest"><strong><em>URL</em></strong></a><strong><em> </em></strong>to send a B2C <strong>request</strong>. The request method should be <strong>POST.</strong></p><p>3. Use the <strong>access_token </strong>as the <strong>Bearer Token</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hAQDR_lwGBshDsIiNLA8SQ.png" /></figure><p>4. Provide the <strong>JSON request body</strong> as follows. <strong>Please your own Test Credentials</strong>. To obtain them, visit the <strong>previous tutorial</strong> on <strong>how to get your Test credentials.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HbuIc75kO8TakhvnQhim4w.png" /></figure><p>5. Click <strong>send </strong>and you should have the following response as the expected output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u-FucL1h5DpTyLwEZLKBDw.png" /></figure><p>6. Expected<strong> callback or result. </strong>Worried about creating a <strong>callback URL</strong>? Use this <a href="https://github.com/Arrotech/Callbacks-NodeJs.git"><strong><em>repository </em></strong></a>and see how it&#39;s done in <strong>NodeJs </strong>or this other <a href="https://github.com/Arrotech/Callbacks.git"><strong><em>repository</em></strong></a><strong><em> </em></strong>and have it in <strong>Java</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0kRrolplRQ0qGjOImRY4UA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aff6492e33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adaptability to challenges]]></title>
            <link>https://medium.com/@harungachanjagitundu/adaptability-to-challenges-d674a91a1818?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d674a91a1818</guid>
            <category><![CDATA[adaptability]]></category>
            <category><![CDATA[andela-bootcamp]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Wed, 20 Feb 2019 13:11:09 GMT</pubDate>
            <atom:updated>2019-02-20T13:28:21.538Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s always prudent to seek alternative solutions to upcoming challenges. It’s very obvious that the challenges we face have an alternative solution. Surprisingly we always want to think in a similar manner we are used to. Personally, I have come across situations where I was rigid when making decisions. Always thinking in a particular manner. The boot camp experience has taught me to always think of solutions outside the box. Most importantly knowing that there more than one means of solving a problem.</p><p>What I have really come across in boot camp is asking questions of things I really don’t understand. This comes in handy when one has no idea of what is happening. Not once, not twice that I have been in this situation. I realized, asking questions does not make you stupid, instead, you add more to your knowledge notwithstanding that knowledge never comes on a silver platter. It’s a hustle all over. Being not used to asking the question really was a huge problem. But as time progressed I noticed the importance of brain drain in terms of questions. How much you gain from asking a question and how much you master for answering one.</p><p>It’s always good to be calm and confident in times where you are under pressure. What I have learned is that decision making is heavily influenced by depression and emotional feelings. I have had time where I was way behind time not knowing how to handle a task. The only thing that was always outstanding is that an emotionally relaxed mind will always get the best out of difficult situations. This is because rushed and emotional decisions will always be ineffective. I have learned to always take a break when I am in trouble, think over the situation and see the way forward.</p><p>I have learned to always be ready to make mistakes. Mistakes are a stepping stone for every person who has ever thought of success. Simply put, mistakes are inevitable. Having an open mind when one encounters challenges.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d674a91a1818" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Collaboration benefits]]></title>
            <link>https://medium.com/@harungachanjagitundu/collaboration-benefits-4d61d10d9228?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d61d10d9228</guid>
            <category><![CDATA[collaboration]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Wed, 13 Feb 2019 11:00:07 GMT</pubDate>
            <atom:updated>2019-02-13T11:00:07.061Z</atom:updated>
            <content:encoded><![CDATA[<p>When we work with people we learn more about their characters. This has not been any different in my conversations and interactions with my teammates. I have learned pretty much the same from anyone else I have interacted with besides my teammates. This is the true aspect of collaboration. How much influence you get from an interaction. This is where I have learned the unique attributes of every individual in my team.</p><p>I had interacted with Eve before the Bootcamp even began. This happened during the pre-workshops when I first got a chance to speak to her. She is very courageous and very bold when she does not have any idea of what is happening. It’s not once or twice that I have been amazed by such kind of character. A character that you admit you do not always know everything. This not a character you find in many.</p><p>Anthony is very inquisitive. He always keeps me on toes. Whenever he gets any blocker you will always know about. This not only makes him better. We always benefit from questions. Even when something seems silly or less important it’s prudent that we ask for clarification. This is a character Anthony possesses. Of course, you don’t find such a character in many. This is the character I always admire to have.</p><p>How I first knew about Orre is that he is a holistic football. We got to argue about football a couple of times. This is not the first time I met holistic football fans. But what is more interesting about Orre is that you can speak a similar language when it comes to programming. This is very interesting his passion for coding and similarly for football.</p><p>I guess I was lucky to get a Learning Facilitator who is very clear on what he demands or what is required. Clarity helps me to set the objectives very clearly. His is also very considerate as he knows our individual needs when it comes to programming. He is very resourceful when it comes to unblocking. This is again is a character you don’t find in many. Others maybe quiet and giving clear directions on their expectations. This is definitely an impressive character.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d61d10d9228" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We have all had to adjust to change.]]></title>
            <link>https://medium.com/@harungachanjagitundu/we-have-all-had-to-adjust-to-change-6cd3910bbfe1?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cd3910bbfe1</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Tue, 12 Feb 2019 08:26:40 GMT</pubDate>
            <atom:updated>2019-02-12T08:51:15.893Z</atom:updated>
            <content:encoded><![CDATA[<p>We have all had to adjust to change. Personally, it has been very difficult adapting to change. The tension and pressure that comes with change have been very huge and unbearable at times. The difficult part of this is the of changing things you have to know for years. Behaviors you have had for years. The attitude you have owned for years. The tension comes in handy when you are expected to deliver but on specific conditions. Something I have never done before. A person level of adaptability can impact their ability to learn.</p><p>I have recently had problems with setting goals. Staying on course. In many instances, I have started different activities without a clear indication of what I want to achieve. I didn’t set goals. This only undermined my determination and focus to pursue a certain objective. Notwithstanding that the amount of work I had was huge. If a huge task is not broken down into smaller ones then it becomes easier to miss your mark. Well, that has been my biggest challenge towards achieving a specific goal.</p><p>I have had a problem with writing things and postponing them. Well, procrastination is another barrier to my learning experience. All this does is to pile up my workload. Not only in campus I have had to postpone my studies but also at home I have to postpone certain responsibilities. The harm that comes with procrastination is so negligible that one will only notice the immense effect at the end. I have lost a lot due to procrastination. A knowledge that I was supposed to gain become only a dream to achieve.</p><p>It’s not once or twice l have missed my priorities. I have had issues with putting my priorities right. Think of this in this manner. Trying to go to four places at the same time. Well, one will not make it on the four occasions at the same. This is where priorities come. Knowing what exactly you are supposed to do at a specific time. This may seem easy at first hand. But the problem begins when one fails to pick out the most important activity to carry out at that particular time.</p><p>Fear of failure is a disease. The moment one fears to fail then he/she does not have the capability of carrying out a certain activity. Well, I have had fears in different occasions. The fear of failing. The fear of what will people say if I don’t make. Most probably that is the reason why the task I had belief in achieving I have not realized it yet. Therefore I always fail to pursue my dreams. This is the picture of impossibility. If for one second I change my mindset on failure, success, and fear then I could be on the next step to success.</p><p>Time management is a key aspect of success. Anyone who wants to achieve something, they have to set timelines and deadlines. When you are supposed to report to work when you are supposed to carry out your responsibility, when you are supposed to eat and when you are supposed to engage. This is only possible for a person who is able to manage his/her time appropriately. Well, I haven’t been a good manager in that area. I have wasted time on irrelevant activities. This only puts pressure on the important activities one is supposed to carry out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cd3910bbfe1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Step Stone]]></title>
            <link>https://medium.com/@harungachanjagitundu/the-step-stone-3cc2b05e1b3d?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cc2b05e1b3d</guid>
            <category><![CDATA[challenge]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Mon, 11 Feb 2019 12:36:58 GMT</pubDate>
            <atom:updated>2019-02-11T13:54:23.390Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wondered how the big names come to be? Well, we ride on the same boat. I have been on the wheel of that sailing boat for quite some time. I have had to think critically about how success comes to be. But then that’s the mind of every individual who knows what success demands. Truth be told, success is built on failure. The number of times the great people we know by the names have failed is inevitably high. Speak of Albert Einstein, Faraday, Steve Jobs, Bill Gates and many more. These men are a great inspiration in the word of technology. This is no less desire for what I want to be.</p><p>I have had obstructions and mountains to climb. Success is never gained on a silver platter. This has had to be my mindset throughout the journey. I well know that success demands failure. I have had a lot of discouragements along the way. The weight and the burden of failure have always been on the forefront. Failure always has positive feedback. Failure has taught me how to handle situations in a different manner. I have failed so many times on a particular path. That’s enough for me to know that’s not the way to go. I now think of failure as my stepping stone to success.</p><p>Ego has been the main block toward success. I have always had that sense of self-importance, self-esteem, self-conceit, and self-confidence. All this will do is to narrow down the room for improvement. The idea of always pretending to know everything never invites progress. I have been a victim of this. Now, for quite some time, I have understood the importance of always being inquisitive and never think of myself being smarter than other individuals. This has shown immense development in my skills, both technical and non-technical. Since then I have always had the desire and the determination to grow on a daily basis. This will only happen if we all deny our self-worth.</p><p>I know am not the only who receives feedback on a daily basis. But a smaller number always respond to the feedback. Even a much smaller number receives feedback as positive and constructive criticism. It took time for me to understand what feedback is all about. This has come after a tone of feedback I have had in my life. Feedback from my family, friends and even tutors. The minute I understood that feedback makes us grow, is the same minute I showed progress In my work. Though this has been a big challenge in my life. I am now learning on how to effectively take on feedback, respond on feedback and most importantly on how to give feedback. I now think of feedback as a stepping stone to success.</p><p>Our past creates fear and negativity on success. This is no different from me. I have had scenarios of giving up on something because I previously did badly in that area. I now find it amazing that fear is the evidence of escaping failure. But can’ t forget that fear is a stepping stone success.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cc2b05e1b3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git stash and stash pop]]></title>
            <link>https://medium.com/@harungachanjagitundu/git-stash-a75e1c5db2c4?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a75e1c5db2c4</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Mon, 04 Feb 2019 10:48:01 GMT</pubDate>
            <atom:updated>2019-02-04T11:25:11.420Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog I will show you how to use three important commands <strong>git stash</strong>, <strong>git checkout</strong> and <strong>git stash pop</strong>. This comes in handy when you want to switch to a new branch but then you get an error message that “you have to commit changes... “. This error appears because you edited a file while in a branch you didn’t intend to be in. With a few commands you can switch to a new branch and continue with your changes. In this case I will use two branches, <strong>develop branch</strong> and <strong>ft-create-inventory-1235987 branch</strong>.</p><p>Suppose you mistakenly edited or created a file while in the develop branch. You didn’t intend to be in this branch while making these changes, right? So with git stash and git stash pop you can hide these changes, switch to a new branch and finally restore the changes in your new branch. This is how we go about it. Remember I will use the two branches above to illustrate this process.</p><ul><li>While in develop branch type on your terminal “g<strong>it stash</strong>&quot;. This will hide the changes made.</li><li>Then checkout to your new branch “<strong>git checkout -b ft-create-inventory-1235987</strong>&quot;. This will switch branches. From develop to your new branch.</li><li>Then finally restore the changes you earlier made in your new branch. Do a simple “<strong>git stash pop</strong>&quot;. This will restore all the changes you made earlier.</li></ul><p>Then you can go on and do a commit. I hope this blog was helpful. Checkout out for more on Git and API’s. Follow me and comment on the blog on how best I can improve it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a75e1c5db2c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Challenges are inevitable]]></title>
            <link>https://medium.com/@harungachanjagitundu/challenges-are-inevitable-d504d075107a?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d504d075107a</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Tue, 29 Jan 2019 16:38:39 GMT</pubDate>
            <atom:updated>2019-01-30T12:46:23.129Z</atom:updated>
            <content:encoded><![CDATA[<p>The future of technology doesn’t lye in likes and shares. It lies in using the new global village to accomplish tasks no individual ever could. This is the true definition of success. Success is based on failure as the process of strengthening your weaknesses. This isn’t far from the past experiences I have had, the challenges I have faced on my way to success. Failure has always been my motivation towards all my achievements. Embracing failure in a positive way changes the conception of every task that is ahead of any individual. This is a definitive understanding of failure.</p><p>Having a growth mindset has changed how I think of teamwork in general. Teamwork is a step further and closer to success. The contrary is true. Working as an individual diminishes the chances and the extent of success. The team, when properly motivated and sufficiently diverse and independent in its decision making, is far smarter than any individual could ever be. A team helps individuals think in a critical manner and develop a relevant and outstanding product. The problem-solving skills of a team are much precise than that of an individual. Teamwork covers more ground in the road success than an individual actually does.</p><p>A growth mindset is marked and characterized by desire, passion, and commitment. This has always been my goal. I have always approached many tasks, if not all, with complete dedication and absolute competence. The desire to become better and better every single day illustrates a mind that is not inclined only to doing things in a certain way but rather having a flexible mind in every obstacle anyone encounters. Imagine being in front of a broken bridge when driving. A fixed mindset would want to go over the broken bridge. This will be impossible as the vehicle will be carried away by the waters. An individual with a growth mindset will other ways around the bridge. He/she will seek alternatives.</p><p>Integrity is inevitable for every individual with a growth mindset. Honesty is carrying my work has helped me grow from one level to the next on a daily basis. Sincerity in accepting my weakness has helped me strengthened each one of them. Integrity captures self-discipline. A question is always asked if you find a dishonest person with their work what would you rather do. Report them or have an eye passed them? The obvious answer would be reporting them. Well, that is the answer. I have always desired to work with honest individuals. People you can depend on their work. Lack of integrity poses a lot of challenges to any organization. Users reliance on such organization is questionable and not effective. Failure in an honest work is better than success in a dishonest work as this success will be short lived.</p><p>Feedback is another milestone in a growth mindset. Life is full of feedback. Every day we get feedback from our actions. Getting feedback is one thing and positively receiving it is another. Feedback should be a step to growth. Whether the feedback is positive or not. I have always learned to accept feedback under all circumstances, either from the leadership or the subordinate.</p><p>In conclusion, the growth mindset increases the level of reasoning and the way one handles progress. Problem-solving skills are enhanced throughout the process. We should always aspire to have such a mindset.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d504d075107a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Administration for change]]></title>
            <link>https://medium.com/@harungachanjagitundu/administration-for-change-5a33b9630450?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a33b9630450</guid>
            <category><![CDATA[andela-bootcamp]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Wed, 21 Nov 2018 12:23:31 GMT</pubDate>
            <atom:updated>2018-11-21T12:53:01.822Z</atom:updated>
            <content:encoded><![CDATA[<p>All the great minds, like those of Steve Jobs and Bill Gates, gives a clear picture of what success demands. Successful organizations and teams simply insinuate the level of hardship they have been through. This runs all through finances, administration and management, enrollment and above engagement. On the other hand, unsuccessful people and organizations simply show how less resilient they are to change and flexibility. Success is defined with challenge susceptibility and persistence throughout the course of change.</p><p>As an individual programmer, growth has not been iterative as anyone would expect for anyone who joins the Boot-camp. This is because challenges showcase every step in this process. I have had many thoughts of quitting because the coding experience in Boot-camp is intense and thrilling. By far this is a thought of every successful person. You have to endure hardships in order to succeed.</p><p>Learning from other has been very difficult through the journey this far. Especially when others are way ahead of you. Our understanding capabilities vary with the level of exposure one has been to this experience or rather intellectual capabilities. In the Boot-camp, I found myself in compromising situations where others are way ahead of me. Seeking an explanation from such people seem difficult at first but with time I managed to understand many among us, how they think, talk and explain their ideas.</p><p>For the recent years developed a habit of learning on y own. So asking questions was not an alternative for me. I would rather waste a lot of time on research than ask from my peers. But this came in handy through the Boot-camp. This is because projects and feedback had to be delivered in time. I was supposed to deliver in such a short time. I learned through the hard way how important is to ask questions. At times I felt like I was asking too much. But it was just I did not want to admit how good others can be. A team when properly motivated and sufficiently diverse and independent in its decision making, is far smarter than any individual ever could be.</p><p>Boot-camp has also strained a number of basic needs. The Boot-camp requires immense sacrifice and financial stretch. I have had to change my sleep schedule. Financial stretch was evident daily on the basis of transport. I have had to forego a number of responsibilities and activities. That’s what success calls for anyway. It calls for sacrifice and persistence. This far I have learned how to perceive failure and change at a different angle.</p><p>The gross salary of a challenge is a success. We should all learn to embrace change. We should learn how to learn from others. We should learn to ask questions. Despite the challenges, the sacrificial benefits are rewarding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a33b9630450" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interesting Attributes]]></title>
            <link>https://medium.com/@harungachanjagitundu/interesting-attributes-8f35377b537c?source=rss-81d6fa108cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f35377b537c</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Harun Gachanja Gitundu]]></dc:creator>
            <pubDate>Wed, 14 Nov 2018 09:52:27 GMT</pubDate>
            <atom:updated>2018-11-14T10:46:31.338Z</atom:updated>
            <content:encoded><![CDATA[<h3>Team Values</h3><p>We all always want to be associated with the best, great minds, quality people, people who have an eye for success and above all people who are optimistic. These qualities really determine what you can achieve being around such people. Truth be told excellence is never further from honesty, commitment, integrity, and team-work. All we need to do is tap and embrace the qualities of such people.</p><p>I first met Brian on the first day of the workshop. He is a standout guy. The fact that he admitted that he didn’t have much programming skills was a clear indication of a person who is ready to learn. He is always inquisitive on a wide range of issues. His confidence is really on another level. He is open -minded able to understand the opinions of people and help them implement them. His reasoning capability is remarkable considering him, a person who does not have much programming skills. Brian is simply a critical thinker.</p><p>Mark was my group leader during the workshop period. He always expressed confidence in all of us whenever there was a difficult task ahead of us. He was willing to help where he could and at times beyond his scope. His focus is always on the problem, not the person who is doing it wrong. He is very engaging and very interactive across all fields, not just coding. He is a very cheerful and funny guy who always makes those around him laugh.</p><p>Well, I have been around organized people but not as organized as Wilson. Wilson was my group member. He was always there in time. He never missed a single session. He always put down his ideas on paper first before he could tackle any. Something interesting about him is that he is never to proud to ask for any help. He always gives you a clear picture of the task in hand simply because of his organization.</p><p>James led us into a short gaming session on the first of the Boot-camp as one of the Learning Facilitator Assistant. He was very lively and audible. He was conversant with early childhood games. He is a person who can always clear your head with his cheerful spirit. He is very interactive. He is encouraging. He gave us insights on Andela fellowship that are very motivating. He gave us enough confidence to get into the fellowship. As a complete instructor, you always give clear directions and instructions. Well, James exceeded such qualities.</p><p>I am looking forward to getting the best of these people and acquiring such attributes. These are people you can rely on. People who make your work simpler no matter how hard it may seem. The foundation of success lies within our colleagues.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f35377b537c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>