Skip to content

Instantly share code, notes, and snippets.

@xzer
xzer / RangeModule.java
Created September 17, 2023 05:31
LC-715
class RangeModule {
static class Range {
private static final boolean DEBUG = false;
private static final boolean BIASED_SPLIT = true;
private static final int MID_NON_MARKED = -1;
private static final int MID_ALL_MARKED = -2;
int startValue;
int endValue;
@xzer
xzer / gist:1b676832fb825374c51a4fa64ee8d23e
Last active August 24, 2024 23:58
use Oomph to share configuration cross workspaces
- create a common config shareing workspace, for configuraiton management purpose only
- got to settings -> Oomph -> Setup Tasks -> Preference Recorder
- tick record into, usually User is best
- new created workspace will pick up those configuration automatically
- new workspace does not need to record the configuration, there seems some conflicting when multiple workspaces are recording configuration
- if there is a sharable config change, it is best to go to config share workspace, change it again, and ensure the change be ing recorded
- the edit icon at the record option, can open the raw record file
- find the which config item being involved
- ensure it is ticked in the record setting panel