Skip to content

Instantly share code, notes, and snippets.

import tweepy
from google.cloud import bigquery
import os
from datetime import datetime
from typing import Dict, List, Tuple, Union, Any, Optional
# Load auth from env for security
auth: tweepy.OAuthHandler = tweepy.OAuthHandler(os.getenv("consumer_key"), os.getenv("consumer_secret"))
# Global flags to control printing
@Robin-Lord
Robin-Lord / python-101.ipynb
Created September 14, 2021 21:25
Python 101 - post-course
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Robin-Lord
Robin-Lord / python-101.ipynb
Created September 14, 2021 21:11
Python 101 - post-course
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Robin-Lord
Robin-Lord / restaurant_bot.py
Created April 28, 2020 13:07
Short code which works with Twilio to record
"""
ADD THE FOLLOWING LINES TO YOUR REQUIREMENTS.TXT:
flask
twilio
pytz
"""
@Robin-Lord
Robin-Lord / staying_in_touch_script.js
Created April 5, 2020 12:20
GSheets app script for pairing people's emails so that they can stay in touch
/**
For a sheet which uses this script, go to
https://docs.google.com/spreadsheets/d/1v06lwTvqo-D1SBzAkRfNkGqxdI8KmcJkCZqbvVmKots/copy
For a blog post explaining this sheet, go to http://www.therobinlord.com/a-google-sheet-to-help-you-stay-in-touch/
*/
@Robin-Lord
Robin-Lord / extracting all files from Invision.ipynb
Created March 31, 2020 12:54
Some quick code to find and extract all of your Invision files using the "download zip" command for each project
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Robin-Lord
Robin-Lord / k-means-clustering-with-variable-dimensions.ipynb
Last active March 1, 2020 19:54
K-means clustering with variable dimensions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Robin-Lord
Robin-Lord / keybase.md
Created June 3, 2019 13:21
Keybase auth

Keybase proof

I hereby claim:

  • I am robin-lord on github.
  • I am robin_lord (https://keybase.io/robin_lord) on keybase.
  • I have a public key ASAWQ42R9-VE7uGXO3mKCVqoxSqfDUwo9NFuahmfWL8tzAo

To claim this, I am signing this object: