Skip to content

Instantly share code, notes, and snippets.

View vinayprabhu's full-sized avatar

Vinay Uday Prabhu vinayprabhu

View GitHub Profile
[
{
"name": "Title.But do you love it?",
"size": 0,
"imports": [
"Author.Roman Verraest",
"Categorie.Business Consulting",
"Tag.AE Foyer",
"Date.2017-11",
"Tag.Business Architecture",
{"nodes":[{"name":"1009","group":"c_id"},{"name":"1016","group":"c_id"},{"name":"1017","group":"c_id"},{"name":"1022","group":"c_id"},{"name":"1031","group":"c_id"},{"name":"1032","group":"c_id"},{"name":"1056","group":"c_id"},{"name":"1095","group":"c_id"},{"name":"1122","group":"c_id"},{"name":"1167","group":"c_id"},{"name":"1186","group":"c_id"},{"name":"119","group":"c_id"},{"name":"1195","group":"c_id"},{"name":"1204","group":"c_id"},{"name":"121","group":"c_id"},{"name":"1224","group":"c_id"},{"name":"1229","group":"c_id"},{"name":"1235","group":"c_id"},{"name":"1245","group":"c_id"},{"name":"1291","group":"c_id"},{"name":"130","group":"c_id"},{"name":"1316","group":"c_id"},{"name":"1326","group":"c_id"},{"name":"1330","group":"c_id"},{"name":"1331","group":"c_id"},{"name":"1361","group":"c_id"},{"name":"1369","group":"c_id"},{"name":"1399","group":"c_id"},{"name":"14","group":"c_id"},{"name":"1408","group":"c_id"},{"name":"1417","group":"c_id"},{"name":"1418","group":"c_id"},{"name":"1439","group":"c_i
[
{
"FIELD1":"name",
"FIELD2":"size",
"FIELD3":"imports"
},
{
"FIELD1":"Title.But do you love it?",
"FIELD2":"0",
"FIELD3":"Author.Roman Verraest,Categorie.Business Consulting,Tag.AE Foyer,Date.2014-12,Tag.Business Architecture,Tag.Customer Journey,Categorie.Enterprise Architecture"
@vinayprabhu
vinayprabhu / ai_legends.py
Created July 30, 2019 04:53
'Legends' image generator
import os
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.transforms import TransformedBbox, Bbox
from matplotlib.image import BboxImage
from matplotlib.legend_handler import HandlerBase
from matplotlib._png import read_png
from matplotlib.cbook import get_sample_data
class ImageHandler(HandlerBase):
@misc{ICLRPape9:online,
author = {Hendrik Strobelt, Alexander Rush},
title = {ICLR: Paper Explorer},
howpublished = {\url{https://iclr.cc/virtual_2020/paper_vis.html}},
month = {Apr},
year = {2020},
note = {(Accessed on 05/14/2020)}
}
@misc{ICLRiclr55:online,
@article{krys2016careful,
title={Be careful where you smile: Culture shapes judgments of intelligence and honesty of smiling individuals},
author={Krys, Kuba and Vauclair, C-Melanie and Capaldi, Colin A and Lun, Vivian Miu-Chi and Bond, Michael Harris and Dom{\'\i}nguez-Espinosa, Alejandra and Torres, Claudio and Lipp, Ottmar V and Manickam, L Sam S and Xing, Cai and others},
journal={Journal of nonverbal behavior},
volume={40},
number={2},
pages={101--116},
year={2016},
publisher={Springer}
}
@vinayprabhu
vinayprabhu / scholarly_veggies.bib
Created February 21, 2021 19:23
Google scholar parser gone wild
@article{cress2017land,
title={FROM THE LAND},
author={Cress, Coriander and Dressing, Sesame and Parcel, Crispy Prawn and Rolls, Vegetable Spring and Tatin, Tomato Tarte and Raspberry, Lemon and Tartlet, Mascarpone and Br{\^u}l{\'e}e, Mini Cr{\`e}me and Mousse, Mini Chocolate and Pie, Mini Lemon Meringue and others},
year={2017}
}
@article{bolognaise1allergen,
title={ALLERGEN KEY},
author={Bolognaise, Spaghetti and Casserole, Winter Vegetable and Pasta, Fresh Pesto and Pasta, Chunky Tomato and Fishcake, Salmon and Beans, Baked and Carrots, Fresh and Beans, Green and Potatoes, Roast and Broccoli, Fresh and others},
journal={Sage},
@vinayprabhu
vinayprabhu / obama_mitch_apple.csv
Created January 2, 2022 17:43
Output of the infamous Obama-McConnell image passed through Apple's ABS cropping framework
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 1.
https://pbs.twimg.com/media/EiT2SftUMAEjDRH?format=jpg&name=4096x4096,0.5364961,63.29628945887089,193.16107034683228,536.4871494919062,3000.0,"[0.051081724, 0.02944088, 0.025204398, 0.016370326, 0.023559086, 0.02707991, 0.036534727, 0.040771753, 0.049058456, 0.05437999, 0.062073443, 0.06285878, 0.061937977, 0.060316633, 0.05989317, 0.05497349, 0.053619094, 0.052172177, 0.05192511, 0.047040746, 0.046780538, 0.046639413, 0.048806235, 0.048897073, 0.052368216, 0.05784481, 0.06460861, 0.071031585, 0.075862, 0.082276456, 0.08760901, 0.09064289, 0.08947403, 0.09276799, 0.09530029, 0.09873402, 0.10092814, 0.102648355, 0.10020183, 0.09716202, 0.091936335, 0.08683641, 0.07897578, 0.0768055, 0.07691708, 0.075221285, 0.071089245, 0.06897043, 0.067148656, 0.066251904, 0.06576084, 0.067866445, 0.07235864, 0.07757508, 0.08147618, 0.08178738, 0.07924166, 0.07486498, 0.06824348, 0.05875298, 0.05369294, 0.04812321, 0.04430148, 0.031493425, 0.024819702, 0.02256073, 0.025059856, 0.034911864, 0.02471295, 0.0077243745, 0.00559393
We can't make this file beautiful and searchable because it's too large.
-0.040559698 0.059708115 -0.01278965 0.06928748 -0.18161216 -0.048443682 0.04150556 -0.047079712 0.054134727 -0.08239142 0.052940875 -0.13416144 -0.0036460604 0.060995623 0.0139386635 -0.11523148 0.09788386 -0.028278258 0.039835732 0.0009561692 0.033270378 0.068815164 -0.015305446 -0.07204514 0.037937425 -0.024539204 0.0453375 0.0014709044 -0.010995262 -0.014430517 0.027793657 -0.0037896554 0.07380719 0.025407942 0.03530215 0.011467371 -0.005180279 -0.15182526 0.07782594 0.14038609 0.037342787 0.040408276 0.03806724 -0.07354733 -0.022053812 -0.046470594 -0.031571195 0.01135085 -0.03924233 -0.019714326 -0.1262547 -0.0767326 0.03204363 -0.029308146 0.036051173 0.018119037 0.015305108 -0.014557747 -0.021596555 -0.031289667 0.0918315 -0.022126641 0.017832838 0.06674484 -0.09520528 0.03326448 0.0052404758 -0.02968644 -0.050759852 -0.054780293 0.019693965 0.01394582 0.0026977907 0.012440049 0.0144500155 -0.058424402 0.03679573 -0.10442621 -0.06682021 0.0039451784 -0.018664772 -0.048969194 -0.032544725 -0.055062655