<?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 Bongane on Medium]]></title>
        <description><![CDATA[Stories by Bongane on Medium]]></description>
        <link>https://medium.com/@the_clozer?source=rss-f720b5288e73------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*E3zJEeqoKQIIfdNmuv4EsQ.jpeg</url>
            <title>Stories by Bongane on Medium</title>
            <link>https://medium.com/@the_clozer?source=rss-f720b5288e73------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 03:24:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@the_clozer/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[Consistency is Key]]></title>
            <link>https://medium.com/@the_clozer/consistency-is-key-6f35996e6841?source=rss-f720b5288e73------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f35996e6841</guid>
            <category><![CDATA[motivational]]></category>
            <category><![CDATA[fitness]]></category>
            <category><![CDATA[planning]]></category>
            <category><![CDATA[consistency]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Bongane]]></dc:creator>
            <pubDate>Wed, 05 Apr 2017 18:09:45 GMT</pubDate>
            <atom:updated>2017-04-05T18:09:45.553Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*q8LbyITmTgHVCRMWOQS31w.jpeg" /></figure><p>I am quite late for resolutions and purposely so. This year, I wanted to find a theme for my life. Something that I can apply to all my fields of interests, that will keep me motivated across the board. I want to focus on consistency. Just being consistent.</p><p>I realised that I often take up things such as gym and a few months later I fallout. To solve this I needed to understand why. For you it can be a list of many things, but I found I often take on more than I cope with and I get so disappointed when I can’t go to the gym or achieve my targets that I give up all together.</p><h3>Why consistency?</h3><p>It allows me to focus on the now. Too many times people focus on future results or long results, these take time and can often be discouraging to people especially during the early days. I’ve also found that I daydream a lot about future plans, and without any consistent planning of what I need to do now to get there, dreams will remain dreams.</p><p>By focusing my energy on being consistent rather than long term results I am able to shift my reward system to celebrating the little successes rather than having to wait for the end results. By acknowledging daily wins I get to satisfy my need for immediate recognition.</p><h4>Here’s how I plan to achieve my consistency theme for the year:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b2MfLD2pUuqz3pbotLWCZg.jpeg" /></figure><p><strong>-Planning</strong>. Very important. Can be in the form of a<a href="https://www.google.com/calendar"> Google Calendar</a> or <a href="https://www.intelligentchange.com/products/the-productivity-planner?_ke=dHNoYWJhbmd6YkBnbWFpbC5jb20%3D">Productivity Planner</a> or even a to do list. I prefer apps that send me notifications. They come in handy especially when I get busy. I want to focus on getting things done, not thinking about what to do next. This also allows me not to take on more than I can chew and on the flip side actually makes me flexible when something new or an interruption comes up.</p><p><strong>-Focus on being consistent rather than long term results: </strong>You don’t have to be extreme, just be consistent. Your ultimate goal might be too loose 5kgs, or generate a million dollars in revenue by the end of the year or even ace an exam. But we have to admit something needs to be done today to make it happen.</p><p><strong>-Celebrate consistency: </strong>Acknowledging an accomplishment has to be one of the greatest feelings ever. Especially when it’s by me for me. Important to note, avoid enemies of progress. Don’t kill yourself doing cardio then celebrate by diving in head first in a plate of unhealthy fast food. This is counter productive to what you are trying to achieve. After a really good workout I reward myself with a great healthy fruit smoothy or fruit salad.</p><p><strong>- Review:</strong> Set up reviews for your long term milestones. Depending on how you’d like, these can be weekly on even monthly. Find a way to do a periodic check.</p><p>Lastly, create a slogan out of it. For this year, mine will be “Consistency is key”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f35996e6841" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Convert (to lowercase), sort, and write unique lines in a file to an output file]]></title>
            <link>https://medium.com/@the_clozer/convert-to-lowercase-sort-and-write-unique-lines-in-a-file-to-an-output-file-90b6bb4ebf4a?source=rss-f720b5288e73------2</link>
            <guid isPermaLink="false">https://medium.com/p/90b6bb4ebf4a</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Bongane]]></dc:creator>
            <pubDate>Sun, 28 Aug 2016 14:56:24 GMT</pubDate>
            <atom:updated>2016-08-28T14:56:24.950Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article we will look at converting to lowercase, sort and write unique lines in a file to an output file.</p><p><strong>Converting to lowercase:</strong></p><p>Text files sometimes have mixed in terms of cases. It might be because you received it that way or any other reason. To have a much clearer or a more organised text document you might want to have the document in the same case either upper or lowercase.</p><p>The following is an example of how this can be done:</p><p>$ vim examplefile.txt</p><p>gg0guGZZ</p><p>This will open the file, gg goes to the first line, 0, first column. With guG, lowers the case of all the characters until the bottom of the file. ZZ saves and exits.</p><p><strong>Sorting to an Output file</strong></p><p><strong>sort</strong> sorts the contents of a text file, line by line.</p><p><strong>sort</strong> is a simple and very useful command which will rearrange the lines in a text file so that they are sorted, alphabetically and numerically. By default, the rules for sorting are</p><ul><li>lines starting with a letter that appears earlier in the alphabet will appear before lines starting with a letter that appears later in the alphabet;</li></ul><p>EG1: You have a file examplefile1.txt with the following text:</p><p>avocado</p><p>oregon</p><p>peach</p><p>kiwis</p><p>berrys</p><p>To sort these lines in alphabetical order and also put them in an output file we use the following command:</p><p>Sort –o outputfile.txt examplefile1.txt</p><p>The new output txt file should be like this:</p><p>avocado</p><p>berrys</p><p>kiwis</p><p>oregon</p><p>peach</p><p><strong>Writing unique lines (Removing duplicates) in a file to an output file.</strong></p><p>For whatever reason you might find yourself with a .txt file containing duplicates. And now you want to organise this file to remove duplicates and only show the unique lines and put this in a new file.</p><p>The following is the command you will use.</p><p>uniq examplefile1.txt &gt; outputfile.txt</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90b6bb4ebf4a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparing files for differences on Linux]]></title>
            <link>https://medium.com/@the_clozer/comparing-files-for-differences-on-linux-e3332ceeade1?source=rss-f720b5288e73------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3332ceeade1</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[command-line]]></category>
            <dc:creator><![CDATA[Bongane]]></dc:creator>
            <pubDate>Sat, 27 Aug 2016 17:43:07 GMT</pubDate>
            <atom:updated>2016-08-27T17:43:07.707Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HYCZaUCJQaEHl3kL-DIXqw.jpeg" /></figure><p>To compare files on Linux you need use the ‘diff’ command to display line by line the difference between two lines. The general composition of a ‘diff’ command is as follows:</p><p>Diff examplefile1.txt examplefile2.txt</p><p>Diff command will examine both examplefile1.txt and file2.txt and tell you what changes need to be made for eamplefile1.txt and examplefile2.txt to match.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3332ceeade1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Importance of an open source license]]></title>
            <link>https://medium.com/@the_clozer/the-importance-of-an-open-source-license-2cbf4fa7dddb?source=rss-f720b5288e73------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cbf4fa7dddb</guid>
            <category><![CDATA[creative-commons]]></category>
            <category><![CDATA[license]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[champagne]]></category>
            <dc:creator><![CDATA[Bongane]]></dc:creator>
            <pubDate>Sat, 27 Aug 2016 14:36:28 GMT</pubDate>
            <atom:updated>2016-08-27T14:36:28.002Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*Nc5fE0wpNJzBtJ79WCIE6g.jpeg" /></figure><p>We live in interesting times where most things are considered an art. Music, cooking and even making that old age bubbly champagne is considered sacred with the artist holding the rights to their work. The same goes for techies who create and release software, they have a choice of how to license their work. In this article, we will look at open source licensing and it’s importance.</p><p>An open source license is a type of computer software license, it also applies to other products that allow for the source code to be utilised, shared or altered under defined terms and conditions.</p><p>If Dom Perignon was still alive today he’d hold the copyright or the patent to the recipe to his champagne. Supposed he hosted soirees and wanted to serve his liquor he would also need to have a separate license to serve his champagne to the public right? Similarly to the art of creating software, developers get to keep the patent or copyright to their work and also require a license that allows others to enjoy and contribute to it without asking for permission but still giving credit to the original creator.</p><p>The importance of open source licenses is that it safeguards the original creator ensuring you get credited for your contributions. It also makes it simpler for others to add-on to your original project without the necessity to ask for special permission. Unlicensed codes declare an implicit copyright without outlining how others can use your work. Well-seasoned developers will not touch an unlicensed code because they have no legal obligation to. In addition to that, the original creator can at any time declare a copyright and have people stop using the work.</p><p>Next time you use someone else’s work, pop a bottle of that chilled bubbly and familiarise yourself with the license first.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cbf4fa7dddb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>