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 requests | |
| import json | |
| # the search end point | |
| search_end_point = 'https://collectionapi.metmuseum.org/public/collection/v1/search' | |
| # the object endpoint | |
| object_end_point = 'https://collectionapi.metmuseum.org/public/collection/v1/objects/' | |
| # let's make a place for all of our object data to live | |
| object_data = [] |
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 requests | |
| import json | |
| btoken = 'YOUR_TOKEN_HERERERRERER' | |
| url = 'https://api.twitter.com/2/tweets/search/recent' | |
| headers = {"Authorization": f"Bearer {btoken}"} |
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
| NAF All --- https://id.loc.gov/authorities/names/suggest/?q=<QUERY>&count=25 | |
| NAF Personal Names --- https://id.loc.gov/authorities/names/suggest/?q=<QUERY>&rdftype=PersonalName&count=25 | |
| NAF Corporate Name --- https://id.loc.gov/authorities/names/suggest/?q=<QUERY>&rdftype=CorporateName&count=25 | |
| NAF Name/Title --- https://id.loc.gov/authorities/names/suggest/?q=<QUERY>&rdftype=NameTitle&count=25 | |
| NAF Title --- https://id.loc.gov/authorities/names/suggest/?q=<QUERY>&rdftype=Title&count=25 | |
| NAF Geographic --- https://id.loc.gov/authorities/names/suggest/?q=<QUERY>&rdftype=Geographic&count=25 | |
| NAF Conference Name --- https://id.loc.gov/authorities/names/suggest/?q=<QUERY>&rdftype=ConferenceName&count=25 | |
| LCSH All --- https://id.loc.gov/authorities/subjects/suggest/?q=<QUERY>&count=25 | |
| LCSH Topics --- https://id.loc.gov/authorities/subjects/suggest/?q=<QUERY>&rdftype=Topic&count=25 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 10 columns, instead of 5 in line 7.
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
| Real estate forms and arithmetic. DAILEY, VERA IRENE. A463363 Vera Irene Dailey Not renewed. | |
| Lumber and building products. DAIN SUPPLY CO., INC., Hans G. Faltin A457860 National Consumer Publications Not renewed. | |
| Civil code of Louisiana; amendments, additions and repeals, 1947-1960. 1960 pocket part. DAINOW, JOSEPH A471983 West Pub. Co. Not renewed. | |
| Dairy credit book, 1960-61. DAIRY CREDIT BUREAU. A452752 Dairy Credit Bureau Not renewed. | |
| Master milker's manual. DAIRY EQUIPMENT TESTING CO., INC., Francis F. Smith A461804 Dairy Equipment-Testing Co., Inc. Not renewed. | |
| Easy find bowling averages for men and women. DAJOPAT. A456884 Morris Flaxman d.b.a. Dajopat Not renewed. | |
| Chancellor, Davis, Flyger, South Dakota and others telephone directory, Including Viborg and Marlon exchanges of Northwestern Bell Telephone Company. DAKOTA CO-OPERATIVE TELEPHONE CO., INC. A453086 Dakota Co-operative Telephone Co., Inc. Not renewed. | |
| DAKOTA DIGEST, 1960 cumulative annual pocket part. A4557 |
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 requests | |
| import time | |
| import json | |
| headers = {'X-GraphDB-Password': 'XXXXXXXXXX'} | |
| r = requests.post('http://IPADDRESS:7200/rest/login/USERNAME',headers=headers) | |
| token = r.headers['Authorization'] | |
| files = ["entities","genres","geonames","instruments","roles","venues","works","events"] |
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
| # Wikibase with Query Service | |
| # | |
| # This docker-compose example can be used to pull the images from docker hub. | |
| # | |
| # Examples: | |
| # | |
| # Access Wikibase via "http://localhost:8181" | |
| # (or "http://$(docker-machine ip):8181" if using docker-machine) | |
| # | |
| # Access Query Service via "http://localhost:8282" |
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 time | |
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import Options | |
| import glob | |
| from bs4 import BeautifulSoup | |
| import os.path | |
| import random | |
| import shutil | |
| # get list of all sites |
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 re | |
| from bs4 import BeautifulSoup | |
| html = '<h2 class="learn-to-grow-heading"> Learn to Grow French Breakfast Radish </h2><div class="row"><div class="col-md-3 col-xs-6 item-details-growing-instruction-tile"><noscript><img src="/site/img/sca/Icons/Direct-Seed.jpg"></noscript><p>Direct Seed: 1" Apart</p></div><div class="col-md-3 col-xs-6 item-details-growing-instruction-tile"><noscript><img src="/site/img/sca/Icons/Planting-Depth.jpg"></noscript><p>Seed Depth: 1/2"</p></div><div class="clearfix visible-sm-block"></div><div class="col-md-3 col-xs-6 item-details-growing-instruction-tile"><noscript><img src="/site/img/sca/Icons/Spacing-between-Rows.jpg"></noscript><p>Rows Apart: 12"</p></div><div class="col-md-3 col-xs-6 item-details-growing-instruction-tile"><noscript><img src="/site/img/sca/Icons/Thinning.jpg"></noscript><p>Thin: 2-3" Apart</p></div></div><div class="row"><div class="col-xs-12"><div class="learn-to-grow-extra-details"><p><font color="#007496"><b>Instructions</b></font> - Sow seeds outdoo |
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 requests | |
| from bs4 import BeautifulSoup | |
| import json | |
| import time | |
| import re | |
| # this is to gather all the URLs for the individual item pages. | |
| all_data = [] | |
| item_counter = 1 |
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
| Track list for https://youtu.be/kY9P7ruzOy4 | |
| 0:00:00 - RZOZXZCCQIUQAOO4JJJOTEIDQKHLV5VG.ppt | |
| 0:02:28 - 2426HG2RXRZNRHX3YHORDF5C57PPAAHE.ppt | |
| 0:02:29 - 25OOF5WZSJ4M6JG3BPYDO56GYBR65WET.ppt | |
| 0:02:44 - 25ULXWYQWGS6YUMPQVIXWIH6M6KR4KVH.ppt | |
| 0:03:07 - 27CRLC3DDVOHBJ27UZSHYXRO3OB4BHIY.ppt | |
| 0:03:12 - 2BAXW45Y275TQX4RSSQ7E2GPM6QNJQSL.ppt | |
| 0:03:26 - 2C45NWO7FMTDRTBBR6FA442OZKSCLGZZ.ppt | |
| 0:03:33 - 2DDXORTPL7KXJI7E5HBRGSTTOTXVBNH3.ppt | |
| 0:04:00 - 2IOECB7XKI56SDSRDXHXTAUDGCMYTVI7.ppt |