Skip to content

Instantly share code, notes, and snippets.

View cyb3rko's full-sized avatar

Niko Diamadis cyb3rko

View GitHub Profile
@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.

@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
@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()
}
}
}
@bahadiraraz
bahadiraraz / Git_Commit_Freeze_Solution.md
Last active August 12, 2025 20:54
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.