Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Shashi shashisp

🎯
Focusing
View GitHub Profile
@shashisp
shashisp / gallery.html
Created October 21, 2016 07:58
gallery
View gallery.html
View Data_science_resources.txt
Introduction to machine learning
http://nptel.ac.in/courses/106106139/
View angular_resources.txt
Restangular -for REST
angular animations
authenication with DRF - http://richardtier.com/2014/03/15/authenticate-using-django-rest-framework-endpoint-and-angularjs/
Angular UI router
http://stackoverflow.com/questions/22175980/angular-ui-router-multiple-views
View hang_up.xml
<Response>
<Speak>Please wait while you call is being transferred.</Speak>
</Response>
@shashisp
shashisp / forward.xml
Last active September 28, 2015 21:28
View forward.xml
<Response>
<Dial callerId="888-976-6197">
<User>sip:yoda12312312@phone.plivo.com</User>
</Dial>
</Response>
View fix_sub_array_problem.py
s = raw_input().split(',')
s = map(int, s)
max_sum = 0
max_so_far = 0
left_i = 0
right_i = 0
#check all elements in the given list are positive
View world_of_differences.py
m, n = raw_input().split()
m = int(m)
n = int(n)
e_list = []
e_list = raw_input().split()
combination = [(e_list[i],e_list[j]) for i in range(len(e_list)) for j in range(i+1, len(e_list))]
difference = []
View stack_ops.py
n = int(raw_input())
stack = []
def push(element):
stack.append(element)
return element
def pop():
View score.json
{
"fields": [
{
"id": "a",
"label": "STATE/UT",
"type": "string"
},
{
"id": "b",
"label": "DISTRICT",
@shashisp
shashisp / gmaps-heatmap.js
Created March 21, 2015 15:14
gmaps-heatmap.js
View gmaps-heatmap.js
/*
* heatmap.js gmaps overlay
*
* Copyright (c) 2014, Patrick Wied (http://www.patrick-wied.at)
* Dual-licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and the Beerware (http://en.wikipedia.org/wiki/Beerware) license.
*/
function HeatmapOverlay(map, cfg){
this.setMap(map);