Skip to content

Instantly share code, notes, and snippets.

View jrmeyerhofer's full-sized avatar

John Meyerhofer jrmeyerhofer

View GitHub Profile
<?php
// Always start this first
session_start();
include 'db.php';
$message = "";
if ( ! empty( $_POST ) ) {
// Verify captcha
import tweepy
CONSUMER_KEY = 'replace with your key'
CONSUMER_SECRET = 'replace with your secret'
ACCESS_KEY = 'replace with your access key'
ACCESS_SECRET = 'replace with your access secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
import sys
import requests
import csv
import time
time.sleep(3)
data = []
## Open the file with read only permit
function callImageSearch() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var start = new Date();
//just hard code to a really high number and break out when done!
for (var i = 1; i < 500; i++) {
var OCLCNumber = sheet.getRange(i,1).getValue();
Logger.log('OCLCNumber: ' + OCLCNumber);
@jrmeyerhofer
jrmeyerhofer / README-Template.md
Created May 2, 2017 02:26 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

<script src="list.min.js"></script>
<script src="list.pagination.min.js"></script>
<style>
.pagination li {
display:inline-block;
padding:5px;
}
.active a {
font-weight: bold;
text-decoration: none;