Skip to content

Instantly share code, notes, and snippets.

View kidwai's full-sized avatar

Mohammad Kidwai kidwai

  • Toronto, Ontario
View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
0x540cf76f7efaffdeef8eec75b07807353667cef7,TitaniumBARToken
0xbc4eb0f70b735e0d41d4f6160e81a8806ae05de6,Angelscoin
0x1a3B341D22C3bC84304C86ed3D6e6A53A6EEa2b8,MiniMeToken
0x416993d2384d9b82687f34f7fea29f6fb2c6c56d,Market
0x14156118793b977b4559ed50484DD59B688A5825,WhiteList
0x052b7112f050a3fb79ee2afdc1c9e821a2b1f0c2,ERC20Token
0x4cffa13d6336490ce281eb52f45d3073d32d0cc4,Angelscoin
0xb066ab1ccefbab273efd7aff756157db061f4a80,SRCToken
0x3b253defe296877ad467eaca7bfb60937bd7c457,GSD
0xA96B24E4987056859411A8f3C7EA4B163395e664,EthereumModern
@kidwai
kidwai / LinearModel.sol
Created May 20, 2017 01:45
A Linear Regression Model in Solidity.
pragma solidity ^0.4.9;
library Math {
function mul (uint a, uint b, uint decimals) internal constant returns (uint) {
return a*b/10**decimals;
}
function div (uint a, uint b, uint decimals) internal constant returns (uint) {
return a*10**decimals/b;
@kidwai
kidwai / Texify-Mathjax.js
Created August 29, 2017 20:36 — forked from goatandsheep/Texify-Mathjax.js
A Tampermonkey / Greasemonkey script that turns LaTeX code on page into mathematical symbols using MathJax
// ==UserScript==
// @name TeXify the World MathJax
// @namespace
// @version 1.0
// @description Enables MathJax to process LaTeX on all websites. Based off SOUP (Stack Overflow Unofficial Patch) and http://www.math.ucla.edu/~robjohn/math/mathjax.html.
// @include *
// @copyright
// ==/UserScript==
/*
var mathjaxVersion = "http://cdn.mathjax.org";
this is a test
$(cat test-file)
string file contents
string file contents
body{
background-color: #272822 !important;
color: #99badd;
}
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objs as go
import pandas as pd
csvs = ['https://gist.githubusercontent.com/chriddyp/' +
created_at,actor,created_at,id,org,payload,public,repo,type
2015-01-31,478,478,478,271,478,478,478,478
2015-02-28,314,314,314,143,314,314,314,314
2015-03-31,298,298,298,134,298,298,298,298
2015-04-30,619,619,619,399,619,619,619,619
2015-05-31,573,573,573,310,573,573,573,573
2015-06-30,516,516,516,273,516,516,516,516
2015-07-31,572,572,572,315,572,572,572,572
2015-08-31,329,329,329,182,329,329,329,329
2015-09-30,639,639,639,377,639,639,639,639