Skip to content

Instantly share code, notes, and snippets.

View danshorstein's full-sized avatar

Daniel Shorstein danshorstein

  • Deloitte
  • Vienna, VA
View GitHub Profile
@danshorstein
danshorstein / index.html
Created September 1, 2023 14:50
ChatGpt Smell My Fart game
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Smell My Fart</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
@danshorstein
danshorstein / dashboard_attempt.ipynb
Created May 20, 2019 00:17
Dashboard_attempt.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danshorstein
danshorstein / hello_world.py
Created December 27, 2018 03:44
Adds hello world gist
print('hello world!')
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danshorstein
danshorstein / pdf_extract
Created November 10, 2017 02:54
extract rows of text from a local or web based pdf file
import io
import requests
import pdfplumber
def extract_text(path):
# Returns a generator that generates a list representing the rows from each page
# Each iteration returns the list of rows in the next page
if path.startswith('http'):
r = requests.get(path)