Skip to content

Instantly share code, notes, and snippets.

MarkEEaton

  • CUNY Kingsborough
Block or report user

Report or block MarkEEaton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sushi_dump.log
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): usagereports.galegroup.com:80
DEBUG:urllib3.connectionpool:http://usagereports.galegroup.com:80 "POST /sushi/ws HTTP/1.1" 200 1702
DEBUG:pycounter.sushi:SUSHI DUMP: request: b'<?xml version=\'1.0\' encoding=\'utf-8\'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:counter="http://www.niso.org/schemas/counter" xmlns:sushi="http://www.niso.org/schemas/sushi" xmlns:sushicounter="http://www.niso.org/schemas/sushi/counter">
<SOAP-ENV:Body>
<sushicounter:ReportRequest Created="2018-08-15T15:38:46.213576+00:00" ID="redacted">
<sushi:Requestor>
<sushi:ID>redacted</sushi:ID>
<sushi:Name/>
<sushi:Email/>
@MarkEEaton
MarkEEaton / respondingbot.py
Last active Mar 31, 2016
Bot Day: Script 4
View respondingbot.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/respondingbot.py
# Twitter Bot Starter Kit: Responding Bot
# This bot listens to the account @ocertat, and when that account
# tweets, it responds with a line of Twain
@MarkEEaton
MarkEEaton / markovmaker.py
Last active Nov 9, 2016
Bot Day: Script 5
View markovmaker.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mashup_markov/markovmaker.py
# Markov-chain text maker
# This script takes a .txt file and makes a mashup of it
# using a Markov chain: linking word phrases together
# from different spots in the text.
@MarkEEaton
MarkEEaton / mashup_madlib.py
Last active Mar 31, 2016
Bot Day: Script 3
View mashup_madlib.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mashup_madlib.py
# Mad Lib Maker!
# This script will generate mad-libs based off of a William Carlos
# Williams poem, 'The Red Wheelbarrow.' Each poem will then be
# tweeted by your bot account.
@MarkEEaton
MarkEEaton / mybot2.py
Last active Mar 31, 2016
Bot Day: Script 2
View mybot2.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mybot2.py
# Twitter Bot Starter Kit: Bot 2
# This bot tweets a text file line by line, waiting a
# given period of time between tweets.
@MarkEEaton
MarkEEaton / mybot.py
Last active Mar 31, 2016
Bot Day: Script 1
View mybot.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Original script (kept up to date): https://github.com/robincamille/bot-tutorial/blob/master/mybot.py
# Twitter Bot Starter Kit: Bot 1
# This bot tweets three times, waiting 15 seconds between tweets.
# If you haven't changed credentials.py yet with your own Twitter
You can’t perform that action at this time.