Skip to main content

How to sign your commits with a GPG key so that "Verified" badge appears next to your name on GitHub?

· 5 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

That "Verified" badge on GitHub isn't just for show-it's a cryptographic guarantee that the code actually came from you and hasn't been tampered with. Without it, anyone can technically spoof your name and email in a Git commit.

By using GPG (GNU Privacy Guard), you "seal" your commits with a private key that only you possess. GitHub then uses your public key to verify that seal.

Why Git Says 'No Existing Author Found' and How to Fix It

· 5 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

This error usually pops up when you're trying to use the --author flag during a commit or a rebase, and Git is failing its "detective work."

Unlike a simple text label, the --author flag triggers a search. Git tries to find a match in your existing history or your configuration. If your search string is too vague, has a typo, or doesn't match the required pattern, Git throws its hands up and says: fatal: No existing author found with 'XYZ'.

Git Commit Authors: How to Find, Change, and Configure Commit Identities

· 7 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Every Git commit records two distinct identities: the Author (who originally wrote the code) and the Committer (who applied the changes to the branch). While these are usually the same person, they can diverge during operations like rebasing, cherry-picking, or merging.

Whether you need to trace who wrote a line of code or fix a typo in your own commit email, this guide covers how to find, change, and automatically configure Git commit author details.

SOLVED - fatal: Not possible to fast-forward, aborting

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

This error is Git's way of saying: "I can't just stack your new commits on top of the remote ones because the history has split."

In technical terms, your local history and the remote history have diverged. You have commits that the server doesn't, and the server has commits that you don't. Git is refusing to "Fast-Forward" (which essentially means "just move the pointer forward") because there is nowhere straightforward to move it to.

Here are 5 ways to solve this, ranked from "Standard Practice" to "Nuclear Option."

Generating Stylized QR Art with Stable Diffusion & ControlNet

· 8 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Gone are the days of boring black-and-white squares! With the advent of advanced AI image generation models like Stable Diffusion, we can now create QR codes that are not only scannable but are also stunning works of art. This guide will walk you through the process of generating stylized QR codes that seamlessly blend into captivating images.

Building a URL Redirector in Python for Dynamic QR Codes

· 4 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

If you print 1,000 posters with a QR code and the website URL changes next week, a "Static" QR code becomes a pile of wasted paper. The solution is a Dynamic QR code.

Instead of encoding your final destination (like myshop.com/promo-january), you encode a "Short URL" that you control (like myqr.link/offer). When a user scans it, your server looks up where offer should go today and redirects them instantly.

Python Barcode Processing: Export Data, Generate 2D Codes, and Database Integration

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation
  • tooling image: /img/blog/thumbnails/exporting-python-barcode-scan-data-csv-excel.png

Exporting your scan data is the final piece of the puzzle. While a database is great for storage, most team members prefer to see results in a spreadsheet.

In Python, the pandas library is the gold standard for this. It can read directly from your SQLite database and convert that data into a professional-looking Excel or CSV file in just a few lines of code.

Generating, Styling, and Decoding Barcodes & 2D Codes in Python: Complete Guide

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Generating and decoding barcodes is a foundational requirement across retail, inventory logistics, digital asset tracking, and ticketing systems. In Python, creating industry-standard 1D barcodes and 2D QR codes requires only a few lines of code with specialized libraries.

This guide provides a comprehensive manual on generating vector (SVG) and raster (PNG/JPEG) barcodes with python-barcode, styling dimensions, suppressing human-readable label text, and decoding codes in images or video streams with pyzbar and OpenCV.

Emoji.demojize() vs. clean-text Performance Comparison

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Performance Showdown: emoji.demojize() vs. clean-text for Emoji Handling

When choosing a library for high-throughput text preprocessing, performance is often as important as accuracy. Both the emoji library's demojize() function and the comprehensive clean-text library can remove or replace emojis, but they serve different purposes, which impacts their speed and efficiency.

Since no direct, widely-published benchmark comparing only these two specific functions exists, this analysis focuses on their architectural differences and their respective performance profiles, based on typical NLP use cases.

Programmatically Detecting, Removing, and Converting Emojis in Python

· 7 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Managing emojis programmatically is a common requirement in data cleaning, sentiment analysis, and Natural Language Processing (NLP). Unlike standard ASCII characters, emojis are complex Unicode characters that can span multiple code points (such as skin tone modifiers or Zero Width Joiner sequences). Simple string searches or basic regular expressions often fail to match them correctly.

This guide provides a comprehensive walkthrough of emoji detection, extraction, stripping, conversion to descriptive shortcodes, and rendering using Python.

Looking for more content?
Hrekov Blog contains 165 articles. Browse the blog archive or Explore the full timeline.