Some patterns that are usefull to understand for developing hiloaded & distibuted services
https://github.com/creotiv/go-hiload
A Flutter desktop app (focus: macOS) that maps buttons on custom Bluetooth/USB HID keyboards to system-wide actions. Users can bind a button on a selected device to either a macOS shortcut (e.g., cmd+c, brightness_up) or a shell command.
https://github.com/creotiv/ble-device-key-mapper
Small educational project to show how raft consensus work
https://github.com/creotiv/raft-consenus-kv-example
Safari WebExtension (bundled in a minimal macOS host app) that lets you highlight any element on a webpage, send its text to an AI model with a chosen system prompt, and automatically copy the generated comment to your clipboard. You can define multiple named contexts in the extension’s settings page to tailor the tone and style of comments for different scenarios.
https://github.com/creotiv/safari-llm-reply
This Python script provides an automated solution for moderating live YouTube chat comments using a local Large Language Model (LLM) via LM Studio. The bot can detect and delete comments that are deemed inappropriate based on a configurable system prompt.
https://github.com/creotiv/youtube-llm-moderator
Small demo to show the power of the sidecars in K8S. How to optimize deployment strategy with them, and simplyfy developing of new services
https://github.com/creotiv/sidecar-demo
This GitHub Action enables the addition of various teams and their members to the approval process, specifying the required number of members from each team. This is particularly useful, for example, when orchestrating a production deployment that requires explicit approval from the QA team, Product team, Development team, etc., making the process straightforward, simple, and transparent.
https://github.com/creotiv/custom-approval-management
During a rolling update, Kubernetes updates pods with a new version in a controlled way, terminating old pods and starting new ones. The key to a smooth update is ensuring that the old pods don't get terminated before they've finished handling their current connections. Kubernetes sends a SIGTERM signal to the containers in the pod to initiate a graceful shutdown, followed by a SIGKILL signal after a grace period. But when the SIGTERM signal sent in parallel there could be ongoing request that will hit container which already shutdown. This is open issue in k8s right now.
Read more here about the problem: https://www.alibabacloud.com/blog/enabling-rolling-updates-for-applications-in-kubernetes-with-zero-downtime_596717
https://github.com/creotiv/github.com-creotiv-k8s-rollout-test
https://github.com/creotiv/architecture/tree/master/approaches/graceful-upgrade
https://github.com/creotiv/snowua
Just in case you want to try something trully different :)
https://github.com/creotiv/howto-bootable-golang-binary
For Article: https://medium.com/p/848ef33d7448
In this article, I want to cover a simplified but working example of decentralized Blockchain based on Proof Of Work algorithm, some sort of simplified Bitcoin. You can think about it as a simplified version of Bitcoin.
https://github.com/creotiv/full_node_blockchain
For Article: https://medium.com/machine-learning-world/how-i-hacked-xiaomi-miband-2-to-control-it-from-linux-a5bd2f36d3ad
This is a step by step guide into how I hacked my Bluetooth Low Energy (BLE) fitness tracker so I could control it from Linux.
https://github.com/creotiv/MiBand2
In this tutorial we will show how to build a simplest desktop dVPN application based on Electron framework, and will cover main parts of dVPN client, to give you understanding how they interract.
https://github.com/creotiv/dvpn-tutorial-mysterium-network
For article https://hackernoon.com/deploying-on-aws-free-tire-with-docker-and-fabric-d9eca7c629e6
https://github.com/creotiv/aws-docker-example
https://github.com/creotiv/object_detection_projects/tree/master/free_course
Fore some reason it doesn't work, i talked with author of the paper, and it seems there were some internal difference in PyTorch itself which leading to dying gradient. Too problematic to debug it for no reason, while still good thing to learn