This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🏗 Lint & Build | |
on: workflow_call | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# remove all local branches except develop | |
git branch | grep -v “develop” | xargs git branch -d | |
# undo the most recent git commit | |
git commit -m “core: commit message to undo live here” | |
# udoing the previous commit | |
git reset HEAD~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch -f --index-filter 'git rm -r -f --ignore-unmatch <FILE_TO_REMOVE>' HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KC_REALM=<insert realm name here> | |
KC_USERNAME=<username here> | |
KC_PASSWORD=<password here> | |
KC_CLIENT=<client name here> | |
KC_CLIENT_SECRET=<client secret here> | |
KC_SERVER=<server address and port here> | |
KC_CONTEXT=auth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
A few things to note about USSD: | |
USSD is session driven. Every request we send you will contain a sessionId, and this will be maintained until that session is completed | |
You will need to let the Mobile Service Provider know whether the session is complete or not. If the session is ongoing, please begin your response with CON. If this is the last response for that session, begin your response with END. | |
If we get a HTTP error response (Code 40X) from your script, or a malformed response (does not begin with CON or END, we will terminate the USSD session gracefully. | |
using visual studio 2013 or Greater | |
go to file > new > project | |
in the projects window choose web under C# | |
select ASP.NET Web Application and name your project as you like |