This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Helper to convert semantic version (e.g., 1.2.3) into a numeric code (10203) | |
| * This ensures Android versionCode is always incrementing correctly. | |
| */ | |
| const getVersionCode = (version: string): number => { | |
| const [major, minor, patch] = version.split('.').map(Number); | |
| return major * 10000 + minor * 100 + patch; | |
| }; | |
| const APP_VERSION = "1.2.3"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "apiEndpoint": "https://api.production.com", | |
| "theme": "dark", | |
| "version": "1.2.3", | |
| "versionCode": 10203, | |
| "enableAnalytics": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pkg from './package.json'; | |
| export default { | |
| expo: { | |
| name: "My App", | |
| version: pkg.version, // Automatically pulls from package.json | |
| android: { | |
| package: "com.mydomain.app" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###################################################################################################################################### | |
| # For CC running in Docker Container below are various environment configs with various integration points | |
| # To start CC with worktree enabled start it with `--worktree` flag like `claue --worktree` | |
| # To start CC with specific settings.json file like `lmstudio.settings.json `, start it like `claude --settings lmstudio.settings.json` | |
| ####################################################################################################################################### | |
| ## LM Studio on Windows Desktop | |
| # "host.docker.internal" is Docker Network way of routing to its Windows Host | |
| ANTHROPIC_BASE_URL="http://host.docker.internal:1234/" | |
| ANTHROPIC_AUTH_TOKEN="dummy" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "build": { | |
| "development": { | |
| "developmentClient": true, | |
| "distribution": "internal", | |
| "autoIncrement": true, | |
| "android": { | |
| "gradleCommand": ":app:assembleDebug", | |
| "buildType": "apk" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --- Stage 1: The JDK Provider --- | |
| FROM eclipse-temurin:17-jdk-jammy AS jdk-source | |
| # --- Stage 2: Final Development Image --- | |
| FROM node:20-slim | |
| # Build arguments for user configuration | |
| ARG USERNAME=ccagent | |
| ARG WORKDIR=app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| tel_hanuma_chalisa: | |
| # When you have default setup with Dockerfile being the name | |
| # build: . | |
| # Being explicit for clarity | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.dev | |
| image: tel_hanuma_chalisa:latest | |
| container_name: thc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Reference config for ReDroid in docker-compose | |
| # This one is likely resource intensive. | |
| # When I added another service my Docker started restarting because of resource contention with host OS having only 16GB RAM. | |
| services: | |
| redroid: | |
| image: redroid/redroid:16.0.0-latest | |
| container_name: redroid | |
| restart: unless-stopped | |
| privileged: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This .wslconfig can be found in your windows host @ C:\Users\{your-user}\.wslconfig | |
| [wsl2] | |
| localhostForwarding=true | |
| # default memory limit is 50% of available memory (setting higher limit might slow down your host performance) | |
| memory=10GB | |
| # Sets the amount of swap space (virtual memory on disk) | |
| # This acts as a safety net if your containers spike |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use official Maven image with JDK 21 | |
| FROM maven:3.9.6-eclipse-temurin-21 | |
| # Install dependencies for JDTLS (Python is required for the wrapper script) | |
| RUN apt-get update && apt-get install -y \ | |
| python3 \ | |
| wget \ | |
| tar \ | |
| && rm -rf /var/lib/apt/lists/* |
NewerOlder