Skip to content

Instantly share code, notes, and snippets.

View kozmotronik's full-sized avatar
💭
I may be slow to respond.

Kozmotronik kozmotronik

💭
I may be slow to respond.
View GitHub Profile
@kozmotronik
kozmotronik / esp-idf-unit-test-run-error.txt
Last active January 29, 2025 11:14
ESP-IDF VSCode Extension Unit Test Chip Select Issue
================================================================================================= test session starts ==================================================================================================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /disk/Projeler/Lab/Espressif/lab-system/unit-testing-esp/unity-app
plugins: embedded-1.12.1, ignore-test-results-0.2.2, timeout-2.3.1, rerunfailures-15.0
collected 1 item
test_unit_case.py 2025-01-29 11:07:07 Serial port /dev/ttyUSB0
2025-01-29 11:07:07 Connecting....
2025-01-29 11:07:07 /dev/ttyUSB0 failed to connect: This chip is ESP32-C3 not ESP32. Wrong --chip argument?
2025-01-29 11:07:07 Serial port /dev/ttyS9
@kozmotronik
kozmotronik / migrate.sh
Created January 2, 2025 17:26 — forked from Geczy/readme.md
Migrate Coolify to a new server
#!/bin/bash
# This script will backup your Coolify instance and move everything to a new server. Docker volumes, Coolify database, and ssh keys
# 1. Script must run on the source server
# 2. Have all the containers running that you want to migrate
# Configuration - Modify as needed
sshKeyPath="$HOME/.ssh/your_private_key" # Key to destination server
destinationHost="server.example.com"
@kozmotronik
kozmotronik / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created October 3, 2024 18:43
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

WATCH OUT FOR SUSPICIOUS LINKS IN THE COMMENTS BELOW!

I noticed that people or bots are trying to place suspicious links below that link to some sketchy source for what they say is a 'crack' or nothing at all. I'd recommend you to NOT click on any of those links! The scripts in this guide are open source and can be viewed as desired. I'm fine with posting coupons here! Do note that if you do so, please prove it! Link a review site along with the site and the coupon. Thanks, Minionguyjpro.

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that

@kozmotronik
kozmotronik / GridKomsulukBulmaSorunuVeCozumu.md
Created May 5, 2024 16:21
Grid Komşuluk Bulma Sorunu ve Çözümü

Grid Komşuluğu Tablosu

Gridin Yapısı

 9 4
 6 3
 5 8

Sorun

@kozmotronik
kozmotronik / gridKomsulukCozum.c
Last active May 5, 2024 15:33
Grid Komşuluk Bulma Çözümü - https://youtu.be/sL471VjO3JU?si=jEe5BDqxN5hO4_PV videosundaki mülakat sorusu için iki çözüm.
/**
* \file gridKomsulukCozum.c
* \author kozmotronik (İsmail Sahillioğlu)
*
* https://youtu.be/sL471VjO3JU?si=jEe5BDqxN5hO4_PV adresindeki videoda sorulan bir mülakat
* sorusuna C dili ile yazdığım 2 farklı çözüm.
*
* 1. Çözüm gridKomsulariBulV1
* Bu çözümde 4 adet iç içe çalışan döngü ile grid tablosunun satır ve sütün genişliklerine
* göre indekslerin birbirleriyle ilişkisi yoklanarak komşuluklar tespit edilmektedir.