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

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 (tony@tonywebster.com).

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
konklone / injection.html
Last active Nov 28, 2018
southwest airlines HTTP injection
View injection.html
<link href="http://connected.southwestwifi.com/unb/unb.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://connected.southwestwifi.com/unb/jqr44-1.8.3.js"></script>
<script type="text/javascript">var r44_btime=new Date();var r44_smu_time=1431575257.040</script>
<script type="text/javascript" src="http://connected.southwestwifi.com/unb/unb.js"></script>
View useful_pandas_snippets.md

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