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
#!/usr/bin/env python | |
import sys | |
from internetarchive import get_data_miner | |
def get_arcs(item): | |
for f in item.files(): | |
if f.name.endswith('arc.gz'): | |
yield f |
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
#!/usr/bin/env python | |
import sys | |
# https://github.com/jjjake/ia-wrapper | |
from internetarchive import get_data_miner | |
def get_arcs(item): | |
for f in item.files(): | |
if f.name.endswith('arc.gz'): |
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
#!/usr/bin/env python | |
"""Get PDF URLs from metmuseum.org""" | |
import requests | |
from BeautifulSoup import BeautifulSoup | |
def get_pdfs(page): | |
u = 'http://www.metmuseum.org/research/metpublications/titles-with-full-text-online' | |
p = dict( | |
searchtype='F', | |
rpp='12', |
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
#!/usr/bin/env python | |
"""Get PDF URLs from metmuseum.org""" | |
import requests | |
from BeautifulSoup import BeautifulSoup | |
def get_pdfs(page): | |
u = 'http://www.metmuseum.org/research/metpublications/titles-with-full-text-online' | |
p = dict( | |
searchtype='F', | |
rpp='12', |
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
#!/usr/bin/env python | |
import sys | |
import time | |
import futures | |
from internetarchive import get_item | |
import internetarchive.service | |
def get_external_identifier(item): |
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
#!/usr/bin/env python | |
import sys | |
import time | |
import futures | |
from internetarchive import get_item | |
import internetarchive.service | |
def get_external_identifier(item): |
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/bash | |
sox "$1" -p speed 3 reverb -w 100 100 100 0 10 phaser 0.9 0.85 4 0.23 1.3 bandpass 1k 2k pad 2 \ | |
| sox -M - "$1" -p speed .4 | play - 2>/dev/null& | |
sleep .2 | |
sox "$1" -p speed 3 reverb -w 100 100 100 0 10 phaser 0.9 0.85 4 0.23 1.3 bandpass 1k 2k pad 2 \ | |
| sox -M - "$1" -p speed .4 | play - 2>/dev/null& |
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/bash | |
sox "$1" -p speed 3 reverb -w 100 100 100 0 10 phaser 0.9 0.85 4 0.23 1.3 bandpass 1k 2k pad 2 \ | |
| sox -M - "$1" -p speed .4 | play - 2>/dev/null& | |
sleep .2 | |
sox "$1" -p speed 3 reverb -w 100 100 100 0 10 phaser 0.9 0.85 4 0.23 1.3 bandpass 1k 2k pad 2 \ | |
| sox -M - "$1" -p speed .4 | play - 2>/dev/null& |
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
#!/usr/bin/env python | |
import os | |
import time | |
import internetarchive.service | |
lock = 'mod_mbid2.lck' | |
MAX_RED = 200 | |
MAX_GREEN = 1000 |
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
#!/usr/bin/env python | |
import os | |
import time | |
import internetarchive.service | |
lock = 'mod_mbid2.lck' | |
MAX_RED = 200 | |
MAX_GREEN = 1000 |
OlderNewer