Skip to content

Instantly share code, notes, and snippets.

View Ian-Balijawa's full-sized avatar
💭
Write code that's easy to delete, not easy to extend. Tef, prgrming is terrible

ian Ian-Balijawa

💭
Write code that's easy to delete, not easy to extend. Tef, prgrming is terrible
View GitHub Profile
@Ian-Balijawa
Ian-Balijawa / Step 1: Create API User.MD
Created November 24, 2023 09:41 — forked from chaiwa-berian/Step 1: Create API User.MD
Testing MTN MoMo Collection API in Sandbox using Postman

A. Checklist

  • To create an API User, you need the following things in place: X-Reference-Id and Ocp-Apim-Subscription-Key

1. X-Reference-Id

  • This is used as User ID since the Sandbox is a Mock Environment so we kinda create our own ids and send them over to the sandbox so it can uniquely identify the user
  • Get the value for this here: https://www.uuidgenerator.net/api/version4
  • Remember to keep this safely as we will use it when configuring our POST request
  • Lets say you have your X-Reference-Id as: 9f92971b-cd2e-4feb-9053-0b14d53ac4f5

2. Ocp-Apim-Subscription-Key

  • Get this from the Primary or Secondary Key of your Collections | Enable remote collection of bills, fees or taxes subscription.
@Ian-Balijawa
Ian-Balijawa / settings.json
Last active July 14, 2023 11:30
My VSCode Settings
{
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
".build/**": true,
"out/**": true,
"out-build/**": true,
"out-vscode/**": true,
"i18n/**": true,
"extensions/**/out/**": true,
@Ian-Balijawa
Ian-Balijawa / node_nginx_ssl.md
Created May 6, 2022 16:28 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

Card Hover Interactions

Hacking together a solution to show part of an element in a card as a default state, lining up the element headline across each card and then animating the element to the center of its parent element

A Pen by Ryan Mulligan on CodePen.

License.