Skip to content

Instantly share code, notes, and snippets.

View victorighalo's full-sized avatar
🤔
Digging Deeper into the science of computers daily.

Victor Osas Ighalo victorighalo

🤔
Digging Deeper into the science of computers daily.
  • Lagos, Nigeria
View GitHub Profile
{
"availableTo": [
{
"id": 0,
"name": "Customers",
"description": "Customers"
},
{
"id": 1,
"name": "Groups",
{"confirm":true,"showInactiveFees":true,"process":true,"closeDormantAccounts":false,"LockArrearsAccounts":false,"CapCharges":false,"loanProductKey":"c81105a829b4418c9734423c443252fc","accountingMethod":"1","adminPredefinedFees":[],"accountInitialState":"0","accountLinkagEnabled":false,"accrueLateInterest":false,"activated":true,"allowArbitrayFees":false,"allowCustomRepaymentAllocation":false,"amortizationMethod":"NA","applyInterestOnRepaymentMethod":"NA","branchList":[{"branchKey":"4d740a96129448ba909a753c6b95f3c0","branchId":"104","branchName":"ZEDVANCE LEKKI","branchEmailaddress":"lekkibranch@gmail.com","branchPhonenumber":"0703876546","branchNotes":"New branch","branchState":"Active","createdBy":"30f21222540b4204970c7f7799c9e5ce","creationDate":"2021-07-08T19:41:10.77","lastModifiedDate":"2021-07-13T21:22:46.123"},{"branchKey":"8864028349254011b12f1ff703fc7d2c","branchId":"102","branchName":"Zedvance Agege","branchEmailaddress":"agegezedvance@qa.team","branchPhonenumber":"08188652345","branchNotes":"","bra
{"enums":{"availableTo":[{"id":0,"name":"Customers","description":"Customers"},{"id":1,"name":"Groups","description":"Groups"},{"id":2,"name":"Group Solidarity","description":"Group_Solidarity"},{"id":3,"name":"All Branches","description":"All_Branches"}],"idType":[{"id":0,"name":"Incremental Number","description":"Incremental_Number"},{"id":1,"name":"Random Pattern","description":"Random_Pattern"}],"initialAccountState":[{"id":0,"name":"Pending Approval","description":"Pending_Approval"},{"id":1,"name":"Partial Application","description":"Partial_Application"}],"accountManagedUnderCreditArrangement":[{"id":2,"name":"No","description":"No"}],"interestCalculationMethod":[{"id":0,"name":"Flat","description":"Flat"},{"id":1,"name":"Declining Balance","description":"Declining_Balance"},{"id":2,"name":"Declining Balance Equal Installments","description":"Declining_Balance_Equal_instalments"}],"howIsTheInterestRateCharged":[{"id":0,"name":"% Per Year","description":"Per_Year"},{"id":1,"name":"% Per Month","descript
{"payload":[{"role":{"id":48,"name":"basic_management","role_code":"basic_management","description":"local users and country team","is_custom":true,"permissions":null,"hibernateLazyInitializer":{}},"business":{"business_name":"British Council Tanzania","business_industry":"education-26829894","website_url":"www.britishcouncil.or.tz","rc_number":null,"phone_number":"255 (0) 686 888 000","business_email":"info@britishcouncil.or.tz","merchant_email":"information@britishcouncil.or.ke","number":"00002475","transLink":"l7nwY0wi","productLink":null,"live_private_key":"SBSECK_YLPDBUBS3U6MNNSQLAUWMWVAOEMH7S9TYHFUT0DW","live_public_key":"SBPUBK_POLJDOONZLJB2DQWS6MBEWBSJ7ACW0RB","test_private_key":"SBTESTSECK_aEkhlK7pHJNHd8SMtQYMYGCehWS26LtpPqZubd5F","test_public_key":"SBTESTPUBK_KZUTzIWU8ydSN3TaMhCEZ1mt2O7Q79Ac","address":{"street":"Corner Samora Machel Avenue & Ohio Street PO Box 9100 Dar es Salaam Tanzania","city":"Dar es Salaam","state":"Dar es Salaam","country":"TZ"},"cardFee":{"mc":"1.5","verve":"1.5","visa":"1.
# Template React Deploy
# This template allows you to deploy your React app to an AWS S3 bucket and invalidate the old AWS Cloudfront distribution.
# The workflow allows running tests, code linting and security scans on feature branches (as well as master).
# The react app will be validated, deployed to S3 and trigger an AWS Cloudfront distribution invalidation to refresh the CDN caches after the code is merged to master.
# Prerequisites: $AWS_ACCESS_KEY_ID, $AWS_SECRET_ACCESS_KEY setup in the Deployment variables.
# For advanced cases, please, follow examples from the pipe's:
# README https://bitbucket.org/atlassian/aws-s3-deploy/src/master/README.md
# README https://bitbucket.org/atlassian/aws-cloudfront-invalidate/src/master/README.md
@victorighalo
victorighalo / openpgp-encrypt-decrypt
Created May 3, 2024 08:47
OpenPGP Encryption and Decryption
const openpgp = require('openpgp');
const pk = `-----BEGIN PGP PUBLIC KEY BLOCK-----
-----END PGP PUBLIC KEY BLOCK-----`;
const sk = `-----BEGIN PGP PRIVATE KEY BLOCK-----
-----END PGP PRIVATE KEY BLOCK-----`