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
| # This is a sloppy HTTP server version of TextCat, an n-gram based natural language guesser | |
| # written by Gertjan van Noord in 1997. | |
| # More info: http://odur.let.rug.nl/~vannoord/TextCat/ | |
| # | |
| # TextCat was distributed under the GNU Lesser General Public License. | |
| # | |
| # You need the language model files (LM folder from Gertjan's distribution) in a directory. | |
| # Set the variable $opt_d to point to that directory. | |
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 tweetstream | |
| from pymongo import MongoClient | |
| # look for these words: | |
| WORDS = ['word1', 'word2'] | |
| TWITTER_USER = "" | |
| TWITTER_PASS = "" | |
| MONGO_DB = 'tweetstream' |
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
| # encoding: utf-8 | |
| """ | |
| A simple development webserver for the console that features | |
| throttling (if enabled by -t) and ignores query strings. | |
| """ | |
| import SimpleHTTPServer | |
| import SocketServer | |
| import os |
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
| { | |
| spatialtest: { | |
| document: { | |
| properties: { | |
| location: { | |
| type: "geo_point" | |
| }, | |
| title: { | |
| type: "string" | |
| } |
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
| Cache-Control: public, max-age=43200 | |
| Connection: keep-alive | |
| Content-Length: 81443 | |
| Content-Type: text/css; charset=utf-8 | |
| Date: Sat, 28 Apr 2012 22:37:56 GMT | |
| ETag: "flask-1335630896.86-81443-1985555092" | |
| Expires: Sun, 29 Apr 2012 10:37:56 GMT | |
| Last-Modified: Sat, 28 Apr 2012 16:34:56 GMT | |
| Server: nginx/0.7.65 | |
| Set-Cookie: session="IZK844h3a4CHUU02CIjgyc08RHM=?lang=Vml0CnAxCi4="; Path=/; HttpOnly |
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
| CREATE TABLE `tweets` ( | |
| `id` varchar(24) NOT NULL DEFAULT '', | |
| `created_at` datetime NOT NULL, | |
| `user_id` bigint(20) unsigned NOT NULL, | |
| `user_name` varchar(128) NOT NULL DEFAULT '', | |
| `user_followers` int(11) unsigned NOT NULL, | |
| `user_friends` int(10) unsigned DEFAULT NULL, | |
| `user_listed` int(10) unsigned DEFAULT NULL, | |
| `user_statuses` int(10) unsigned DEFAULT NULL, | |
| `user_location` varchar(100) DEFAULT NULL, |
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
| CDU | |
| CDU-Fraktion in der Bezirksvertretung | |
| des Stadtbezirke Ehrenfeld | |
| Henn Oberbürgennei „ _ ‚ erm Bezirksbürgenneister | |
| Jürgen Roters * " _ „_ . ‚ osef Wrrges | |
| Rathaus Eingaig 28 Feb 2m Bezirksrathaus Ehrenfeld |
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
| # coding: utf-8 | |
| """ | |
| Dieses Script beendet bestimmte Scraper-Prozesse, die | |
| schon länger als einen Tag laufen. | |
| """ | |
| PS_CMD = 'ps -eo pid,etime,cmd|grep scrape_updated_dose_values.py' |
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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| This script acquires statistics on usenet groups. | |
| It first reads a list of groups from a file and then | |
| reads the Google Group info page about that group to | |
| gather monthly post counts. | |
| """ |
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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| This script acquires statistics on usenet groups. | |
| It first reads a list of groups from one or more usenet servers | |
| and then gets monthly post statistics about these groups from | |
| Google Groups. | |
| """ |