Skip to content

Instantly share code, notes, and snippets.

apply plugin: 'java'
repositories {
// maybe more repos are necessary
mavenCentral()
}
dependencies {
implementation "ch.qos.logback:logback-core:1.4.5"
implementation "com.github.spotbugs:spotbugs-annotations:4.7.1"
extensions.pocket.enabled=false
browser.urlbar.clickSelectsAll=true
browser.urlbar.doubleClickSelectsAll=false
browser.sessionstore.restore_on_demand=false
identity.fxaccounts.enabled=true
@crusy
crusy / uBlock filter rules (public)
Last active November 13, 2024 11:09
uBlock Filter
# Make Outlook's selected mail more visible:
outlook.office.com#$#div[aria-selected="true"] * { font-weight: bold !important; }
# Make stackoverflow less cluttered:
stackoverflow.com##div.s-sidebarwidget__yellow
stackoverflow.com###hot-network-questions
stackoverflow.com###feed-link
stackoverflow.com###newsletter-ad
stackoverflow.com#$#div.everyonelovesstackoverflow{ margin-bottom: 0 !important; }
stackoverflow.com##:xpath(//ol[li[div[text()='Teams']]])
package com.acme.condition;
import org.springframework.boot.autoconfigure.condition.ConditionMessage;
import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.context.annotation.Conditional;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.core.type.AnnotatedTypeMetadata;