Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View herbertUG's full-sized avatar
:octocat:
Javascript!

Herbert Bruno Oketa Yot herbertUG

:octocat:
Javascript!
View GitHub Profile
@bradtraversy
bradtraversy / laravel_valet_setup.md
Last active April 13, 2024 04:19
Laravel Valet install on mac

Laravel Valet Setup (Mac)

This will get you setup with Laravel & Valet on your Mac. Quentin Watt has a good video tutorial on getting setup here as well

Install Homebrew

Go to https://brew.sh/ and copy the command and run in your terminal

It will be something like this...

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#!/bin/bash
reset
set +x
echo "------- LE2117 to LE2115 Conversion Bash Script by Lomeli12@xda -------"
echo "Please make sure you are in bootloader, your screen should say \"Fastboot Mode\" in red."
echo "You should be using the latest Google platform tools from your system's package manager (Apt, Yay, Brew, Scoop, etc)."
echo -e "Do not continue if you are unsure. \n"
# Make sure the user knows the risk and wants to continue
while true; do
@chaiwa-berian
chaiwa-berian / Step 1: Create API User.MD
Last active April 8, 2024 12:02
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.