Skip to content

Instantly share code, notes, and snippets.

View igorbrigadir's full-sized avatar

Igor Brigadir igorbrigadir

View GitHub Profile
@igorbrigadir
igorbrigadir / 2022-11-06_verified_ids.txt
Last active May 4, 2023 16:44
All 423,502 @verified follows from 2022-11-06, which is all the twitter user IDs that were verified before Twitter's new Blue Verification.
This file has been truncated, but you can view the full file.
1040206865387409408
1378815453510914056
1124983612389171200
1250006106736398336
1151791608494473219
832501002200838144
752487114621718528
968788335207632896
968063439624052736
158686789
@igorbrigadir
igorbrigadir / genres.html
Last active October 23, 2022 15:41
all netflix genres
<html>
<body>
<a href="https://www.netflix.com/browse/genre/12739">20th Century Period Pieces</a><br/>
<a href="https://www.netflix.com/browse/genre/77213">Absurd Comedies</a><br/>
<a href="https://www.netflix.com/browse/genre/51063">Academy Award-Winning Films</a><br/>
<a href="https://www.netflix.com/browse/genre/1365">Acción y aventuras</a><br/>
<a href="https://www.netflix.com/browse/genre/2125">Acción y aventuras militares</a><br/>
<a href="https://www.netflix.com/browse/genre/801362">Action</a><br/>
<a href="https://www.netflix.com/browse/genre/10673">Action & Adventure Programmes</a><br/>
<a href="https://www.netflix.com/browse/genre/2653">Action Anime</a><br/>
@igorbrigadir
igorbrigadir / andrewwk.mp4
Last active September 2, 2022 21:37
Failed to upload SRT File on Twitter
This file has been truncated, but you can view the full file.
@igorbrigadir
igorbrigadir / 0_speech_ua_original.txt
Created August 26, 2022 15:36
Ukrainian Independence Speech Translation
Вільний народе незалежної України!
І цим усе сказано.
Всього чотири слова, але як багато стоїть за ними сьогодні.
На 182-й день повномасштабної війни.
Скільки в цих словах символів і сенсів, подвигів і втрат, радості й болю.
А головне – скільки в них правди.
Нашої правди.
Правди про наше сьогодення, з якою неможливо сперечатися, бо неможливо не бачити й не визнавати.
Ми вільний народ незалежної України.
Після шести місяців, коли нас намагаються знищити, ми вільний народ незалежної України.
@igorbrigadir
igorbrigadir / 01_setup.sh
Last active April 17, 2022 00:55
Daily tweet counts for news accounts example
pip install --upgrade twarc twarc-csv
twarc2 configure
slave
pupal
agora
lynch
fibre
wench
@igorbrigadir
igorbrigadir / private_metrics.py
Created February 8, 2022 13:02
Simplified example of using oAuth1.0a
from requests_oauthlib import OAuth1Session
import os
import json
# In your terminal please set your environment variables by running the following lines of code.
# export 'CONSUMER_KEY'='<your_consumer_key>'
# export 'CONSUMER_SECRET'='<your_consumer_secret>'
# export 'ACCESS_TOKEN'='<your_access_token>'
# export 'ACCESS_TOKEN_SECRET'='<your_access_token_secret>'
@igorbrigadir
igorbrigadir / bitcoin.csv
Created November 18, 2021 15:15
Daily "bitcoin" counts output from `twarc2 counts --archive --start-time "2021-01-01" --end-time "2021-08-31" --granularity day "bitcoin" --csv bitcoin_counts.csv`
start end day_count
2021-07-31T00:00:00.000Z 2021-08-01T00:00:00.000Z 226389
2021-08-01T00:00:00.000Z 2021-08-02T00:00:00.000Z 222078
2021-08-02T00:00:00.000Z 2021-08-03T00:00:00.000Z 246498
2021-08-03T00:00:00.000Z 2021-08-04T00:00:00.000Z 244656
2021-08-04T00:00:00.000Z 2021-08-05T00:00:00.000Z 229473
2021-08-05T00:00:00.000Z 2021-08-06T00:00:00.000Z 245932
2021-08-06T00:00:00.000Z 2021-08-07T00:00:00.000Z 222452
2021-08-07T00:00:00.000Z 2021-08-08T00:00:00.000Z 204968
2021-08-08T00:00:00.000Z 2021-08-09T00:00:00.000Z 208344
{
"data": [
{
"text": "@kevharrison_ And here is our big dog Brody and two of the cats. They say happy birthday too! https://t.co/3Ce3m1b2NC",
"author_id": "930114936826712064",
"id": "1443571132708253710",
"conversation_id": "1443062146510860289",
"referenced_tweets": [
{
"type": "replied_to",
@igorbrigadir
igorbrigadir / 0_prompt.txt
Created August 27, 2021 14:01
GPT3 Engine davinci Response length 64 Temperature 0.7 Top P 1 Frequency penalty 0 Presence penalty 0
How I failed machine learning in medical imaging - shortcomings and recommendations
By Gaël Varoquaux, Veronika Cheplygina
Abstract:
Medical imaging is an important research field with many opportunities for improving patients' health. However, there are a number of challenges that are slowing down the progress of the field as a whole, such optimizing for publication. In this paper we reviewed several problems related to choosing datasets, methods, evaluation metrics, and publication strategies. With a review of literature and our own analysis, we show that at every step, potential biases can creep in. On a positive note, we also see that initiatives to counteract these problems are already being started. Finally we provide a broad range of recommendations on how to further these address problems in the future. For reproducibility, data and code for our analyses are available on https://github.com/GaelVaroquaux/ml_med_imaging_failures
Introduction: