Skip to content

Instantly share code, notes, and snippets.

View djbarnwal's full-sized avatar

Dhiraj Barnwal djbarnwal

View GitHub Profile
@djbarnwal
djbarnwal / gsoc-report-iodide.md
Last active October 13, 2018 06:13
GSoC Report for Iodide 2018

GSoC Final Report for Iodide, 2018

While looking for GSoC projects in early February 2018, I found Iodide. Iodide was a project which perfectly aligned with my interests. I was so eager to look into it that I emailed the mentor for this project Brendan Colloran for making the repository public.

I have been contributing to Iodide since the day the repository became public.

What is Iodide?

The official website states - Iodide is a modern, literate, and interactive programming environment that uses the strengths of the browser to let scientists work flexibly and collaboratively with minimal friction. With Iodide you can tell the story of your findings exactly how you want, leveraging the power of HTML+CSS to display your results in whatever way communicates them most effectively -- but still keeping the live, editable code only one click away. Because Iodide runs in the browser you already have, you can extend and modify the code without having to install any software, enabling you

@djbarnwal
djbarnwal / iodide-proposed-architecture.html
Created August 13, 2018 20:52
Iodide proposed architecture
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Iodide proposed architecture - iodide</title>
<link rel="stylesheet" type="text/css" href="iodide.iodide-server.css">
</head>
<body>
<script id="jsmd" type="text/jsmd">
%% meta
@djbarnwal
djbarnwal / fifaviz.html
Last active July 11, 2018 19:55
Fifa Visualization
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Fifa Visualization - iodide</title>
<link rel="stylesheet" type="text/css" href="iodide.dev.css">
</head>
<body>
<script id="jsmd" type="text/jsmd">
%% meta
@djbarnwal
djbarnwal / fifadata.csv
Created July 10, 2018 15:54
Fifa World Cup Data
Pos Team Participations Pld W D L GF GA GD Pts AvgPts Best finish Confederation
1 Brazil 21 109 73 18 18 229 105 124 237 2.17 Winner (5 times) CONMEBOL
2 Germany 19 109 67 20 22 226 125 101 221 2.03 Winner (4 times) UEFA
3 Italy 18 83 45 21 17 128 77 51 156 1.88 Winner (4 times) UEFA
4 Argentina 17 81 43 15 23 137 93 44 144 1.78 Winner (2 times) CONMEBOL
5 France 15 64 32 13 19 115 75 40 109 1.70 Winner (1 time) UEFA
6 England 15 67 29 21 17 90 60 30 108 1.61 Winner (1 time) UEFA
7 Spain 15 63 30 15 18 99 72 27 105 1.67 Winner (1 time) UEFA
8 Netherlands 10 50 27 12 11 86 48 38 93 1.86 Runners-up (3 times) UEFA
9 Uruguay 13 56 24 12 20 87 74 13 84 1.50 Winner (2 times) CONMEBOL
@djbarnwal
djbarnwal / fifawc2018.csv
Last active July 10, 2018 00:00
Fifa World Cup 2018
Team Group Previous appearances Previous titles Previous finals Previous semifinals Current FIFA rank
Russia A 10 0 0 1 65
Saudi Arabia A 4 0 0 0 63
Egypt A 2 0 0 0 31
Uruguay A 12 2 2 5 21
Porugal B 6 0 0 2 3
Spain B 14 1 1 2 6
Morocco B 4 0 0 0 40
IRAN B 4 0 0 0 32
France C 14 1 2 5 9
@djbarnwal
djbarnwal / pyodide--the-scientific-stack-in-webassembly.html
Created June 20, 2018 19:42
Pyodide: The scientific stack in WebAssembly
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Pyodide: The scientific stack in WebAssembly - iodide</title>
<link rel="stylesheet" type="text/css" href="iodide.iodide-server.css">
</head>
<body>
<script id="jsmd" type="text/jsmd">
%% meta
@djbarnwal
djbarnwal / titanic-survival.html
Created June 19, 2018 13:36
Titanic Survival
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Titanic Survival - iodide</title>
<link rel="stylesheet" type="text/css" href="iodide.dev.css">
</head>
<body>
<script id="jsmd" type="text/jsmd">
%% meta
@djbarnwal
djbarnwal / titanic.csv
Created June 14, 2018 10:12
Titanic Data
survived pclass sex age sibsp parch fare embarked class who adult_male deck embark_town alive alone
0 3 male 22.0 1 0 7.25 S Third man True Southampton no False
1 1 female 38.0 1 0 71.2833 C First woman False C Cherbourg yes False
1 3 female 26.0 0 0 7.925 S Third woman False Southampton yes True
1 1 female 35.0 1 0 53.1 S First woman False C Southampton yes False
0 3 male 35.0 0 0 8.05 S Third man True Southampton no True
0 3 male 0 0 8.4583 Q Third man True Queenstown no True
0 1 male 54.0 0 0 51.8625 S First man True E Southampton no True
0 3 male 2.0 3 1 21.075 S Third child False Southampton no False
1 3 female 27.0 0 2 11.1333 S Third woman False Southampton yes False
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Testing - iodide</title>
<link rel="stylesheet" type="text/css" href="iodide.dev.css">
</head>
<body>
<script id="jsmd" type="text/jsmd">
%% meta
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>My notebook - iodide</title>
<link rel="stylesheet" type="text/css" href="iodide.dev.css">
</head>
<body>
<script id="jsmd" type="text/jsmd">
%% meta