Skip to content

Instantly share code, notes, and snippets.

View ivary43's full-sized avatar
🏠
Working from home

Manish Kumar ivary43

🏠
Working from home
  • IIT Patna
View GitHub Profile
@ivary43
ivary43 / large_num.cpp
Created July 17, 2019 12:57
Large number mod
// Function to compute num (mod a)
int mod(string num, int a)
{
// Initialize result
int res = 0;
// One by one process all digits of 'num'
for (int i = 0; i < num.length(); i++)
res = (res*10 + (int)num[i] - '0') %a;
@ivary43
ivary43 / split.cpp
Created July 16, 2019 19:12
A wrapper/alternative of strtok() c
#include<bits/stdc++.h>
vector<string> stringSpilt(string str, string delimeter) {
vector<string> res ;
int n = (int)str.length();
char ch_arr[n+1];
strcpy(ch_arr, str.c_str());
const char* temp_delimeter = delimeter.c_str();
char* token = strtok(ch_arr, temp_delimeter);
while (token != NULL)
@ivary43
ivary43 / GSoC2k18.md
Last active October 20, 2019 00:41
This is my GSoC experience with Mifos Initiative

Firstly I would like to thank Edward Cable and Rajan Maurya for their guidance and support throughout whole GSoC period.

About Mifos Initiative

Mifos is an extended platform for delivering the complete range of financial services needed for an effective financial inclusion solution. Mifos helps Micro finance institutions and organisations working to address economic poverty by providing the poor, access to financial services are the core users of Mifos.

My Project - Mifos Mobile CN

Mifos Mobile CN is an Android Application built on top of the Fineract CN platform . It is a peer to peer application for making transactions , applying for loans , viewing your loan/deposit accounts and much more. The link to the repository can be found [here](https://gi

package org.mifos.mobile.cn.ui.mifos.login
import android.content.Context
import org.mifos.mobile.cn.R
import org.mifos.mobile.cn.data.local.PreferencesHelper
import org.mifos.mobile.cn.injection.ApplicationContext
import org.mifos.mobile.cn.ui.base.BasePresenter
import javax.inject.Inject
class LoginPresenter @Inject