Skip to content

Instantly share code, notes, and snippets.

View khadorkin's full-sized avatar

Dima Khadorkin khadorkin

  • Mobile Roadie
  • Vilnius, Lithuania
  • 21:57 (UTC +02:00)
View GitHub Profile
@RuiNelson
RuiNelson / README.md
Last active October 28, 2025 14:17
How to Use GLM Coding Plan and Claude Pro/Max Simultaneously with Claude Code on macOS

Who is this script for?

For those who have a Claude (Anthropic) account and a GLM Coding Plan (Z.ai) account and want to use Claude Code for both.

What does this script solve?

On macOS, Claude Code stores access credentials in the Keychain (macOS Keychain is a secure database that the operating system provides to applications for storing secrets). This makes the setup more secure but less programmatically configurable.

How does this script solve this problem?

@dctmfoo
dctmfoo / AGENTS.md
Last active October 21, 2025 17:16
TDD workflow for you, droid and droid exec - Updated for clarity and placeholders for repo specific instructions!

AGENTS.md - Essential Briefing for AI Agents

For human contributors: See README.md for getting started guide.


🤖 THE 3-ENTITY WORKFLOW (CORE CONCEPT)

This project uses a 3-entity collaboration pattern between Human, Droid Assistant, and Droid Exec.

@ben-vargas
ben-vargas / AGENTS.md
Last active October 16, 2025 13:27
Bare Git Worktrees AGENTS.md

Git Bare Repository Worktree Workflow for Claude Code

🚨 CRITICAL: Understanding My Project Structure

I use a bare Git repository approach with Git worktrees extensively. Every subdirectory in my projects represents a different git branch as a worktree.

When you see a project like /home/code/projects/my-app/:

  • my-app/ = project container (NOT a working tree)
  • my-app/.bare/ = actual Git repository database
  • my-app/.git = pointer file directing Git commands to .bare/
@AnjanJ
AnjanJ / debug.json
Last active October 19, 2025 19:24
zed settings,tasks and debug.json
[
{
"name": "Ruby: Debug Current File",
"type": "ruby",
"request": "launch",
"program": "${file}",
"cwd": "${workspaceFolder}",
"useBundler": true,
"pathToBundler": "/usr/local/bin/bundle",
"pathToRDebugIDE": "rdebug-ide",
@Makisuo
Makisuo / usage.tsx
Last active June 17, 2025 01:08
Pglite x Drizzle Live Query
const { data: accounts } = useDrizzleLive((db) =>
db.query.accounts.findMany({
limit: 100,
with: {
institution: true,
},
}),
)
@EvanBacon
EvanBacon / skeleton.tsx
Created October 23, 2024 23:38
Animated skeleton component with Expo SDK 52
"use client";
import React from "react";
import { View, StyleSheet, Animated, Easing, ViewStyle } from "react-native";
const BASE_COLORS = {
dark: { primary: "rgb(17, 17, 17)", secondary: "rgb(51, 51, 51)" },
light: {
primary: "rgb(250, 250, 250)",
secondary: "rgb(205, 205, 205)",
@juanchoperezj
juanchoperezj / AppDelegate.mm
Last active October 30, 2025 01:43
Use RocketSim Network Monitoring with both React Native CLI generated and Expo projects
// imports...
@interface RocketSimLoader : NSObject
- (void)loadRocketSimConnect;
@end
@implementation RocketSimLoader
@hirbod
hirbod / app-release.md
Last active March 12, 2025 20:12
How to get your App through the App/Play store safely

How to Successfully Publish Your App on the App Store or Google Play

As someone who has released many apps starting in 2015 using frameworks such as Cordova and Ionic, and more recently using React Native and Expo, I have learned that the rules for publishing apps can change frequently and can sometimes be challenging to navigate. With that in mind, I want to provide a brief guide to help others navigate the process. While this guide may not cover every aspect of publishing an app, it does cover general tips and information that should be useful for anyone looking to release their app on the App Store or Google Play.

Metadata

Keywords, Description, Screenshots, App Name, Promo Videos

There are significant differences between Apple and Google when it comes to metadata. Apple is generally stricter than Google, so it is advisable to follow Apple's guidelines to ensure the best chances of success on both platforms. Here are some tips to keep in mind:

  1. Keep your screenshots and promo videos separat
@belgattitude
belgattitude / ci-yarn-install.md
Last active October 14, 2025 07:43
Composite github action to improve CI time with yarn 3+ / node-modules linker.
@intergalacticspacehighway
intergalacticspacehighway / keyboard-aware-reanimated-scrollview.tsx
Last active August 20, 2025 18:53
keyboard aware reanimated scrollview
import React from "react";
import { Dimensions, TextInput, ScrollView } from "react-native";
import Animated, {
useAnimatedKeyboard,
useAnimatedReaction,
runOnJS,
KeyboardState,
useAnimatedProps,
useAnimatedScrollHandler,