5大工具

1️⃣PDCA循环法 计划(Plan)、实施(Do)、检查(Check)、调整(Adjustment) 2️⃣SMART原则 S(Specific)具体的、M(Measurable)可衡量的、A(Attainable)可达成的、R(Relevant)相关的,T(Time-based)有一定期限的 3️⃣5W2H管理法 What(做什么),Why(为什么),Who(何人做),When(何时),Where(何地),How(如何),How much(多少) 4️⃣SWOT分析法 S(Strength)竞争优势、W(Weakness)竞争劣势、O(Opportunity)机会、T(Threats)威胁 5️⃣STAR原则 Situation(情景)、Task(任务)、Action(行动)、Result(结果) →Read more

赤诚地燃烧

看最新一期的十三邀, 片尾有一段话, 说的很好 做自己想做的事 爱自己想爱的人 走自己想走的路 痛了就哭, 喜了就笑 累了就歇, 好了就走 … 我看到了自己 也看到 生命原本的纯粹与自然 →Read more

拥抱变化

唯一确定的是不确定性 唯一不变的是变化 无法预测未来, 只能拥抱变化 通过迭代与反馈的循环来学习如何应对变化 →Read more

docker for java app

write a Dockerfile FROM openjdk:21 COPY target/reminder.jar /usr/src/reminder WORKDIR /usr/src/reminder EXPOSE 8080 CMD ["java" ,"-jar", "reminder.jar" ] build image docker build –t reminder:1.0.0 . docker run -it -p 18080:8080 reminder:1.0.0 use cloud native buildpacks to build open container initiative(OCI) ./mvnw spring-boot:build-image →Read more

Programming prompts

# Prompt Variable Example Category 1 You are an expert in {language}, please explain how the {function} works in {language} in a simple and understandable way language, function You are an expert in Python, please explain how the list comprehension works in Python in a simple and understandable way learn 2 You are an expert […] →Read more

minikube minutes

create a cluster minikube start –force –image-mirror-country='cn' –image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers' –cpus 2 –memory 4g –driver docker –profile lazy-rabbit-studio kubectl get nodes kubectl get context kubectl config use-context lazy-rabbit-studio minikube image load gcr.io/k8s-minikube/kicbase:v0.0.45 minikube start –force –base-image=gcr.io/k8s-minikube/kicbase:v0.0.45 -cpus 2 –memory 4g –driver docker –profile lazy-rabbit-studio minikube start –vm-driver=docker –base-image="anjone/kicbase" –image-mirror-country='cn' –image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers' –kubernetes-version='v1.22.0' –force minikube start –vm-driver=docker –base-image="anjone/kicbase" –image-mirror-country='cn' […] →Read more

push gateway

Overview Occasionally you will need to monitor components which cannot be scraped. The Prometheus Pushgateway allows you to push time series from short-lived service-level batch jobs to an intermediary job which Prometheus can scrape. Combined with Prometheus’s simple text-based exposition format, this makes it easy to instrument even shell scripts without a client library. Data […] →Read more

Prettier for java

Overview Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. A Prettier plugin must first parse the source code of the target language into a traversable data structure (Usually an […] →Read more

Java programming prompts

Overview — 翻译自 25-perfect-ai-prompts-for-java-developers "Suggest strategies for optimizing Java code for improved performance, including using bytecode optimization and efficient memory management techniques." 请建议优化 Java 代码以提高性能的策略,包括使用字节码优化和高效的内存管理技术。 "Explain the principles of Java concurrency and suggest ways to use concurrency techniques for improved code performance and scalability." 请解释 Java 并发的原理并建议使用并发技术来提高代码性能和可扩展性的方法。 "Suggest ways to optimize Java code for improved […] →Read more

cloud native buildpacks

Cloud Native Buildpacks (CNBs) transform your application source code into container images that can run on any cloud. With buildpacks, organizations can concentrate the knowledge of container build best practices within a specialized team, instead of having application developers across the organization individually maintain their own Dockerfiles. This makes it easier to know what is […] →Read more