Create or update the diary.md file in the project root with development activity from Claude Code history and git logs.
Run this to get project history grouped by day with active time (excluding gaps >30 min):
| import com.intellij.execution.ExecutionListener | |
| import com.intellij.execution.ExecutionManager.Companion.EXECUTION_TOPIC | |
| import com.intellij.execution.process.ProcessHandler | |
| import com.intellij.execution.runners.ExecutionEnvironment | |
| import java.util.concurrent.ConcurrentHashMap | |
| val startTimeByRunProfile = ConcurrentHashMap<String, Long>() | |
| project!!.messageBus.connect(pluginDisposable) | |
| .subscribe(EXECUTION_TOPIC, object : ExecutionListener { |
| #!/bin/bash | |
| ############################################### | |
| # How to use from terminal: | |
| # $> mirakle.sh on – to enable | |
| # $> mirakle.sh off – to disable | |
| ############################################### | |
| MIRAKLE_INIT_SCRIPT_DIR="${HOME}/.gradle/init.d/" | |
| MIRAKLE_INIT_SCRIPT_FILE="${MIRAKLE_INIT_SCRIPT_DIR}/mirakle_init.gradle" |
In computing, memoization or memoisation
is an optimization technique used primarily
to speed up computer programs by storing
the results of expensive function calls and
returning the cached result when the same
inputs occur again.
— wikipedia
This guide assumes you've got a project using Detox with Jest, and you want to write your Detox tests in TypeScript.
We'll be using ts-jest to run Jest tests with TypeScript.
| cache: | |
| key: | |
| stages: | |
| - build | |
| - test | |
| - deploy | |
| after_script: | |
| - (if [ "$(lsof -n -i4TCP:2137)" != "" ]; then kill -9 $(lsof -n -i4TCP:2137); else echo "Cleaned"; exit 33; fi); |
| image: openjdk:8-jdk | |
| # image: jangrewe/gitlab-ci-android | |
| variables: | |
| ANDROID_COMPILE_SDK: "23" | |
| ANDROID_BUILD_TOOLS: "23.0.1" | |
| ANDROID_SDK_TOOLS: "3859397" | |
| before_script: |
To keep the arguments and examples to the point there are few helpful rules:
| 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. |
| class EventEmitter | |
| /// Shared Instance. | |
| public static var sharedInstance = EventEmitter() | |
| // ReactNativeEventEmitter is instantiated by React Native with the bridge. | |
| private static var eventEmitter: ReactNativeEventEmitter! | |
| private init() {} |