Skip to content

Instantly share code, notes, and snippets.

David Cook divergentdave

  • Minneapolis, MN
Block or report user

Report or block divergentdave

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
webster /
Last active Nov 20, 2015
Minneapolis City Council and Mayor's responses to #JamarClark

Online public statements and media comments from, and actions by, Minneapolis City leaders regarding the November 15 shooting of Jamar Clark and the protest actions following. If you're aware of any new statements or actions, please let me know on Twitter (@webster) or via email (

I stopped updating this shortly after the November 18 raid, but I am still capturing and archiving to create a more meaningful timeline down the road.

Ward 1 – City Council Member Kevin Reich

No public statements.

konklone / injection.html
Last active Nov 28, 2018
southwest airlines HTTP injection
View injection.html
<link href="" rel="stylesheet" type="text/css">
<script type="text/javascript" src=""></script>
<script type="text/javascript">var r44_btime=new Date();var r44_smu_time=1431575257.040</script>
<script type="text/javascript" src=""></script>

Useful Pandas Snippets

A personal diary of DataFrame munging over the years.

Data Types and Conversion

Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)

yanofsky /
Last active Dec 11, 2019
A script to download all of a user's tweets into a csv
#!/usr/bin/env python
# encoding: utf-8
import tweepy #
import csv
#Twitter API credentials
consumer_key = ""
consumer_secret = ""
access_key = ""
You can’t perform that action at this time.