Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| import React, { Fragment, useEffect, useState, useMemo } from 'react'; | |
| const filterBy = { | |
| disciplines: (item, selectedDisciplines) => { | |
| const selectDisciplinesArr = Object.keys(selectedDisciplines).filter(key => | |
| Boolean(selectedDisciplines[key]) | |
| ) | |
| return selectDisciplinesArr.length | |
| ? selectDisciplinesArr.indexOf(item.discipline) > -1 |
| function readInput() { | |
| const readline = require('readline') | |
| const rl = readline.createInterface({ | |
| input: process.stdin, | |
| output: process.stdout, | |
| }) | |
| let problem = { | |
| T: 0, | |
| testCases: [] |
| <div id="vop-root"></div> | |
| <script type="text/javascript"> | |
| (function (w, d, s, o, f, js, fjs) { | |
| w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments) }; | |
| js = d.createElement(s), fjs = d.getElementsByTagName(s)[0]; | |
| js.id = o; js.src = f; js.async = 1; fjs.parentNode.insertBefore(js, fjs); | |
| }(window, document, 'script', 'vop', ' https://cdn.getvop.com/embed/scripts/embed.js')); | |
| vop('init', { element: document.getElementById('vop-root'), appId: 558, component: 'carousel', template: 2, socials: { tiktok: 'https://www.tiktok.com/@princesspolly' } }); | |
| </script> |
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| $array = array( | |
| 'account_bank' => $bankcode, | |
| 'account_number' => $accountno, | |
| 'amount' => $amount, | |
| 'seckey' => $secretKey, | |
| 'narration' => $narration, | |
| 'currency' => "NGN", | |
| 'reference' => "rave-".time() | |
| ); | |
| $single = new Transfer(); | |
| $result = $single->singleTransfer($array); | |
| $trx = json_decode($result, true); | |
| return $trx; |
| require_once('Flutterwave/api/Transfer.php'); | |
| use Flutterwave\Transfer; |
| PUBLIC_KEY = "****YOUR**PUBLIC**KEY****" | |
| SECRET_KEY = "****YOUR**SECRET**KEY****" | |
| ENV = "staging or live" |