Skip to content

Instantly share code, notes, and snippets.

View innomon's full-sized avatar

Ashish Banerjee innomon

View GitHub Profile
@innomon
innomon / fib-benchmark.asciidoc
Created November 21, 2016 11:24
Fibonacci Benchmark

Lua v/s JavaScript

Based on lua benchmarks, I conducted my own tests.

Table 1. Benchmark Result
Program time

fib.go

0m0.068s

fib.c

0m0.076s

@innomon
innomon / serverless-aws-gc.adoc
Last active February 28, 2017 15:33
Serverless Architecture Stacks AWS vs Google
@innomon
innomon / project-gold-coin-eth-hyperledger.adoc
Created March 2, 2017 14:26
Proof-of-concept for Gold Backed Cryptocurrency Technology Demonstrator

Proof-of-concept for Gold Backed Cryptocurrency Technology Demonstrator

Here is a gist of the proposal for Proof-of-concept (POC) for Gold Backed Cryptocurrency Technology Demonstrator

Background

We Indians are obsessed with gold, while RBI (Reserve Bank of India) holds 557 tonne gold, we citizens hold 20,000 tonne gold! Must of this gold is in form of jewelry. Indian women hold jewelry as a form personal social security, in rare financial crisis, she uses this as a collateral for taking loans. Many, middle to low middle class families gives a small amount from the household savings, to the jeweler, and buys virtual units of gold. After a threshold, she gets it converted to gold ornaments.

Savings in form of gold ornaments is highly unproductive, as it shaves off up to 30% as making & conversion charges.

Post demonetization, Indian citizens are more aware of Digital transactions and use of e-wallets. Gold is available as an investment instrument in dematerialized form.

@innomon
innomon / assignment-dapp-ui.asciidoc
Last active May 29, 2018 08:41
SprintUp S2018: Ethereum DApp UI Assignment
@innomon
innomon / bbz-storefront-refactor.asciidoc
Last active June 13, 2018 12:39
Open Source Refactoring Project
@innomon
innomon / ethlance-local.asciidoc
Created July 14, 2018 13:02
Ethlance Local Install
@innomon
innomon / poa-gas-burn.asciidoc
Created December 28, 2018 10:20
Please verify my assumption on Ethereum POA (clique) gas burning is correct?

POA Gas burn : code walk

I prepared this gist to confirm from the community if my assumption on Ethereum POA (clique) gas burning is correct?

From what I groked today in the ethereum go code, it appears that the gas used during the contract execution is burned, that is debited from the contract transaction submitter’s account but not credited to anyone.

Please see the code snippets below:

@innomon
innomon / GraphQl.g4
Last active September 10, 2019 11:05
GraphQl.g4 : modified type to dtype to resolve golang code generation
/*
The MIT License (MIT)
Copyright (c) 2015 Joseph T. McBride
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell