Skip to content

Instantly share code, notes, and snippets.

View djoguns's full-sized avatar
💭
Data Journeyman!

Dayo Oguntoyinbo djoguns

💭
Data Journeyman!
  • Amazon Web Services
  • London, United Kingdom
  • 08:02 (UTC)
View GitHub Profile
@djoguns
djoguns / rtsp_claude3_haiku_bedrock.py
Created March 17, 2024 11:15 — forked from t04glovern/rtsp_claude3_haiku_bedrock.py
This script captures images from an RTSP stream at regular intervals and uses the Claude 3 Haiku model to generate descriptions based on a custom prompt.
#!/usr/bin/env python3
"""
This script captures images from an RTSP stream at regular intervals and uses
the Claude 3 Haiku model to generate descriptions based on a custom prompt.
Install:
python3 -m venv .venv
source .venv/bin/activate
pip3 install boto3==1.34.62 opencv-python-headless==4.9.0.80
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@djoguns
djoguns / covid.ipynb
Created February 14, 2022 10:06 — forked from phobson/covid.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@djoguns
djoguns / wind_rose.ipynb
Created February 14, 2022 10:06 — forked from phobson/wind_rose.ipynb
Making a wind rose in pandas/matplotlib
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
i
me
my
myself
we
our
ours
ourselves
you
your
@djoguns
djoguns / README.md
Created June 27, 2018 08:52 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@djoguns
djoguns / r-interview.md
Created June 17, 2018 09:01 — forked from peterhurford/r-interview.md
R Interview Questions

1.) If I have a data.frame df <- data.frame(a = c(1, 2, 3), b = c(4, 5, 6), c(7, 8, 9))...

1a.) How do I select the c(4, 5, 6)?

1b.) How do I select the 1?

1c.) How do I select the 5?

1d.) What is df[, 3]?

@djoguns
djoguns / temperatureCircle.py
Created June 11, 2018 20:35 — forked from anttilipp/temperatureCircle.py
Code to reproduce the "Temperature Circle" visualization.
#
# Hi all,
# this is the Python code I used to make the visualization "Temperature circle"
# (https://twitter.com/anttilip/status/892318734244884480).
# Please be aware that originally I wrote this for my tests only so the
# code was not ment to be published and is a mess and has no comments.
# Feel free to improve, modify, do whatever you want with it. If you decide
# to use the code, make an improved version of it, or it is useful for you
# in some another way I would be happy to know about it. You can contact me
# for example in Twitter (@anttilip). Unchecked demo data (no quarantees)