Skip to content

Instantly share code, notes, and snippets.

View ohrely's full-sized avatar
🍄

R Ely ohrely

🍄
  • Bloomberg LP
  • San Francisco
View GitHub Profile
@ohrely
ohrely / instructions.md
Last active May 23, 2025 14:13
Intro to OSS Contribution for Jupyter Studio Day
@ohrely
ohrely / twitter crawler.txt
Created February 27, 2018 02:13 — forked from vickyqian/twitter crawler.txt
A Python script to download all the tweets of a hashtag into a csv
import tweepy
import csv
import pandas as pd
####input your credentials here
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
+ test("caseHashing"){
+ setLogLevel("DEBUG")
+ println(s"fieldObjects: ${getFieldObjects(HashingSample.result)}")
+ println(s"result: ${HashingSample.result.getSignature}")
// def getMethodObjects(func: AnyRef): Set[AnyRef] = {
// val cls = func.getClass
//
// val methods = cls.getDeclaredMethods
//
// println(methods.size)
// methods.map(x => x.toGenericString).foreach(println)
// methods.map(m => m.getDeclaringClass).foreach(println)
// methods.map(m => m.getName).foreach(println)
//