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
  • 06:38 (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
{
"public_identifier": "eden-marco",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/eden-marco/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230517%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230517T112707Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=825c0557d048e617d1bf9122a3103a04cdf0b74a5c3bef3852b10a18d87f60e8",
"background_cover_image_url": null,
"first_name": "Eden",
"last_name": "Marco",
"full_name": "Eden Marco",
"follower_count": null,
"occupation": "Customer Engineer at Google",
"headline": "Customer Engineer @ Google Cloud | Best-selling Udemy Instructor",
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 / Week 1 - Capstone Project Notebook.ipynb
Created January 13, 2019 16:37
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@djoguns
djoguns / Week 1 - Capstone Project Notebook.ipynb
Created January 13, 2019 16:35
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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]?