Skip to content

Instantly share code, notes, and snippets.

id value
flare
flare.analytics
flare.analytics.cluster
flare.analytics.cluster.AgglomerativeCluster 3938
flare.analytics.cluster.CommunityStructure 3812
flare.analytics.cluster.HierarchicalCluster 6714
flare.analytics.cluster.MergeEdge 743
flare.analytics.graph
flare.analytics.graph.BetweennessCentrality 3534
https://leetcode.com/problems/longest-increasing-subsequence/
Your first Django project!
http://tutorial.djangogirls.org/en/django_start_project/index.html
@MinxianLi
MinxianLi / Comparison of web application frameworks
Created November 2, 2015 16:08
Comparison of web application frameworks
https://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks
@MinxianLi
MinxianLi / Fetch HTML webpage
Created November 2, 2015 02:28
ONLY WORKS FOR PYTHON 2.
import urllib
file = urllib.urlopen("http://www.python.org")
s = file.read()
f.close()
#I'm guessing this would output the html source code?
print(s)
@MinxianLi
MinxianLi / Python Web Crawler
Last active November 2, 2015 02:27
Fetch jpg from a webpage - ONLY WORKS FOR PYTHON 2
Credit: http://www.rudy-yuan.net/archives/189/
#! /usr/bin/python
import re
import urllib
def getHtml(url):
request = urllib.urlopen(url)
id name
1 Charlie Sheen
2 Oliver Stone
3 Michael Douglas
4 Martin Sheen
5 Morgan Freeman
PersonName,"Company Name",year
"Kenny Bastani","Neo Technology",2013
"Michael Hunger","Neo Technology",2010
"James Ward","Heroku",2011
"Someone",,
"John","Doe.com","ninetynine"