Categories
Articles

Real-time SMS analysis and automated responses using WebSockets with Pushbullet and OpenAI

Introduction In the backdrop of the overwhelming influx of messages we received, I decided to automate the process of replying to these messages. The solution? A combination of Pushbullet’s API for SMS management and OpenAI’s GPT-3 for generating human-like responses. Overall Architecture Code Breakdown Setting Up import osimport jsonimport openaiimport loggingimport asyncioimport requestsimport websockets We […]

Categories
Articles

Chrome Extensions OAuth

By using the chrome.identity API it enables use to identify/retrieve signed-in users, authenticate via Google OAuth or other social OAuth options, get access token tokens and more. In this article we are going to cover how to initial a login sequence for Facebook and Google using the chrome.identity API. You see the official documentation on the API here: https://developer.chrome.com/docs/extensions/reference/api/identity How […]

Categories
Articles

NASA’s 10 Rules for Space-Proof Code

How NASA Writes Space-Proof Code: A Deep Dive Developing software for space exploration demands precision, as failures can jeopardize lives and missions worth billions. NASA’s software development process ensures unparalleled reliability through a combination of meticulous practices: 1. Keep Control Flow Simple Space missions can’t afford confusing code paths. NASA emphasizes simplicity, adhering to clear […]

Categories
Articles

Creating smaller and more secure docker images for .NET 8.0

In this article, I will explain how we can write better and more secure docker images. The docker images will be smaller and contain fewer dependencies. This is a default docker file for creating a docker image: Pro tip: call the docker init command to generate all the needed docker files for your project. This […]

Categories
Articles

Kubernetes Cheatsheet

What is Kubernetes? Azure Container Apps vs Azure Kubernetes Service How to install Kubectl commands More: https://kubernetes.io/docs/reference/kubectl/cheatsheet Kubernetes + YAMLs Kubernetes Dashboard https://github.com/kubernetes/dashboard Docker commands Other links

Categories
Articles

ImageSharp Cheatsheet

Categories
Articles Technology

Azure Cloud Services – When to use, what service

Unsure about Azure Services?They could be the secret ingredient for your .NET development recipe.

Categories
Articles

ChatGPT for Developers Cheatsheet+

ChatGPT prompts Mix of posts ChatGPT for Designers What you find in this cheat sheet: Popular AI Search tools Source Sources:

Categories
Articles Technology

Minimal Web APIs with .NET 6

.NET is a great technology to create robust APIs. Until .NET Core 3, the main approach based on Microsoft documentations was to create a web API with Controllers. In .NET 6 Microsoft adopted an innovative approach like Express.js approach. The name of this, Minimal Web API. But first things first… What is Minimal API Minimal […]

Categories
Articles Technology

.NET Conf 2022 (.NET 7) Cheatsheet

See the highlights of .NET Conf 2022. Learn what you can do with .NET 7 and in general .NET environment this year! .NET 7 Performance .NET 7 vs .NET 6 vs .NET 5 performance .NET 7 vs Node.js vs Java Servlet requests per second performance ASP.NET Core is eleven times faster than Node.js .NET 7 […]