[ Launch: timeline.js ] 8467469 by samzhang111
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
#!/bin/sh | |
#forked from https://gist.github.com/ddollar/07d579a6621b3ddd7b6b/ | |
# capture root dir | |
root=$(pwd) | |
# change into subdir of archive | |
cd $root/dbus-* | |
[ Launch: Tributary inlet ] 10185213 by samzhang111
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
<property> | |
<name>db.signature.class</name> | |
<value>org.apache.nutch.crawl.TextProfileSignature</value> | |
<description>The default implementation of a page signature. Signatures | |
created with this implementation will be used for duplicate detection | |
and removal.</description> | |
</property> | |
<property> | |
<name>db.signature.text_profile.min_token_len</name> |
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
Please tag commit messages with one of the following: | |
API: an (incompatible) API change | |
BLD: change related to building numpy | |
BUG: bug fix | |
DEP: deprecate something, or remove a deprecated object | |
DEV: development tool or utility | |
DOC: documentation | |
ENH: enhancement | |
MAINT: maintenance commit (refactoring, typos, etc.) |
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
rom collections import defaultdict | |
class SuffixTree(object): | |
def __init__(self, key=None): | |
self.key = key | |
self.dict = { | |
'count': 0, | |
'children': {} | |
} |