Skip to content

Instantly share code, notes, and snippets.

View cyb3rko's full-sized avatar
πŸ“
Working on by Bachelor thesis

Niko Diamadis cyb3rko

πŸ“
Working on by Bachelor thesis
View GitHub Profile
/*
* Copyright 2025 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@bahadiraraz
bahadiraraz / Git_Commit_Freeze_Solution.md
Last active December 2, 2025 10:39
Git Commit Freeze Due to GPG Lock Issues (Solution)

Git Commit Freeze Due to GPG Lock Issues

If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.

Solution Steps

1. Check for GPG Lock Messages

Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ..., it indicates a lock issue.

@ardakazanci
ardakazanci / ScratchEffect.kt
Created January 1, 2024 16:55
Scratch Effect - Jetpack Compose
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
enableEdgeToEdge()
setContent {
SampleUiDesignForCartTheme {
ScratchCardView()
}
}
}
@drewjoh
drewjoh / dns_servers.md
Created June 17, 2023 20:02
Public DNS Servers
 Google                8.8.8.8          8.8.4.4          https://developers.google.com/speed/public-dns/
 Quad9                 9.9.9.9          149.112.112.112  https://www.quad9.net/
 Cloudflare            1.1.1.1          1.0.0.1          https://1.1.1.1/dns/
 AdGuard DNS           94.140.14.14     94.140.15.15     https://adguard-dns.io/en/public-dns.html
 Control D             76.76.2.0        76.76.10.0       https://controld.com/free-dns/
 OpenDNS Home          208.67.222.222   208.67.220.220   https://www.opendns.com/
 CleanBrowsing         185.228.168.9    185.228.169.9    https://cleanbrowsing.org/filters/
 Alternate DNS         76.76.19.19      76.223.122.150   https://alternate-dns.com/
 DNS.WATCH             84.200.69.80     84.200.70.40     https://dns.watch/index
@bruno-uy
bruno-uy / install_psycopg2_mac_m1.md
Last active May 26, 2025 12:27
Install psycopg2 in Mac M1

Install psycopg2 in Mac M1

Error while installing through pip install psycopg2 looks like this:

Please add the directory containing pg_config to the PATH

or specify the full executable path with the option (...)

Reference to the solution here.

@TheSherlockHomie
TheSherlockHomie / RenewExpiredGPGkey.md
Created January 3, 2021 16:36
Updating expired GPG keys and backing them up πŸ”‘πŸ”πŸ’»

Updating expired GPG keys and their backup πŸ”‘πŸ”πŸ’»

I use a GPG key to sign my git commits.

An error like this one might be a sign of an expired GPG key.

error: gpg failed to sign the data fatal: failed to write commit object
@Zekfad
Zekfad / conventional-commits.md
Last active December 3, 2025 21:16
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
@johnfedoruk
johnfedoruk / clamd-setup.md
Last active November 16, 2025 12:59
Setting up ClamAV

ClamAV Setup Notes

Context

ClamAV can be used in a few different ways. Most importantly, it provides the ability to scan files in realtime (on-access) or to scan the file system periodically.

I tried configuring ClamAV to both perform on-access virus scanning and to perform nightly full filesystem scanning. Using the on-access option did not prove to be very useful, however a scheduled full system scan seems to be of value.

Here is my story.

@geunho
geunho / application-properties.md
Last active November 9, 2025 20:27
spring-kafka application.properties

https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html spring.kafka prefixed properties

Key Default Value Description
spring.kafka.admin.client-id ID to pass to the server when making requests. Used for server-side logging.
spring.kafka.admin.fail-fast false Whether to fail fast if the broker is not available on startup.
spring.kafka.admin.properties.* Additional admin-specific properties used to configure the client.
spring.kafka.admin.ssl.key-password Password of the private key in the key store file.
spring.kafka.admin.ssl.key-store-location Location of the key store file.
@Hakky54
Hakky54 / openssl_commands.md
Last active December 5, 2025 09:04 — forked from p3t3r67x0/openssl_commands.md
OpenSSL Cheat Sheet

OpenSSL Cheat Sheet πŸ”

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl