This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="utf-8"> | |
<title>Geocoding service</title> | |
<style> | |
html, body { | |
height: 100%; | |
margin: 0px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def linkedlist1(): | |
""" | |
How do you reverse a singly linked list? How do you reverse a doubly linked list? Write a | |
program to do the same. | |
""" | |
class NodeSingle(object): | |
def __init__(self, n,v): | |
self.next = n | |
self.value = v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import copy | |
class Table(object): | |
''' | |
TODO: | |
- Group By (a.k.a. aggregate funcs) | |
- In place row delete. | |
- unit tests | |
- Make it a python package | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="utf-8"> | |
<title>Adding a Custom Overlay</title> | |
<style> | |
html, body { | |
height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* http://candrews.net/blog/2010/10/introducing-sprymap/ | |
* Charlie Andrews | |
* | |
* Instantiate the widget when you want it to turned into a map, | |
* probably in the window.onload or $(document).ready() function. | |
* | |
* Default parameters are listed as the parameters below | |
* var map = new spryMap({ | |
* // The ID of the element being transformed into a map |
NewerOlder