OnePlus 7 Pro 折腾记

OnePlus 7 Pro 折腾记。 Unlock Bootloader 先前准备: 备份数据,具体可以使用 adb 命令,见后文 开启开发者模式,Settings -> About Phone -> 点击 Build Number 7 次 调试模式,Settings -> Developer option -> Enable USB Debugging 开启 OEM Unlocking,Settings -> Developer options -> OEM Unlocking 开启 PC Read more ...

2019-06-02 oneplus , android , root , magisk , adb

Java 定时任务框架 Job-scheduling Quartz 使用

Quartz is a richly featured, open source job scheduling library that can be integrated within virtually any Java application - from the smallest stand-alone application to the largest e-commerce system. Setup <dependency> <groupId>org.quartz-scheduler</groupI Read more ...

2019-05-30 java , quartz , schedule , cronjob

jbpm 中 ProcessEventListener 顺序问题

在 jBPM 商业流程中有一个 ProcessEventListener ,可以用来回调流程的执行过程,但是这个 Listener 的执行顺序非常奇怪。 首先我们先看看这个 interface public interface ProcessEventListener { void beforeProcessStarted( ProcessStartedEvent event ); void afterProcessStarted( ProcessStartedEvent event ); void beforeProcessCompl Read more ...


drools workbench

Drools 是一个 Java 的商业过程实现,这是 Bob McWhirter 所编写的一个开源项目,由 JBoss 和 Red Hat Inc 支持。 Drools 提供一个核心的 Business Rules Engine(BRE) 和一个网页编写规则的管理系统(Drools Workbench)和 一个 Eclipse IDE 的插件,一同构成完整的 Drools 生态。 而这篇文章则主要侧重于 Drools Workbench。 Workbench org.guvnor.m2repo.dir The workbench stores i Read more ...

2019-05-21 drools , rule-engine

Entware-ng 使用

Entware-ng 是一个适用于嵌入式系统的软件包库,使用 opkg 包管理系统进行管理。之前的路由器刷了 Openwrt 之后直接能用命令行安装相关命令,之后的路由器,NAS 也能安装 Entware-ng 。可以将 Entware-ng 想象成嵌入式设备的一个包管理软件,能方便的用来在嵌入式设备上安装软件,现在在官方的源上已经有超过 2000 个软件包。 相关网址: https://github.com/Entware/Entware Installation 在群晖上安装 http://pkg.entware.net/bi Read more ...


每天学习一个命令:pidstat 查看进程消耗资源

pidstat 是 sysstat 工具包含的一个命令,主要用于监控 Linux Kernel 管理的进程资源占用情况,包括 CPU,IO,内存,线程等等。 The pidstat command is used for monitoring individual tasks currently being managed by the Linux kernel. pidstat 首次运行会显示系统自开机起各项统计,之后运行将显示从上一次运行到该次运行的统计信息。 installation apt-get install sysstat Read more ...

2019-05-14 linux , commmand , network , pidstat , iotop , ram , cpu

每天学习一个命令:pidof 查找进程 PID

pidof finds the process id’s(pids) of the names programs. Usage pidof [name] Example find chrome pid pidof chrome pidof -s chrome Options: -s instructs the program to only return one pid. Extension pgrep Read more ...

2019-05-14 pid , netstat , command , linux

Cross-platform Softwares I am using

This post will only list cross-platform softwares I used now. Each software has its own behaviors, and binded with its own shortcut. It takes time to be familiar with it. So I decided to use only cross-platform softwares in daily life in case I have to swith my main System. But i Read more ...

2019-05-10 applications , apps

使用 Stylus 扩展自定义页面样式

有油猴脚本可以用来修改网页页面,那么相应的也能通过挂载自己的定义的 CSS 来实现对页面的修改。 如果有了这样的概念,那么可以在页面做到,完全修改页面显示的样式,增加背景,移除广告等等事情。 installation 安装扩展 https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en CSS 样式 从该站点寻找可用的样式 https://userstyles.org/ InoReader https:/ Read more ...

2019-05-08 stylus , css , chrome , firefox , extension

Ruby 国内镜像

Update ruby gem update --system gem -v gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ gem sources -l 确保只有 gems.ruby-china.com Bundler bundle config mirror.https://rubygems.org https://gems.ruby-china.com bundle install reference https://g Read more ...

2019-05-02 ruby , source , bundler , jekyll

最近文章

  • RAG 简介 什么是 RAG
  • Homerow 配置 macOS 全键盘操作 今天想要和大家分享一下一款非常有趣的应用,叫做 Homerow,他之前的名字叫做 vimac,是一款可以在 macOS 上实现全键盘操作的工具。
  • 自动化运维工具 Puppet 介绍 Puppet 是一个开源的强大的基础设施配置管理工具,很早之前我介绍过一款 Python 编写的开源的自动化运维工具 Ansible,后面陆陆续续还分享过如何使用 Ansible 去管理 Contab,如何使用 Roles 来结构化并管理大量的 Ansible 配置。而今天要介绍的 Puppet 是另外一款运维自动化工具,被广泛用于自动化管理多个服务器配置。
  • Gemini 2 的原生多模态图片生成 Google 今天发布了 Gemini 2.0 Flash 的多模态图像生成功能。
  • Helm 使用 Helm 是 [[Kubernetes]] 的一个包管理工具,用来简化 Kubernetes 应用的部署和管理。