Skip to content

Instantly share code, notes, and snippets.

View MartinEnders's full-sized avatar
🤪

Dr. Martin Enders MartinEnders

🤪
View GitHub Profile
@MartinEnders
MartinEnders / GAG-short-Urls.ipynb
Created October 31, 2022 15:37
GAG Short URL Creation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / ABaerbock.json
Last active April 28, 2022 18:08
Tweets of Annalena Baerbock (https://twitter.com/ABaerbock) in JSON Format (first 100 Tweets since she became foreign minister)
{"http_status": 200, "account_name": "ABaerbock", "account_data": {"Name": "Baerbock, Annalena Charlotte Alma", "Partei": "B\u00fcndnis 90/Die Gr\u00fcnen", "id": 2179010672, "screen_name": "ABaerbock", "t0": "20170920-150458.json", "t1": "20211020-103923.json", "value": "Baerbock, Annalena Charlotte Alma"}, "params": [["query", "from:ABaerbock"], ["max_results", "100"], ["start_time", "2007-01-01T00:00:00Z"], ["end_time", "2022-04-18T11:59:59Z"], ["tweet.fields", "attachments,author_id,context_annotations,conversation_id,created_at,entities,geo,id,in_reply_to_user_id,lang,possibly_sensitive,public_metrics,referenced_tweets,reply_settings,source,text,withheld"], ["expansions", "author_id,referenced_tweets.id,referenced_tweets.id.author_id,entities.mentions.username,attachments.poll_ids,attachments.media_keys,in_reply_to_user_id,geo.place_id"], ["media.fields", "duration_ms,height,media_key,preview_image_url,public_metrics,type,url,width"], ["place.fields", "contained_within,country,country_code,full_name,geo,
@MartinEnders
MartinEnders / Covid-Cases-Deaths-Germany.ipynb
Last active August 20, 2021 11:24
Covid-19 Year-Comparison
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / Deployment.ipynb
Created May 17, 2021 14:22
Deployment Methods (gradio and jupyter widgets)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / python_lazy.py
Last active April 7, 2021 09:18
Read multiple files line by line in Python evaluated as lazy as possible
import itertools
import glob
print(list(itertools.chain([1,2,3],[4,5,6],[7,'a'])))
print("-"*80)
### LAZY
# Writing files for test
@MartinEnders
MartinEnders / twitter-bundestag-example.ipynb
Last active April 22, 2022 08:59
ML4B DataSet Examples
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / Presseruegen.ipynb
Created January 22, 2021 15:13
Ruegen des deutschen Presserats
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MartinEnders
MartinEnders / Backronyms.ipynb
Created December 21, 2020 06:43
Jupyter Notebook for Backronym Collection
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.