Skip to content

Instantly share code, notes, and snippets.

View iCHAIT's full-sized avatar

Chaitanya Gupta iCHAIT

View GitHub Profile
@iCHAIT
iCHAIT / data.csv
Created March 27, 2016 11:45
Activity variation for a user over a year.
month Testing Coding Code-Review Documentation
1 6 5 7 8
2 4 6 1 7
3 7 2 1 11
4 6 2 4 3
5 4 9 12 3
6 2 7 3 12
7 1 4 7 8
8 2 1 3 14
9 7 1 4 5
@iCHAIT
iCHAIT / data.csv
Created March 25, 2016 15:47
Users vs Hours Worked on weekly/monthly basis
month tschuy kennric mathuin lyonesgamer pop iCHAIT
1 52.9 90.8 38.9 11.9 22.9 54.1
2 57.6 92.3 45.4 15.7 27.7 61.1
3 64.5 93.8 55 24.7 35.4 69.9
4 69.9 94.6 62.8 38.5 44.9 77.6
5 74.3 94.6 69.2 54.4 55.6 82.9
6 80.7 96.6 77.1 68.3 61.9 87.4
7 85.2 97.6 82.6 71.2 66.8 91.8
8 80.2 91.6 81.6 73.2 64.8 95.8
9 84.2 92.6 81.6 74.2 62.8 92.8
@iCHAIT
iCHAIT / index.html
Last active March 25, 2016 11:52
Time Usage vs Life cycle of a project over months/years.
<!DOCTYPE html>
<meta charset="utf-8">
<link href="http://ourworldindata.org/wp-content/uploads/nvd3/nvd3_StackedArea_PopByRegime/nv.d3.css" rel="stylesheet" type="text/css">
<link href="http://ourworldindata.org/wp-content/uploads/maxstyle_for_d3/max.nv.d3.css" rel="stylesheet" type="text/css">
<style>body{overflow-y:hidden;overflow-x:hidden;margin:0px 4px 0px 0px;}#CreditsContainer{position:absolute;height:40px;background-color:#FAFAFA;width:100%;bottom:0;margin:0;border:0;padding:0;}text{font:12px sans-serif;}#chart1,#chart2{position:absolute;}.tick line{opacity:0.3;}</style>
<body>
<div>
<svg id="chart1"></svg>
</div>
@iCHAIT
iCHAIT / index.html
Last active March 25, 2016 11:49
Projects vs Hours Worked.
<!DOCTYPE html>
<meta charset="utf-8">
<link href="http://ourworldindata.org/wp-content/uploads/nvd3/nvd3_multiBarChart_DeadlinessPerConflictPerTypePerDecade/nv.d3.css" rel="stylesheet" type="text/css">
<link href="http://ourworldindata.org/wp-content/uploads/maxstyle_for_d3/max.nv.d3.css" rel="stylesheet" type="text/css">
<style>body{overflow-y:hidden;overflow-x:hidden;margin:0px 4px 0px 0px;}#CreditsContainer{position:absolute;height:40px;background-color:#FAFAFA;width:100%;bottom:0;margin:0;border:0;padding:0;}#chart1,#chart2{position:absolute;}#chart1 .nv-lineChart circle.nv-point,#chart2 .nv-lineChart circle.nv-point{fill-opacity:0.9;}#chart1 .nv-lineChart path.nv-line,#chart2 .nv-lineChart path.nv-line{stroke-opacity:0.6;stroke-width:0.5px;}.tick line{opacity:0.3;}</style>
<body>
<div>
<svg id="chart1"></svg>
</div>
@iCHAIT
iCHAIT / index.html
Last active March 25, 2016 11:48
Activities vs Time Spent by the Organization for each project.
<!DOCTYPE html>
<meta charset="utf-8">
<link href="http://ourworldindata.org/wp-content/uploads/nvd3/nvd3_multiBarChart_DeadlinessPerConflictPerTypePerDecade/nv.d3.css" rel="stylesheet" type="text/css">
<link href="http://ourworldindata.org/wp-content/uploads/maxstyle_for_d3/max.nv.d3.css" rel="stylesheet" type="text/css">
<style>body{overflow-y:hidden;overflow-x:hidden;margin:0px 4px 0px 0px;}#CreditsContainer{position:absolute;height:40px;background-color:#FAFAFA;width:100%;bottom:0;margin:0;border:0;padding:0;}#chart1,#chart2{position:absolute;}#chart1 .nv-lineChart circle.nv-point,#chart2 .nv-lineChart circle.nv-point{fill-opacity:0.9;}#chart1 .nv-lineChart path.nv-line,#chart2 .nv-lineChart path.nv-line{stroke-opacity:0.6;stroke-width:0.5px;}.tick line{opacity:0.3;}</style>
<body>
<div>
<svg id="chart1"></svg>
</div>
#include<iostream>
#include<math.h>
using namespace std;
int main()
{
float arr[3][4]={{3.2,1.05,2.5,0.38},{3.0,1.12,2.5,0.35},{2.8,1.20,2.5,0.32}};
//float arr[3][4]={{2.4,1.05,2.5,0.38},{3.0,1.12,2.5,0.35},{3.6,1.2,2.5,0.32}};
float tab[15][6] = {{0.75,0.88,1.00,1.15,1.4,0},{0,0.94,1.00,1.08,1.16,0},{0.7,0.85,1.00,1.15,1.30,1.65}, {0,0,1.00,1.11,1.30,1.66},
{0,0,1.00,1.06,1.21,1.56}, {0,0.87,1.00,1.15,1.30,0}, {0,0.87,1.00,1.07,1.15,0}, {1.46,1.19,1.00,0.86,0.71,0},
{1.29,1.13,1.00,0.91,0.82,0}, {1.42,1.17,1.00,0.86,0.70,0}, {1.21,1.10,1.00,0.90,0,0}, {1.14,1.07,1.00,0.95,0,0},
# include <iostream>
# include <math.h>
using namespace std;
int main()
{
float arr[3][4]={{2.4,1.05,2.5,0.38},{3.0,1.12,2.5,0.35},{3.6,1.2,2.5,0.32}};
@iCHAIT
iCHAIT / django-secret-keygen.py
Created February 27, 2016 16:46 — forked from mattseymour/django-secret-keygen.py
Django secret key generator
"""
Pseudo-random django secret key generator.
- Does print SECRET key to terminal which can be seen as unsafe.
"""
import string
import random
from __future__ import print_function
#include <iostream>
#include <fstream>
#include<vector>
#include<string.h>
using namespace std;
int topS=-1;
static int adj[100][100];
int main () {
string line;
vector<string> mat;

1. 52°North Initiative for Geospatial Open Source Software GmbH (Applying)

  • No. of proj accepted - 6

  • difficulty level/Desc - Difficult (GeoInformation stuff)

  • tags - geo , geospatial , java , gis , spatiotemporal , geoprocessing , traffic , environment , R , R-project , earth observation , geoprocessing , spatial data , geostatistics , sensor web , search , mobile , eventing , database

  • ideas - SPARQL endpoint and InterOperability for EnviroCar data Social Driving Stats