This file contains 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
from pyspark import SparkConf, SparkContext | |
from pyspark.sql import SQLContext, Row | |
import collections | |
conf = SparkConf().setMaster("local").setAppName("RatingsHistogram") | |
sc = SparkContext(conf = conf) | |
sqlContext = SQLContext(sc) | |
def mapper(line): | |
li = line.split(',') |
This file contains 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
<!-- source: http://www.labnol.org/internet/adblock-with-google-analytics/28819/ --> | |
<script> | |
window.onload = function() { | |
// Delay to allow the async Google Ads to load | |
setTimeout(function() { | |
// Get the first AdSense ad unit on the page | |
var ad = document.querySelector("ins.adsbygoogle"); |
This file contains 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
[ | |
{ | |
"_id" : "0417", | |
"count" : 1.0000000000000000 | |
}, | |
{ | |
"_id" : "0218", | |
"count" : 1.0000000000000000 | |
}, | |
{ |
This file contains 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
[ | |
{ | |
"_id" : "9721", | |
"count" : 2.0000000000000000 | |
}, | |
{ | |
"_id" : "1044", | |
"count" : 1.0000000000000000 | |
}, | |
{ |
This file contains 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
[ | |
{ | |
"_id" : "Md", | |
"count" : 1.0000000000000000 | |
}, | |
{ | |
"_id" : "Q5", | |
"count" : 1.0000000000000000 | |
}, | |
{ |
This file contains 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
<?xml version="1.0"?> | |
<!DOCTYPE rdf:RDF [ | |
<!ENTITY owl "http://www.w3.org/2002/07/owl#" > | |
<!ENTITY riddle "http://www.solulos.com/riddle#" > | |
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > | |
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > | |
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > | |
]> |
This file contains 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
[ | |
{ | |
"code":"AL", | |
"desc":"Alabama" | |
}, | |
{ | |
"code":"AK", | |
"desc":"Alaska" | |
}, | |
{ |
This file contains 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
{ | |
"feed":{ | |
"$":{ | |
"xmlns":"http://www.w3.org/2005/Atom" | |
}, | |
"author":[ | |
{ | |
"email":[ | |
"[email protected]" | |
], |
This file contains 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
{ | |
"title":"Standard Industrial Classification (SIC) Code List", | |
"source":"http://www.sec.gov/info/edgar/siccodes.htm", | |
"codes":[ | |
{ | |
"SIC Code":100, | |
"Industry Title":"AGRICULTURAL PRODUCTION-CROPS" | |
}, | |
{ | |
"SIC Code":200, |
This file contains 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
{ | |
100:"Client should continue with request", | |
101:"Server is switching protocols", | |
102:"Server has received and is processing the request", | |
103:"resume aborted PUT or POST requests", | |
122:"URI is longer than a maximum of 2083 characters", | |
200:"standard response for successful HTTP requests", | |
201:"request has been fulfilled; new resource created", | |
202:"request accepted, processing pending", | |
203:"request processed, information may be from another source", |
NewerOlder