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
[cole@localhost cfa]$ python analyze.py | |
Earliest Entry in Air Pollutants and Odors happend on 2012-12-05 00:00:00 | |
Latest Entry in Air Pollutants and Odors happend on 2012-12-19 00:00:00 | |
Air Pollutants and Odors has 2 total entries | |
Earliest Entry in Animals and Pests happend on 2012-01-03 00:00:00 | |
Latest Entry in Animals and Pests happend on 2012-12-28 00:00:00 | |
Animals and Pests has 180 total entries |
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
import csv | |
import operator | |
count = 1 | |
previousCategory = None | |
previousDate = None | |
previousCount = 1 | |
with open('Violations-2012.csv', 'rb') as csvfile: | |
spamreader = csv.reader(csvfile, delimiter=',', quotechar='"') |
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
ftp://ftp.attglobal.net/pub/custom/ibm_linux/agnclient-1.0-2.0.1.3003.i386.rpm |
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" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Michael Sheets</string> | |
<key>name</key> | |
<string>Twilight</string> | |
<key>settings</key> | |
<array> |
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
Access to .ORG WHOIS information is provided to assist persons in | |
determining the contents of a domain name registration record in the | |
Public Interest Registry registry database. The data in this record is provided by | |
Public Interest Registry for informational purposes only, and Public Interest Registry does | |
not | |
guarantee its accuracy. This service is intended only for query-based | |
access. You agree that you will use this data only for lawful purposes | |
and that, under no circumstances will you use this data to: (a) allow, | |
enable, or otherwise support the transmission by e-mail, telephone, or |
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
var $ = require('cheerio'), | |
request = require('request') | |
function gotHTML(err, resp, html) { | |
if (err) return console.error(err) | |
var parsedHTML = $.load(html) | |
parsedHTML('.cnn_mtt1content > ul > li > a ').map(function(i, latest) { | |
var href = $(latest).attr('href') | |
console.log(href); | |
}) |
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
$ nmap -p 6667 -sT irc.mozilla.org | |
Starting Nmap 6.25 ( http://nmap.org ) at 2013-06-26 21:10 EDT | |
Nmap scan report for irc.mozilla.org (63.245.216.214) | |
Host is up (0.076s latency). | |
rDNS record for 63.245.216.214: concrete.mozilla.org | |
PORT STATE SERVICE | |
6667/tcp open irc | |
Nmap done: 1 IP address (1 host up) scanned in 2.09 seconds |
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
/Users/donellekosch/Sites/favorites/node_modules/jsdom/lib/jsdom.js:177 | |
features = JSON.parse(JSON.stringify(window.document.implementation._fea | |
^ | |
TypeError: Cannot read property 'implementation' of undefined | |
at exports.env.exports.jsdom.env.processHTML (/Users/donellekosch/Sites/favorites/node_modules/jsdom/lib/jsdom.js:177:59) | |
at Request.exports.env.exports.jsdom.env [as _callback] (/Users/donellekosch/Sites/favorites/node_modules/jsdom/lib/jsdom.js:282:9) | |
at Request.init.self.callback (/Users/donellekosch/Sites/favorites/node_modules/jsdom/node_modules/request/main.js:122:22) | |
at Request.EventEmitter.emit (events.js:99:17) | |
at Request.<anonymous> (/Users/donellekosch/Sites/favorites/node_modules/jsdom/node_modules/request/main.js:661:16) | |
at Request.EventEmitter.emit (events.js:126:20) |
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
/* | |
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. | |
Available via Academic Free License >= 2.1 OR the modified BSD license. | |
see: http://dojotoolkit.org/license for details | |
*/ | |
/* | |
This is an optimized version of Dojo, built for deployment and not for | |
development. To get sources and documentation, please visit: |
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
{"total_rows":3390,"offset":0,"rows":[ | |
{"id":"edda41ac-a211-4b74-bded-6c2b10543f56","key":["2012-05-29T06:51:39+00:00"],"value":"http://www.zeit.de/politik/ausland/2012-05/nordkorea-usa-spionage"}, | |
{"id":"c3f0e701-11f2-44df-8d9b-5ba88f02680d","key":["2012-06-13T04:16:40+00:00"],"value":"http://www.zeit.de/wirtschaft/2011-12/nyt-fuehrungswechsel"}, | |
{"id":"b1ee46c2-323e-43e7-aeae-2af08cdc48af","key":["2012-08-09T10:51:35+00:00"],"value":"http://www.zeit.de/video/2012-08/1777516331001"}, | |
{"id":"a81ff47f-aae4-4dd5-a678-0b31565c6f88","key":["2012-08-12T16:15:13+00:00"],"value":"http://www.zeit.de/2012/32/Zeitkritik-Postdemokratie-Spaetkapitalismus-Replik"}, | |
{"id":"3adf7500-1278-4886-81b6-9bccafcc0175","key":["2012-08-12T18:22:51+00:00"],"value":"http://www.zeit.de/politik/ausland/2012-08/syrien-flugverbotszone-usa"}, | |
{"id":"51f347b4-f732-48a4-85db-ceb257105fb4","key":["2012-08-13T06:33:52+00:00"],"value":"http://www.zeit.de/politik/deutschland/2012-08/kanzlerkandidatur-spd-albig"}, | |
{"id":"b9789cb6-5215-4de0-a7d5-6 |