Strike It Broke
Strike It Broke
  • Видео 21
  • Просмотров 4 853
things I learned about oauth2
timestamp:
intro: 0:00
authorization or authentication: 0:51
implicit: 2:17
risks: 2:46
code flow: 3:21
session vs jwt: 4:21
code flow risk: 8:07
PKCE: 8:24
some references:
oauth2 spec:
datatracker.ietf.org/doc/html/rfc6749#section-1.3.2
openid spec:
openid.net/specs/openid-connect-core-1_0.html#terminology
blog about oauth2 and openid:
christianlydemann.com/creating-an-openid-connect-system-with-angular-8-and-identityserver4-oidc-part-1/#pkce
stackoverflow:
security.stackexchange.com/questions/219427/is-openid-connect-implicit-flow-safe-to-use
pkce:
oauth.net/2/pkce/
Просмотров: 57

Видео

things I learned from building a web crawler
Просмотров 37Месяц назад
Following Be a better dev's youtube series to learn about AWS. How to setup aws cli: ruclips.net/video/wmcKUcgVbH8/видео.html boto3 resource: boto3.amazonaws.com/v1/documentation/api/latest/guide/sqs.html lambda with aws sqs: docs.aws.amazon.com/lambda/latest/dg/with-sqs.html 0:00 intro 0:11 create accounts 0:22 aws config 0:35 lambda 1:13 sqs 1:33 boto3 1:50 view msgs 2:12 dynamodb 2:46 cloudw...
django database rollback
Просмотров 132 месяца назад
In this video, we are going to rollback our database. source code: github.com/strikeitbroke/django-db-rollback
move django model to another App
Просмотров 1132 месяца назад
In this video I'm going to move django model to a different app without losing data by creating custom django migration files. source code: github.com/strikeitbroke/django-migrations
Track database models with django-simple-history
Просмотров 1952 месяца назад
This video goes over how to track foreign key and M2M relationships using django-simple-history. source code: github.com/strikeitbroke/simple-history/tree/main
overcoming nginx timeout error with asynchronous task queue
Просмотров 779 месяцев назад
Going over setting up Celery and RabbitMQ to work with Django locally and in docker contain using docker-compose. Project link: gitlab.com/strikeitbroke/celery_rabbitmq_setup2 Celery documentation: docs.celeryq.dev/en/stable/django/first-steps-with-django.html Networking in compose: docs.docker.com/compose/networking/ 0:00 intro about the issue 2:21overview base project 4:55 setup celery 9:45 s...
Web scraping Indeed project
Просмотров 989 месяцев назад
Going over my current fullstack project where I scrape job boards.
Stretch by K Nodes (binary tree leetcode)
Просмотров 3710 месяцев назад
Write a recursive algorithm that replaces each single binary tree node with multiple nodes with smaller values. Your algorithm is called with two parameters: a reference to a TreeNode pointer representing the root of a binary tree, and an integer "stretching factor" K. Your function should replace each node N with K nodes, each of which stores a data value that is 1/K of N's original value, usi...
devlog #3: chatgpt webapp
Просмотров 21Год назад
- frontend design change - backend uses firebase auth instead of JWT
devlog #2: jwt authentication
Просмотров 27Год назад
devlog #2: jwt authentication
devlog #1: setting up database and chatgpt
Просмотров 116Год назад
Going over integrating chatgpt and setting up sqlite3 database. source code: gitlab.com/blogwriter
devlog #0: what I'm building
Просмотров 57Год назад
Starting a new project, hopefully I can stick it to the end!!! source code: gitlab.com/blogwriter
building a web app using python flask
Просмотров 56Год назад
Trying to create a python webapp that integrates gitlab, chatgpt, and hugo to help myself write articles in one place. Here is the repo to the project: gitlab.com/strikeitbroke/blog-automation 0:00 intro 0:50 overview 1:23 frontend 2:22 backend 3:02 demo 3:42 outro
How to build a Hugo menu
Просмотров 500Год назад
This video will show you how to build a customizable Hugo menu using the config file. It also will how integrate bootstrap 5.2 Navbar component with Hugo menu template. source code: gitlab.com/gohugo2/hugo-navbar-with-bootstrap-5.2 chapters: 0:00 intro 0:11 create hugo site 1:42 include bootstrap cdn in hugo 4:00 setup menu config 9:42 create .md file for menu entry 12:26 create html layout fil...
Building out Singles page in Hugo - Part 5
Просмотров 103Год назад
This video series assumes you have some basic understanding of Hugo and Bootstrap. We will be building a simple blog website based on the Clarity theme. This video will cover how to use Bootstrap5.2 Cards to list out blog title and description. source code: gitlab.com/gohugo2/clarityii
Building a Sidebar in Hugo - Part 4
Просмотров 658Год назад
Building a Sidebar in Hugo - Part 4
Create Blog Layouts with Hugo and Bootstrap 5 Cards - Part 3
Просмотров 271Год назад
Create Blog Layouts with Hugo and Bootstrap 5 Cards - Part 3
Hugo Navigation Bar with Bootstrap 5 - Part 2
Просмотров 357Год назад
Hugo Navigation Bar with Bootstrap 5 - Part 2
Getting Started With Hugo and Bootstrap5 to Build a Theme - Part 1
Просмотров 705Год назад
Getting Started With Hugo and Bootstrap5 to Build a Theme - Part 1
How to install Hugo clarity theme
Просмотров 437Год назад
How to install Hugo clarity theme
how to mock a function in python
Просмотров 9243 года назад
how to mock a function in python

Комментарии

  • @6ima842
    @6ima842 14 дней назад

    Thanks dude, very cool explanation, but I don't understand what the second SQL query in the 9:00 migration is responsible for, the one with the “blog_article_authors” line, we are migrating one table, why do we need to copy data for two? The reverse query: Is “reverse_sql” required? What if I only need to transfer once?

    • @strikeitbroke3602
      @strikeitbroke3602 14 дней назад

      Hey thanks for watching the video.The second SQL query is selecting data from the old bridge table (article_authors) and insert it into the new bridge table (blog_article_authors). The bridge table or through table is used to represent the m2m relationship in models (django has documentation talking about through table). I think it will make sense if you look at the actual database, and try to match the fields in the models to the columns in the table. As of the 'reverse_sql' argument, it is not required, this is to help you rollback on your database. I made another video talking about this (title: django database rollback). Also, instead of rollback, you can also just keep making forward migrations to fix any issue you have in your database. Let me know if this made sense. Just curious, how did you stumble upon this video?

    • @6ima842
      @6ima842 13 дней назад

      @@strikeitbroke3602 Thanks, everything worked; I needed to migrate several tables with several ForeignKeys and m2m. I encountered a bug (or maybe not): If the table name is capitalized, DB does not recognize it: django.db.utils.ProgrammingError: relation “district_model” does not exist LINE 115: FROM District_Model; Although it definitely existed, I checked it by renaming it to: district_model and everything worked, even though I left this name in the migration file. As for how I found your video, I needed to transfer a table, so I wrote something like “how to transfer a model in Django to a new app,” and your video was the first) Great explanation on the new versions of Django; keep it up, thanks)!

  • @rajv739
    @rajv739 25 дней назад

    What's the point of this? Why rush through this video? How do you use this crawler?

  • @madeinafrica469
    @madeinafrica469 28 дней назад

    Wanna talk some business with you

  • @madeinafrica469
    @madeinafrica469 28 дней назад

    Can l have your email?

    • @strikeitbroke3602
      @strikeitbroke3602 28 дней назад

      Hey, thx for checking out my video. You can find my email in my channel description.

  • @exploreyourdreamlife
    @exploreyourdreamlife Год назад

    The ChatGPT web app showcased in this video is impressive. Great job by the video creator! Liked and Subbed!

  • @Tom-Winter-art
    @Tom-Winter-art Год назад

    HI nice video, but the music is a bit too loud and distracting

  • @allenhicks1833
    @allenhicks1833 Год назад

    Promo>SM

  • @IAMDEH
    @IAMDEH Год назад

    Did you think about using a container for sqlite?

    • @strikeitbroke3602
      @strikeitbroke3602 Год назад

      no, I did not. Thanks for the suggestion. Maybe I will use a container for a database in the future. For now, just want to get everything up and running.

  • @sgroebi
    @sgroebi Год назад

    This is cool! Thanks for sharing.

  • @zakchips
    @zakchips Год назад

    Thx. Is their a way to mock an image to upload? Tried to create an object (for django - webtest) of MagicMock(spec=ImageFile) giving it attrs:size, name. But PIL lib does not accept it as a valid image. Thanks in advance.

    • @strikeitbroke3602
      @strikeitbroke3602 Год назад

      Not sure if I can help you on that. Shoot me an email with more description and I can try. Email is in my channel about section.

    • @zakchips
      @zakchips Год назад

      @@strikeitbroke3602 Thank you for your fast response. Once tried to give my email in YT comment and got troubles with spam later. Can't put my link into your community tab with a link to pastebin (YT doen't like links in general). I'll try to do it in a separate comment.

    • @zakchips
      @zakchips Год назад

      Tried but YT's deleted my link.

  • @Vaslovag
    @Vaslovag Год назад

    Very helpful! Why don't you install it as a Hugo module?

    • @strikeitbroke3602
      @strikeitbroke3602 Год назад

      haha, still in the learning phase, was not ready to use Hugo modules, but I will definitely check it out.