Skip to content

Instantly share code, notes, and snippets.

Avatar

Madhavan Malolan madhavanmalolan

View GitHub Profile
View verifier.js
var BASE_URL = "https://dauth.co/";
var axios = require('axios');
var crypto = require('crypto');
var cryptico = require('cryptico');
router.get("/", function(req, res, next){
var username = req.query.username;
var code = req.query.code;
var hashcode = req.query.hashcode;
var urlGetter = BASE_URL + "utils/url?username="+username;
View verifier.js
var axios = require('axios');
var crypto = require('crypto');
var cryptico = require('cryptico');
var BASE_URL = "https://dauth.co/";
router.get("/demo", function(req, res, next){
var username = req.query.username;
var code = req.query.code;
var hashcode = req.query.hashcode;
var urlGetter = BASE_URL + "utils/url?username="+username;
View get.java
List<String> brands = dbHelper.getKeys("brands");
String burgerPrice = dbHelper.get("menu","burger");
View get.java
List<String> brands = dbHelper.get("brands");
String burgerPrice = dbHelper.get("menu","burger");
View put.java
KeyValueDbHelper dhHelper = KeyValueDbHelper(context);
dbHelper.put("menu","burger","$10");
dbHelper.put("menu","pizza","$25");
dbHelper.put("brands","McD");
dbHelper.put("brands","Pizza Hut");
View build.gradle
compile 'com.madhavanmalolan.android:bucketkeyvaluedb:0.0.1'
View install_geth.sh
cd ~
git clone https://github.com/ethereum/go-ethereum.git
cd go-ethereum
sudo make all
You can’t perform that action at this time.