Bernhard Knasmueller
Bernhard Knasmueller
  • Видео 14
  • Просмотров 109 886
GPT for Developers: Getting the JSON You Want Every Time
Dive deep into the world of GPT and discover how to harness its capabilities for structured JSON generation.
In this video, we'll explore:
📌 Basics of JSON schema and why you want to use it.
📌 Techniques to command GPT to return structured JSON outputs.
📌 Practical examples to ensure JSON schema adherence every time.
📂 Access the Source Code: gist.github.com/bknasmueller/e5e71d7a167fab50a936cb6beba7235f
Просмотров: 379

Видео

PHP Unit Testing in GitLab CI/CD Pipelines
Просмотров 8 тыс.2 года назад
Learn how to run your PHP unit tests inside a GitLab CI/CD pipeline by dockerizing your existing application. Interesting Links: My public repository from the video: gitlab.com/bernhard.knasmueller/phpunit-on-gitlab-template/ Using JUnit templates inside GitLab: docs.gitlab.com/ee/ci/unit_test_reports.html WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos abo...
Stageless CI/CD Pipelines in GitLab
Просмотров 5133 года назад
Learn about the new Stageless Pipelines feature in GitLab 14.2 and why it can help you improve your pipeline performance. Interesting Links: knasmueller.net/stageless-pipelines-in-gitlab WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos about technology, productivity and engineering.
The CAP Theorem
Просмотров 813 года назад
Learn when the CAP theorem suggest to make trade-offs between availability and consistency in distributed systems and what this means to your software architecture. Interesting Links: www.infoq.com/articles/cap-twelve-years-later-how-the-rules-have-changed/ groups.csail.mit.edu/tds/papers/Gilbert/Brewer2.pdf WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos a...
How to Enable 2FA for SSH Logins on Rocky Linux, CentOS or RHEL
Просмотров 3,2 тыс.3 года назад
Learn how to config your Rocky Linux 8, CentOS 8 or RHEL 8 server such that it prompts for a two-factor authentication when you login via SSH key. 0:00​​​​​ Intro 2:03 Installing the necessary libraries 3:52 Setting up Google authenticator 7:00 Changes to sshd 8:22 Changes to pam.d 9:55 Testing the new config 10:49 Summary WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. ...
How to Migrate CentOS 8 to Rocky Linux
Просмотров 9023 года назад
Learn how to migrate a CentOS 8.3 system to the newest Release Candidate of Rocky Linux 8. 0:00​​​​​ Intro 0:45 DigitalOcean Setup 2:20 Updating CentOS 8 3:30 Install nginx 4:25 Download and run the migration script 6:46 Restart into Rocky Linux 8:04 Verify the migrated service 9:45 Summary WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos about technology, p...
Chemistry with Python - an Introduction to RDKit
Просмотров 41 тыс.3 года назад
Learn how to perform basic chemistry operations with Python and RDKit. 0:00​​​​​ Intro 0:25 Project setup 0:45 The SMILES format 2:04 Importing molecules 5:59 Operations on molecules 10:25 Molecular descriptors 14:15 Lipinski's rule of five 16:13 Summary WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos about technology, productivity and engineering. LINKS: R...
OWASP Dependency Check: Are there vulnerabilities in your Java libraries?
Просмотров 2,7 тыс.3 года назад
Learn how to integrate the OWASP Dependency Check tool in your GitLab Pipeline to get notified when there are known vulnerabilities in the Java libraries you are using. 0:00​​​​ Intro 0:34​ Project setup 1:33 Maven adaptions 4:25 Pipeline setup 5:44 GitLab 6:41 Analyzing the results 8:26 Wrap-Up WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos about technolo...
How I monitor exceptions using Sentry
Просмотров 4,8 тыс.3 года назад
Learn how to integrate Sentry in your PHP and Python applications to monitor exceptions. 0:00​​​ Intro 2:07 Why Sentry 2:35 Creating a new Sentry project for PHP 6:40 View your first exception 10:17 Capture individual messages 11:29 Transactions 14:00 Sentry with Python 19:46 Tracing multiple applications with transactions 24:13 Wrap-Up Links: Homebrew: brew.sh​ Visual Studio Code: code.visuals...
How to Install PHP 8 on macOS Big Sur
Просмотров 28 тыс.3 года назад
In this video, we talk about how to setup PHP 8 on macOS Big Sur using homebrew and get started developing. 0:00​​ Intro 0:12 Installing Homebrew 1:06 Install PHP 8 2:02 Setup Visual Studio Code 2:46 Create Hello World Script Links: Homebrew: brew.sh Visual Studio Code: code.visualstudio.com/ Instructions: - Run brew installation script from brew.sh - brew update - brew tap shivammathur/php - b...
How to Install Java JDK on macOS Big Sur
Просмотров 12 тыс.3 года назад
In this video, we talk about how to setup Java OpenJDK on macOS Big Sur. 0:00​ Intro 0:14​ Download JDK 0:55 Extract files 2:04 Integrate into .bash_profile 2:58 Setup IntelliJ 4:25 Create example project 5:44 Build and run application Links: JDK Download: jdk.java.net/15/ WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos about technology, productivity and en...
How to Securely Encrypt Data in PHP
Просмотров 4 тыс.3 года назад
In this video, we talk about how to securely encrypt and decrypt data in PHP using the Libsodium cryptography library. 0:00 Intro 0:40 Why we need a cryptography library 2:21 How symmetric key encryption works 3:21 Code demo: symmetric key encryption 11:45 Additional use cases for Libsodium Links: Code sample on GitHub: github.com/berknas/libsodium-demo/blob/main/symmetric_key_encryption.php Li...
How and why I migrate from LastPass to Bitwarden
Просмотров 3,1 тыс.3 года назад
In this video, we talk about recent changes to LastPass and why I think it is time to migrate to a different password manager, namely Bitwarden. Article on how to import LastPass data on bitwarden.com: bitwarden.com/help/article/import-from-lastpass/ WHO AM I: I'm Bernhard, a software engineer working in Vienna, Austria. I make videos about technology, productivity and engineering. 🌍 My website...
Blue-Green Deployment with Apache and Docker
Просмотров 1,2 тыс.4 года назад
What is a blue-green deployment strategy and how to apply it in your web application? In this video, we'll cover the principles and put blue-green deployment into practice using CentOS 8, Docker and Apache. If you want to try vultr.com, you are invited to use my referal code: www.vultr.com/?ref=7346799 These are the most essential commands from the video: yum update yum install -y yum-utils dev...