Skip to content

Instantly share code, notes, and snippets.

Avatar
🕊️

Madhusudhan Srinivasa madhums

🕊️
View GitHub Profile
View mpesa-c2b-registerurl-response-error.json
{
"Envelope": {
"encodingStyle": "http://schemas.xmlsoap.org/soap/encoding/",
"Body": {
"Fault": {
"faultcode": "soap:Server",
"faultstring": "Execution of ServiceCallout SCO-AddURLVault failed. Reason: ResponseCode 409 is treated as error",
"faultactor": {},
"detail": {
"source": {
@madhums
madhums / .zshrc
Created Aug 21, 2020
my zshrc file (using ohmyzsh)
View .zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/madhu/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@madhums
madhums / keystone-magic-link-example.js
Last active Jul 26, 2020
An example app using keystonejs and magic-link passport auth using jwt
View keystone-magic-link-example.js
View docker-compose.yml
version: '3.2'
services:
nc:
image: nextcloud
volumes:
- ./nextcloud:/var/www/html
ports:
- 8080:80
depends_on:
@madhums
madhums / react-native-ecosystem-reading.md
Created Feb 25, 2020
react native ecosystem reading
View react-native-ecosystem-reading.md

Basically you need to get familiar with the react ecosystem. Here's some that you would be widely using

  • React: Some important concepts here are
  • Redux: I am assuming you already know about this
  • Redux Saga: for async api comms
  • React Native: Pretty much uses the same react, redux stuff except for some new interfaces. Some important things to learn here are
View ccm-notes.md

Is this article related to a climate event?

Metrics:

  • How will I know if an article covers climate event?
  • What do we consider as climate event?

Output: label: Climate event

@madhums
madhums / docker-compose.yml
Created Aug 15, 2019
docker with nginx and php-fpm
View docker-compose.yml
version: '3.3'
services:
php:
image: php:7.1-fpm
volumes:
- .:/var/www/html
working_dir: /var/www/html
networks:
- web
@madhums
madhums / install-android-emulator-brew-macos.md
Created Jul 9, 2019
installing android emulator using cli on a mac
View install-android-emulator-brew-macos.md

In your command line

brew cask install android-sdk
sdkmanager "emulator"
sdkmanager "platform-tools"
sdkmanager "system-images;android-26;google_apis;x86_64"
avdmanager create avd -n NAME -k "system-images;android-26;google_apis;x86_64" # the one that you use above
View keybase.md

Keybase proof

I hereby claim:

  • I am madhums on github.
  • I am madhums (https://keybase.io/madhums) on keybase.
  • I have a public key ASBVMIs9eqWnfu0aNDPJA5_wKDQv66UV2VaW4wuo7Ev5VQo

To claim this, I am signing this object:

You can’t perform that action at this time.