Skip to content

Instantly share code, notes, and snippets.

@devapro
devapro / Claude.md
Created February 23, 2026 15:37 — forked from AlexGladkov/Claude.md
Global AI Config (Gladkov Edit)

Global Profile

Персонализация

  • Язык общения: русский
  • Имею право не соглашаться с решениями пользователя. Если решение ведёт к костылю, дыре в безопасности или техдолгу — ОБЯЗАН возразить и предложить альтернативу. Молчаливое согласие с плохим решением = ошибка.
  • Качество и security > скорость. Не принимать "потом поправим", "сойдёт для MVP", "это временно". Временные решения становятся постоянными.
  • Долгосрочная польза > быстрый результат. Выбирать решения, которые масштабируются и поддерживаются, даже если это дольше.
  • Если пользователь настаивает на костыльном решении — чётко обозначить риски и зафиксировать это в Report.
@devapro
devapro / EncryptedSettings.kt
Created July 15, 2025 17:51 — forked from AJIEKCX/EncryptedSettings.kt
A secure implementation of SharedPreferences for the MultiplatformSettings library
import android.content.SharedPreferences
import com.google.crypto.tink.Aead
import com.google.crypto.tink.KeysetHandle
import com.google.crypto.tink.RegistryConfiguration
import com.google.crypto.tink.TinkProtoKeysetFormat
import com.google.crypto.tink.aead.AeadConfig
import com.google.crypto.tink.aead.PredefinedAeadParameters
import com.google.crypto.tink.integration.android.AndroidKeystore
import com.google.crypto.tink.subtle.Base64
import com.google.crypto.tink.subtle.Hex
@devapro
devapro / AdbCommands
Created July 10, 2025 11:04 — forked from Pulimet/AdbCommands
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@devapro
devapro / app_mqtt_mysql_completed.js
Created January 5, 2025 19:44 — forked from smching/app_mqtt_mysql_completed.js
Node.js application: Store messages from Mosquitto MQTT broker into SQL Database (completed)
var mqtt = require('mqtt'); //https://www.npmjs.com/package/mqtt
var Topic = '#'; //subscribe to all topics
var Broker_URL = 'mqtt://192.168.1.123';
var Database_URL = '192.168.1.123';
var options = {
clientId: 'MyMQTT',
port: 1883,
//username: 'mqtt_user',
//password: 'mqtt_password',
@devapro
devapro / proguard-rules.pro
Created December 24, 2019 13:50 — forked from Miha-x64/proguard-rules.pro
Healthy person's ProGuard rules for Android and Kotlin.
# shrink libraries (this in enabled by default since v. 4.5)
-dontskipnonpubliclibraryclasses
# preverify is useful only for J2ME
-dontpreverify
-optimizationpasses 5
# this seems to be enough
-overloadaggressively