Skip to content

Instantly share code, notes, and snippets.

View vikitripathi's full-sized avatar

Abhishek Dutt vikitripathi

  • Bangalore
View GitHub Profile
@vikitripathi
vikitripathi / onboarding.py
Last active August 29, 2015 14:23
coding game :
import sys, math
# CodinGame planet is being attacked by slimy insectoid aliens.
# <---
# Hint:To protect the planet, you can implement the pseudo-code provided in the statement, below the player.
# game loop
while 1:
enemy1 = raw_input() # name of enemy 1
public static String reverseRecursively(String str) {
//base case to handle one char string and empty string
if (str.length() < 2) {
return str;
}
return reverseRecursively(str.substring(1)) + str.charAt(0);
}

chartFactory

/affini-tech/ChartFactory

Based on D3.JS and Dimple, ChartFactory provide the ability to build quickly D3.JS charts without coding any lines of javascript. Just define your dashboard in a JSON and voila !

charts: [
        {id:'chart1',
         width:800,height:250,

xAxis:{type:'Category',field: "Month",orderRule:'Date'},