Skip to content

Instantly share code, notes, and snippets.

View mpesa-c2b-registerurl-response-error.json
"Envelope": {
"encodingStyle": "",
"Body": {
"Fault": {
"faultcode": "soap:Server",
"faultstring": "Execution of ServiceCallout SCO-AddURLVault failed. Reason: ResponseCode 409 is treated as error",
"faultactor": {},
"detail": {
"source": {
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
madhums / keystone-magic-link-example.js
Last active Oct 6, 2021
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'
image: nextcloud
- ./nextcloud:/var/www/html
- 8080:80
madhums /
Created Feb 25, 2020
react native ecosystem reading

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

Is this article related to a climate event?


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

Output: label: Climate event

madhums / docker-compose.yml
Created Aug 15, 2019
docker with nginx and php-fpm
View docker-compose.yml
version: '3.3'
image: php:7.1-fpm
- .:/var/www/html
working_dir: /var/www/html
- web