<?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 ABIMBOLA JEREMIAH on Medium]]></title>
        <description><![CDATA[Stories by ABIMBOLA JEREMIAH on Medium]]></description>
        <link>https://medium.com/@pianistprogrammer?source=rss-46db13b950e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0NRmL3iD9zKrY8Atx74Svw@2x.jpeg</url>
            <title>Stories by ABIMBOLA JEREMIAH on Medium</title>
            <link>https://medium.com/@pianistprogrammer?source=rss-46db13b950e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 04:46:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pianistprogrammer/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[Why women like public display of affection?]]></title>
            <link>https://medium.com/@pianistprogrammer/why-women-like-public-display-of-affection-ca62aa92106c?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca62aa92106c</guid>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Thu, 11 Jun 2020 05:20:50 GMT</pubDate>
            <atom:updated>2020-06-11T05:20:50.779Z</atom:updated>
            <content:encoded><![CDATA[<p>There are good or poor public display of affection among women. PDA is a hot theme in relationships , particularly between new couples, where they might have had a relationship earlier when something was somewhere and they are now in this new relationship and maybe public affection shows display more than the other person wants or maybe you don’t display enough for them maybe. PDA is sometimes referred to or public affection shows. This is a conversation to have with your significant other so they don’t feel unpleasant and when you’re out in public, kiss or hold your hands, or whatever.</p><p>It’s going to depend on the experience of an individual, the culture, and even on religion. Here we talk about the person with whom you are with, not the people around you. The way in which a person has been treated in terms of public display of affection will probably affect his or her ideas on public affairs.</p><p>Public showings of affection are therefore inherently good or inherently bad, depending on the preference of the two people. If a couple think that holding their hands in public is not appropriate, then it’s not only for them, but in many parts of the globe, public displays of affection are not only appropriate, but admired.</p><h4>Why Do many Women like Public Display of Affection</h4><ol><li>They are not afraid to display your love to everybody out there and that’s not to say you should take it far and do inappropriate things.</li><li>It gives them a sense of full belonging of their men</li><li>It gives them the confidence that you are not ashamed to be seen with them in the public cuddling around</li><li>They use it to make a statement to their fellow friends that they are taken and every other woman or lady should back off</li></ol><p>As I’ve said, there’s no inherently good or bad thing, it’s up to what you both think is right, but you’re always going to get people who get offended by your <a href="https://questionbump.com/question/whats-your-stand-on-public-display-of-affection/">public displays of affection</a> when you’re out and about in the world , for example, when you’re walking through the park and someone is looking at you and you’re kissing your significant other if they don’t want to see it, considering it should be b.</p><p>It might be inappropriate especially for kids, you don’t want to do all kinds of wild things out in public that you really should do behind closed doors like sexual acts.</p><p><a href="https://questionbump.com/question/why-women-like-public-display-of-affection/">https://questionbump.com/question/why-women-like-public-display-of-affection/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca62aa92106c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the salary and tax brackets in Canada?]]></title>
            <link>https://medium.com/@pianistprogrammer/what-is-the-salary-and-tax-brackets-in-canada-52e8c4583858?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/52e8c4583858</guid>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Tue, 09 Jun 2020 06:06:31 GMT</pubDate>
            <atom:updated>2020-06-09T06:06:31.417Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s talk about the salary scheme and tax brackets that you<a href="https://turbotax.intuit.ca/tips/manitoba-tax-rates-and-the-most-popular-credits-deductions-programs-and-rebates-555#:~:text=Manitoba&#39;s%20Income%20Tax%20Rates%20for,for%20the%20portion%20above%20%2470%2C610"> earn in Canada</a> and what comes into your pockets after all the deductions, it’s basically the expectations vs. reality of what the earning looks like and I’ll be using a particular amount so that it’s relatable to know the breakdown of how the deductions are and what to expect as the net income which is what goes into your pocket after all the deductions have been made. This is something everyone should be aware of and if you’re going to <a href="https://questionbump.com/question/what-is-the-easiest-means-to-migrate-to-canada-as-a-skilled-worker/">immigrate</a> to Canada, this should not catch you by surprise when you start working.</p><h4><strong>Tax brackets</strong></h4><p>So I’ll be using the benchmark of $20 per hour. Also, there’s something called tax brackets. This is different with different provinces, which means that the tax bracket for Manitoba is different from that of Ontario. What this means is that if one is living in Manitoba and the person is earning $36,000 per annum there is a percentage that is deducted from the individual’s salary (which is the tax bracket). If the person moves to Ontario and still earns the same amount, the tax bracket of Ontario will be used</p><p>I’ll be using Manitoba’s salary and tax bracket as illustration in this article. Manitoba has three tax brackets combined with the federal; the first tax bracket is 10.8%. This implies that if you are earning from $0 — $32,670 per annum, 10.8% will be deducted and if your gained an increase in salary and you earn $70,000, automatically your tax bracket will be increased to 12.75% and a further increase of salary about $70k, attracts a tax bracket of 17.4%. This is the provincial tax bracket scheme.</p><h4><strong>The Federal Tax Bracket</strong></h4><p>For the federal tax bracket,</p><ul><li>15% for the first $46,000,</li><li>20.5% for those who earn $60k — $93k per annum</li><li>26% is deducted from those who earn between $93k — $144k</li><li>29% is deducted from those who earn between $144k — $205k</li><li>33% is deducted from those who earn about $205k</li></ul><p>but I don’t want to dwell on the tax bracket so much although it has an effect on how much will be deducted from the salary, but I’ll be dwelling so much on the main salary so that you can understand what to expect at the end of the month.</p><p>Using a base amount which is $20 per hour, it’s very rare for a new immigrants to get a salary or to get a job that pays about $20.00 per hour but it’s not impossible. There are a group of people who earn as much as that and more but most immigrants won’t because of their backgrounds so you have to start from the bottom and walk your way up.</p><p>Therefore most immigrants start with a minimum wage, some start with $15 per hour while others start with 17, 18 or 19 and it increases as you progress. If you are lucky to earn $20 per hour, your tax bracket is 32.8%. This gives you $3,000 per month and $36,000 per annum. So let’s break it down, automatically you’re earning $150 per day and in Canada, the way people get their salaries is different. Some companies pay weekly, some pay bi-weekly, others pay monthly but the majority of companies paid bi-weekly. So if you are paid bi-weekly, you’ll be getting $1500 for $20/hour.</p><h4>Deductions</h4><p>Now for $1500 bi-weekly, if your company has a union, you’ll be required to pay union dues $20 and this is deducted from your salary, now that’s $1480, this amount is the taxable income. The federal tax will be $131.83, and the provincial tax will be $114.07 so automatically $245.30 will be taken out from the balance $1480 and what you get is $1,235.</p><p>More deductions are still made, another deduction is called CPP (Canada Pension Plan). Everybody has to contribute to Canada Pension Plan because it is a compulsory deduction.</p><p>This will take $69.63, another deduction called EI will take $24. At the end of the day, from $1500, after $359.23 has been deducted all together, you’ll then get $1140.77, so the real monthly pay is <strong>$2281.54</strong></p><p>This amount is what is used to pay for bills like rent, phone bills, insurance, day care, cars bills and the higher you earn, the higher the tax, so it eventually looks like you’re working hard and not much is coming in. What are your thoughts about the salary and the tax brackets in Canada</p><p><a href="https://questionbump.com/question/what-is-the-salary-and-tax-brackets-in-canada/">https://questionbump.com/question/what-is-the-salary-and-tax-brackets-in-canada/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52e8c4583858" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HOW CAN I SETUP FLUTTERWAVE PAYMENT WEBHOOK SUCCESSFULLY ON LARAVEL 5?]]></title>
            <link>https://medium.com/@pianistprogrammer/how-can-i-setup-flutterwave-payment-webhook-successfully-on-laravel-5-4ed51d346388?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ed51d346388</guid>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Sun, 07 Jun 2020 03:32:15 GMT</pubDate>
            <atom:updated>2020-06-07T03:32:15.485Z</atom:updated>
            <content:encoded><![CDATA[<p>I inherited a project recently written in laravel 5.8 to be precise, at this time, <a href="https://laravel.com/docs/7.x">laravel</a> has moved on to version 7, but my main issue here is how to get the flutterwave payment gateway (A very efficient Nigerian payment gateway) to work in this project, the previous developer had started work on it. After many attempts and reaching out to the rave team, I’ll be sharing a step-by-step process of how to do that sucessfully, from the A-Z. Before now a laravel package had been created for this purpose, its called <a href="https://github.com/kingflamez/laravelrave"><em>kingflamez/laravelrave</em></a> or check the official <a href="https://laravelrave.netlify.app/getting-started/installation.html">docs</a>. Follow the steps to get the rave package into your laravel project.</p><p>First, create a controller in laravel and call it RaveController with this command</p><p>php artisan make:controller RaveController</p><p>If you correctly setup your rave composer package, you should have the file rave.php in your config folder in laravel i.e. config/rave.php. Also your environment variables ( .env file) need to be setup correctly too as this</p><p>RAVE_PUBLIC_KEY=FLWPUBK_TEST-xxxxxxx<br>RAVE_SECRET_KEY=FLWSECK_TEST-XXXXXXX<br>RAVE_TITLE=&quot;Name of your Company&quot;<br>RAVE_ENVIRONMENT=&quot;test/live --(choose anyone)&quot;<br>RAVE_LOGO=&quot;link to the rave logo&quot;<br>RAVE_PREFIX=&quot;rave&quot;<br>RAVE_SECRET_HASH=&#39;your secret hash string&#39;</p><p>Once all these are setup properly, let’s proceed to the rave controller that you have created. Assume that you have a TransactionHistory model and thus a table in your database names transactionhistory.</p><p>First, rave looks for the initialize method, therefore, you should generate your transaction reference in this method before sending to the web-hook. Generate a prefix, this is provided by the rave package, and save all the created objects to the database like the code below</p><pre>&lt;?php<br><br>namespace App\Http\Controllers;<br><br>use App\<em>TransactionHistory</em>;<br>use App\<em>User</em>;<br>use Illuminate\Http\<em>Request</em>;<br>use Illuminate\Support\Facades\<em>Auth</em>;<br>use <em>Rave</em>;<br><br><em>class</em> RaveController extends <em>Controller</em><br><br><br>/**<br>* Initialize Rave payment process<br>* @return void<br>*/<br>public <em>function</em> initialize()<br>integer&#39;,<br>], [&#39;phone.starts_with&#39; =&gt; &#39; :attribute number must begin with 0. e.g 070123456789&#39;, &#39;amount.integer&#39; =&gt; &#39; :attribute number must be a number&#39;]);<br><br>$prefix = config()-&gt;get(&#39;rave.prefix&#39;);<br>$transactionPrefix = $prefix . &#39;_&#39;;<br>request()-&gt;request-&gt;add([&#39;user_id&#39; =&gt; auth()-&gt;user()-&gt;id]);<br>request()-&gt;request-&gt;add([&#39;ref&#39; =&gt; uniqid($transactionPrefix)]);<br><br><em>TransactionHistory</em>::create(request()-&gt;all());<br><br><em>Rave</em>::initialize(route(&#39;callback&#39;));<br><br><br>/**<br>* Obtain Rave callback information<br>* @return void<br>*/<br><br>public <em>function</em> callback()<br><br>$res_json = json_decode(request()-&gt;request-&gt;get(&#39;resp&#39;));<br>$txref = $res_json-&gt;data-&gt;data-&gt;txRef;<br>$data = <em>Rave</em>::verifyTransaction($txref);<br>$chargeResponsecode = $data-&gt;data-&gt;chargecode;<br>$transaction = <em>TransactionHistory</em>::where(&#39;ref&#39;, $txref)-&gt;first();<br>if (($chargeResponsecode == &quot;00&quot;</pre><p>You can write the webhook function just before the callback function. The web-hook automatically runs as a background service, you don’t get to see how it happens except you use a <a href="https://laravel.com/docs/7.x/logging#introduction">logger</a> which is also provided by laravel.</p><p>Also, for the webhook to work, your RAVE_SECRET_HASH=’your secret hash string’ in your .env file must be the same as on your rave dashboard — (go to settings on your dashboard, and click the <a href="https://dashboard.flutterwave.com/dashboard/settings/webhooks">webhooks</a> tab.</p><p>Your url should look like this; <a href="https://yourdomainname/rave/receive">https://yourdomainname/rave/receive</a></p><pre>public <em>function</em> webhook()<br>$data = <em>Rave</em>::receiveWebhook();<br>$txref = $data[&#39;txRef&#39;];<br>if ($data[&#39;status&#39;] == &#39;successful&#39;) <br>   $transaction = <em>TransactionHistory</em>::where(&#39;ref&#39;, $txref)-     &gt;first();<br>   $user = <em>User</em>::whereId($transaction-&gt;user_id)-&gt;first();<br>   //give your user value here<br>   $transaction-&gt;update([<br>     &#39;flwref&#39; =&gt; $data[&#39;flwRef&#39;],<br>     &#39;type&#39; =&gt; $data[&#39;event.type&#39;],<br>   ]);</pre><p>Also, we need to update the VerifyCsrfToken.php file to exempt the POST call of the webhook from using the CSRF which is the custom behaviour of all POST method calls in laravel. Head on to app/Http/VerifyCsrfToken.php and add the following code</p><p>protected $except = [ &#39;rave/callback&#39;, &#39;rave/receive&#39;, ];</p><p>Finally, we need to create a route of this to work. In the routes/web.php file , add this</p><p><em>Route</em>::post(‘/pay’, ‘RaveController@initialize’)-&gt;name(‘pay’); <em>Route</em>::get(‘/rave/callback’, ‘RaveController@callback’)-&gt;name(‘callback’);</p><p>And that’s all….., you’re done.</p><p>Let’s talk about the errors you might encounter.</p><p>I had an issue first with the package, because my project is version 5.8, all I needed to do was:</p><pre>php artisan vendor:publish --provider=&quot;KingFlamez\Rave\RaveServiceProvider&quot;</pre><p>but it didn’t work as expected. When this happens to you, try to clear cache, OR delete the vendor folder and re-install OR use these commands</p><pre>php artisan cache:clear<br>php artisan config:clear</pre><p>These two commands are very important. Lastly check the function called receiveWebhook in the Rave.php file inside the kingflamez/laravelrave/src located in your vendor folder to see if it is the same with the one the official docs on <a href="https://developer.flutterwave.com/docs/events-webhooks">event-webhook</a> has. GOODLUCK</p><p><a href="https://questionbump.com/question/how-can-i-setup-flutterwave-payment-webhook-successfully-on-laravel-5/">https://questionbump.com/question/how-can-i-setup-flutterwave-payment-webhook-successfully-on-laravel-5/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ed51d346388" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Laravel 5 App on shared hosting]]></title>
            <link>https://medium.com/@pianistprogrammer/deploy-laravel-5-app-on-shared-hosting-436defa99385?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/436defa99385</guid>
            <category><![CDATA[laravel-5]]></category>
            <category><![CDATA[php7]]></category>
            <category><![CDATA[web-hosting]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Mon, 17 Dec 2018 02:06:40 GMT</pubDate>
            <atom:updated>2018-12-17T02:14:51.197Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, I’ll show you how to deploy your existing laravel 5 app from local to a shared hosting platform. Even with the likes of <a href="https://heroku.com/"><strong>Heroku</strong></a> helping out to deploy laravel projects, this is a big challenge for quite a number of people because heroku for example don’t use mysql as their default database platform but it’s quite easy.</p><p>Things needed:</p><ul><li><strong>Php and Laravel knowledge</strong></li><li><strong>Shared hosting account (already bought domain and hosting plan)</strong></li></ul><p>This tutorial assumes you already have your laravel app created on your local server, so I won’t go through those steps anymore. If you don’t, quickly spin up a new laravel project by checking this <a href="https://laravel.com/docs/5.6"><strong>link</strong></a><strong>. </strong>In this case, I called the project <strong>blog</strong></p><p>Step 1: We re-arrange the file and folder structure of the project; First create a folder in the root folder of your project (the same location where you have the app, bootstrap, config, database folders.). call it <strong>AppFolder</strong> , then copy all the contents of your root folder into this <strong>AppFolder</strong> except the <strong>public</strong> folder. Eventually in your project you should have just <strong>AppFolder</strong> and <strong>public</strong> folder</p><p>Step 2: Now, copy all the contents of the public folder to the root folder and then delete the public folder afterwards. You should have something like the image below if you did that correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P91XLIPUCgcGq--yz1OQOQ.png" /><figcaption>Folder structure for the root folder (blog)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wNcCau4_Fie-YwsU_rhOnw.png" /><figcaption>Folder structure for the AppFolder</figcaption></figure><p>Step 3: We need to edit the index.php because this is where our project picks up from. Edit it to look like this, this ensures it point to the right file in path</p><pre>require __DIR__.’/AppFolder/bootstrap/autoload.php’;<br>$app = require_once __DIR__.&#39;/AppFolder/bootstrap/app.php&#39;;</pre><p>Step 4: Zip your files and upload to the public_html of your host provider and subsequently extract the files. Finish with your database connections in your .env file and you are ready to go</p><p>Once you successfully do this, you are through, your project is ready</p><p><strong>Common Challenges</strong></p><ol><li>Hidden files: If you are using Mac, there are chances that hidden files (such as .htaccess, .env) do not get copied into the <strong>AppFolder</strong> folder, so i suggest you do this re-arrangement from a text-editor like VisualStudio Code, it does it perfectly. Just make sure everything that came with the project is copied to its respective location</li><li>Php Artisan commands: You will not be able to use the php artisan serve command and in-fact, you don’t need it, once your url is at the root of your project, it opens the index.php. All your artisan commands should be run inside the <strong>AppFolder</strong> , like what you have below</li></ol><p>(base) localhost:AppFolder pianistprogrammer$ php artisan make:model</p><p>If you did all these correctly, voila, you have yourself a successful deployed project. If you feel this was not easy for you, you can check my <a href="https://medium.com/@pianistprogrammer/deploy-laravel-5-app-on-heroku-with-mysql-using-bitbucket-ci-pipeline-ff90c982676"><strong>post</strong></a> on how to deploy laravel 5 app with heroku</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=436defa99385" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Laravel 5 App on heroku with mysql using bitbucket CI pipeline]]></title>
            <link>https://medium.com/@pianistprogrammer/deploy-laravel-5-app-on-heroku-with-mysql-using-bitbucket-ci-pipeline-ff90c982676?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff90c982676</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[laravel-5]]></category>
            <category><![CDATA[phpstorm]]></category>
            <category><![CDATA[bitbucket]]></category>
            <category><![CDATA[heroku]]></category>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Tue, 10 Jul 2018 12:33:42 GMT</pubDate>
            <atom:updated>2018-07-10T12:33:42.286Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, I’ll show you how to deploy your existing laravel 5 app from local to heroku using the CI pipeline. It’s quite easy. We will use mysql in this tutorial.</p><p>Things needed:</p><ul><li><strong>Php and Laravel knowledge</strong></li><li><strong>Heroku user account</strong></li><li><strong>Heroku toolbet (Heroku CLI)</strong></li><li><strong>Git knowledge</strong></li><li><strong>Bitbucket</strong></li></ul><p>This tutorial assumes you already have your laravel app created on your local server, so I won’t go through those steps anymore. If you don’t, quickly spin up a new laravel project by checking this <a href="https://laravel.com/docs/5.6"><strong>link</strong></a><strong>.</strong></p><p>Step 1. Create a git repository on bitbucket, call it <em>smallapp </em>for example</p><p>Step 2. Clone git clone &lt;repo name&gt;the repository from bitbucket, and copy your laravel application into the folder created by git.</p><p>Now your app has been initialized on git. Open your project with any great IDE of your choice. I will recommend <strong>PhpStorm</strong> for this purpose. To check this, type git init on your terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VtmPnO0NJBxiuEX2idvvmQ.png" /></figure><p>Step 3. commit your code to your repository on bitbucket with git add .</p><p>git commit -m &quot;added something new to this repo just now&quot;</p><p>git push origin master Once this is successful, you are ready to deploy your app on heroku</p><p>Step 4. <a href="https://devcenter.heroku.com/articles/getting-started-with-laravel#creating-a-procfile">Creating a Procfile</a></p><p>By default, Heroku will launch an Apache web server together with PHP to serve applications from the root directory of the project.</p><p>Type this on your terminal in PhpStorm. This step will create a Procfile in your project and then commit the changes.</p><pre>echo web: vendor/bin/heroku-php-apache2 public/ &gt; Procfile<br>$ git add .<br>$ git commit -m &quot;Procfile for Heroku&quot;</pre><p>Step 5: Create Heroku user account; go to <a href="https://signup.heroku.com/login"><strong>heroku</strong></a><strong> </strong>and sign up if you don’t have a user account on heroku. Then you can login to that account from your project terminal using heroku login This will prompt you for username and password (password might not be revealed as you type).</p><p>Step 6: Create an app on heroku heroku create simpleapp Heroku automatically knows the language of the app you create.</p><p>Step 7: Set the APP_KEY variable withheroku config:set APP_KEY=… you can first run php artisan key:generate --show to see the key. Put that key in the first command.</p><p>Instead of pushing our project to heroku directly as seen on <a href="https://devcenter.heroku.com/articles/getting-started-with-laravel"><strong>heroku’s documentation</strong></a>, we will setup a CI pipeline on bitbucket that will do that for us.</p><p>Step 8: Click on the Pipeline on the sidebar menu on bitbucket to setup a build pipeline. This is require you to create a .yml file in your project with name “bitbucket-pipelines.yml”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CdeKj0ymS6_76AYnrPlh4A.png" /></figure><p>Once you have done that and you commit the changes to the repo, bitbucket should automatically recognise that file. Paste the following code in there</p><pre><em># This is a sample build configuration for PHP.<br># Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.<br># Only use spaces to indent your .yml configuration.<br># -----<br># You can specify a custom docker image from Docker Hub as your build environment.<br></em><strong>image: </strong>php:7.1<br><strong>pipelines:<br>  default:<br>    </strong>- <strong>step:<br>        caches:<br>          </strong>- composer<br>        <strong>script:<br>          </strong>- php -v<br>          - apt-get update<br>          - apt-get install -y unzip git<br>          - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD<br>          - export CACHE_DRIVER=redis<br>          - export SESSION_DRIVER=redis<br>          - export DB_CONNECTION=mysql<br>          - php artisan migrate</pre><p>Step 9: Setup your variables on bitbucket for $HEROKU_API_KEY and $HEROKU_APP_NAME in the pipeline</p><p>Step 10: On your heroku dashboard (overview tab), click on Configure-Add-ons and search for Cleardb, choose the Ignite(free) or any other Pricing plan you wish. <strong>NOTE: YOU WILL BE REQUIRED TO ADD YOUR DEBIT CARD DETAILS BEFORE THIS CAN BE APPROVED</strong>.</p><p>All your db credentials will be created including database name, username and password.</p><p>For example, from this url: mysql://b6de34rj38adfad3:a10cd36db@us-cdbr-iron-east-05.cleardb.net/heroku_c40fa7a488382ef?reconnect=true</p><p>the string between mysql:// and : is your DB_USERNAME i.e b6de34rj38adfad3</p><p>the string between : and @ is your DB_PASSWORD i.e a10cd36db</p><p>the string between @ and the next / is your DB_HOST i.e us-cdbr-iron-east-05.cleardb.net</p><p>and the string between / and ? is your DB_DATABASE i.e heroku_c40fa7a488382ef</p><p>You can set the above in your env variable, and your laravel app should be connected to the database just fine.</p><p>You can use a tool like <a href="https://www.heidisql.com/">HeidiSQL</a> or MySQL Workbench to view and manage your database.</p><p>You can use a tool like <a href="https://www.heidisql.com/">HeidiSQL</a> or MySQL Workbench to view and manage your database.</p><p>That’s it. Now, anytime you make changes to your app locally, updating your heroku app through the pipeline is as easy as:</p><p>git add .</p><p>git commit -m &quot;commit message&quot;</p><p>git push origin master</p><p>and voila!!, your online app is updated.</p><p>Note: On heroku, you won’t have access to your *<em>larave.log*</em> file, so in order to be able to see your app-generated logs, you’ll need to direct your app’s logs to heroku’s logs streams. You can do that by setting the .env variable APP_LOG to <em>errorlog</em>. i.e</p><pre>heroku config:set APP_LOG=errorlog</pre><p>Then you’d be able to view your logs by running:</p><pre>heroku logs</pre><p><strong>Friendly warning:</strong> the heroku logs can be sometimes overwhelming, so you just have to take your time to sieve through and find what you’re looking for 😁</p><p><strong>Update: </strong>To run your regular artisan commands on heroku, precede all statements with heroku run e.g heroku run php artisan migrate . You can also do this in heroku dashboard of your app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*R1_zk_whfMziejysm5Rz3w.png" /></figure><p>Congratulations. You have just deployed a laravel app on heroku using bitbucket pipline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff90c982676" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Risk of Investing in an ICO without a working product]]></title>
            <link>https://medium.com/@pianistprogrammer/risk-of-investing-in-an-ico-without-a-working-product-8329e8710e5c?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/8329e8710e5c</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ico-review]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ico]]></category>
            <category><![CDATA[sureremit]]></category>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Wed, 04 Apr 2018 12:01:52 GMT</pubDate>
            <atom:updated>2018-04-04T12:03:34.574Z</atom:updated>
            <content:encoded><![CDATA[<p>With the increase in use of blockchain, many companies have been introducing their tokens to the public particularly on the stellar network. With a handful of stellar-based ICO’s cropping up, and with the recurring theme of fraud taking place with ICOs on other dapp blockchain platforms (e.g. Ethereum), I wanted to share my insights to help protect the community. I have been fortunate enough to partake in a very successful ICO which have yielded great returns even before the beta app was released. Some other ICOs I also monitored from inception which looked extremely promising and very enticing (with fancy landing pages, amazing promises, etc.), but were in reality full of air. The reason is not far fetched — NO WORKING PRODUCT. Therefore you wanna ask yourself some sincere questions when investing in any ICO;</p><ol><li>Is there a good reason as to why the project is being developed using blockchain technology? This question will probably give you an idea of what the product is being built. For example, a good one will be to use blockchain to help immigrants pay bills, buy airtime, buy gift cards in a developing country at low cost, ideas like <strong>SureRemit</strong>. If the answer is NO, then run, it’s a bad idea. The pre-sale might likely be successful and probably crowd sale but then holders of the token don’t get the value for it later because there is no product.</li><li>Is the team equipped for success? take a look at the team displayed on their website, make sure they are credible people, check out their profile, the kind of companies they have worked for, but hey, that’s not enough too. do they have what it takes to deliver? won’t you rather invest in a lean and more experienced team than a team with a bunch of teenagers with many advisors who are mostly fake?</li><li>Without a working product, what then determines the forces of demand and supply? where is the market? with just a few people holding the tokens, what motivates others to buy after the ICO? how does the general market respond to the token, even if the token are listed in popular exchanges, it will make little or no difference because the wise investors will only invest in what is viable when they see a working system already. Consider the “giant”of the crypto market <strong>Bitcoin, </strong>we have seen it drop drastically because of some regulations in the USA; the regulation became a factor determining the price, not a strong factor for cryptos where market forces determines the price when there is a product to which it is used.</li></ol><p>For example take a look at this chart below, from Day 1: launch of the ICO, it has been a steady movement upwards, with the rank starting at 509 on <a href="https://www.coinmarketcap.com/">coinmarketcap</a> and ICO price at $0.02, just some months after that, price began to respond to the beta app product. SureRemit is leveraging on SureGifts; a conglomerate of local merchants in Nigeria including top companies like Deloitte, KPMG, Dangote, Shell, Chevron, UnionBank, Zenithbank, PWC just to mention a few</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S-AG87eARayVlNdZi6TsZQ.jpeg" /></figure><p>The above questions does not satisfy totally the main consideration on investing in an ICO, but it will sure reduce your risk of investing in a wrong one. Also, just a disclaimer: the example used in this article(SureRemit) is not the only successful ICO running on stellar platform or the only successful ICO with a working product. I plan on taking a survey to number of people that have gotten their returns back from ICOs without a working product as against the ones with a viable product running.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8329e8710e5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE UI/UX (Paged or Long scroll) SURVEY RESULT]]></title>
            <link>https://medium.com/@pianistprogrammer/the-ui-ux-paged-or-long-scroll-survey-result-e4e13b00044a?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4e13b00044a</guid>
            <category><![CDATA[infinite-scroll]]></category>
            <category><![CDATA[blackberry]]></category>
            <category><![CDATA[pagination]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Sat, 22 Jul 2017 09:55:27 GMT</pubDate>
            <atom:updated>2017-07-22T09:55:27.622Z</atom:updated>
            <content:encoded><![CDATA[<p>INTRODUCTION:</p><p>There’s a debate against pagination, just to justify best practices, for the long scroll on pages. Imagine having 1000 posts on a blog page, would you prefer to scroll down the items or have them paged? This was the survey carried out online with the help of google form and the start-up company that helped to push it wider. <strong>D-pia innovations Hub</strong> in Lagos (A Tony Elumelu award winner 2017).</p><p>SURVEY CONDITIONS</p><p>The survey was created on the 10th of July 2017, and it lasted for two weeks. It was opened to all categories of people using mobile phones.</p><p>SURVEY PARAMETERS</p><p>The parameters used for this survey were;</p><p>1. Mobile device OS (Android, IOS, Blackberry, Windows Phone)</p><p>2. Screen sizes (4”, 5”, 5.5” 6”, 7”, 10”)</p><p>3. Preferred layout (Paged or long scroll)</p><p>RESULTS</p><p>We needed just 100 responses from the survey, luckily, we got 103, which is a very good benchmark for us. From the results we got, we had an extra response to a survey that we did not intend. <strong>Out of 103 persons that responded, 93 used Android OS (90.3%), 2 people used windows OS (1.9%), 4 people used blackberry OS (3.9%) and 4 people used IOS (3.9 %). It is obvious that Android OS has swept the market than all others</strong>. To the main results of the survey;</p><p>13 (12.6 %) people used 4” (6 choose the long scroll option while 7 chose the Paged option)</p><p>30 (29.1%) people used 5” (16 choose the long scroll option while 14 chose the Paged option)</p><p>27 (26.2%) people used 5.5” (14 choose the long scroll option while 13 chose the Paged option)</p><p>23 (22.3%) people used 6” (12 choose the long scroll option while 11 chose the Paged option)</p><p>6 (5.8%) people used 7” (3 choose the long scroll option while 3 chose the Paged option)</p><p>4 (3.9%) people used 10” (1 choose the long scroll option while 3 chose the Paged option)</p><p>INTERPRETATION &amp; CONCLUSION</p><p>From the analysis of this survey, it is clear that people with medium sized screens like 5”, 5.5”and 6” preferred to do the long scroll rather than have their items paginated. But the larger screen owners preferred the paged view simply because their devices look more like a book.</p><p>In conclusion, since the majority of phones we have today are the medium sized devices as the survey result suggests (30 people for 5”, 27 people for 5.5”), for a very good user experience, it is better to stick to the long scroll but in style so that the page load doesn’t become cumbersome. We can have the first 20 items on the page, just as the user reaches the last item, the next 20 loads together with the former items. This is the best practices.</p><p>In summary, as a developer, you need to consider your target audience when developing a mobile app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*7Gt39EAwigndkWo_MFPgmg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*3DcAqG8d-hYeE2dW65wtAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*2JnalY6FjnIV3wB1l_su3g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4e13b00044a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It was that simple!]]></title>
            <link>https://medium.com/@pianistprogrammer/it-was-that-simple-9236516f28a6?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9236516f28a6</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Mon, 17 Jul 2017 16:40:45 GMT</pubDate>
            <atom:updated>2017-07-17T16:40:45.200Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>It was that simple!</strong></p><p>Did I think I will switch to php ever? I’ve been a dot net developer for a couple of years now. Sincerely, anytime I hear that there’s a new language or framework or something like that, it gets me angry , because I was always afraid to try it out so I’ld say “must you know all the languages or frameworks?” but little did I know that there are people working hard, having sleepless nights just to simply these things for us.</p><p>So, with a determined mind, I jumped at it, and now I’m so happy I worked with laravel with my first study of the documentation and tutorials from stack overflow. I was able to put up a blog website. You know the joy of doing that right? I immediately opened a repository on github and made it public, I am happy to give back to the community, I know this will help some other people</p><p>You can get it on github https://github.com/pianistprogrammer/Simple-blog-website-with-laravel-5.3</p><p>@pianistprogrammer: A pianist first before programmer</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9236516f28a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Would you rather keep your money instead of lending?]]></title>
            <link>https://medium.com/@pianistprogrammer/would-you-rather-keep-your-money-instead-of-lending-e6404d37843b?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6404d37843b</guid>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[money]]></category>
            <category><![CDATA[lending]]></category>
            <category><![CDATA[borrowing]]></category>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Mon, 26 Jun 2017 19:27:59 GMT</pubDate>
            <atom:updated>2017-06-26T19:27:59.777Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*U37JTac8Z8cgjgll61Lyjw.jpeg" /></figure><p>Would you rather keep your money instead of lending?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*lvoOSZp_DDuiy6zh8QY7Pg.jpeg" /></figure><p>Did you say you are honest, and someone with integrity? How can I argue with you?, after all, action speaks louder than voice. I only need to pass you through my <strong>litmus test</strong>. Time and time again, this test has never failed. To be candid, won’t you keep your money, save it and be happy later? They see you as a bad person when you don’t lend them, so my advise, do not lend any amount of money you can part with. If for example someone requests for 20k but you can only part with 5k, lend the person the 5k hoping that the person will fail the test. I read a book some times ago, it says <strong><em>see everyone as a beast, to avoid disappointment</em></strong>. So when you wanna lend a someone you call a friend some bucks, think twice before you do</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6404d37843b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Must everyone code?]]></title>
            <link>https://medium.com/@pianistprogrammer/must-everyone-code-51014b805b1d?source=rss-46db13b950e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/51014b805b1d</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[ABIMBOLA JEREMIAH]]></dc:creator>
            <pubDate>Mon, 26 Jun 2017 18:40:39 GMT</pubDate>
            <atom:updated>2017-06-26T18:41:53.924Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Must everyone code?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*KLhlFaEtuI8JkKiL5cr-gg.jpeg" /></figure><p>This question comes from someone who I believe is afraid to code or doesn’t want to code at all because they believe it’s boring, brain tasking and too difficult. You might want to take this example to backup your fear by asking this question “did Steve Jobs write a line of code?”. The issue here is not about that man who was successful in the tech industry. The world is fast changing, technology is advancing. Hey! “Tech is the new oil and gas&quot;. With different aspects of technology, ranging from Artificial intelligence, Software engineering, web development , reverse engineering, graphics design just to mention a few, one could fit into any of these but the real deal is this: all these aspects still requires at least a primitive knowledge of how to code and the working principles. Remember the illiterate of the 22nd century will be those that don’t have any idea about programming. Be wise! In five years from now, you would have wished you had started something if you haven’t started now, but what exactly are you waiting for?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51014b805b1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>