This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=String.fromCharCode(95);q=String.fromCharCode(34);v="console.log(`a=String.fromCharCode(95);q=String.fromCharCode(34);v=_${v}_; ${v.replace(a,q).replace(a,q)}`)"; console.log(`a=String.fromCharCode(95);q=String.fromCharCode(34);v="${v}"; ${v.replace(a,q).replace(a,q)}`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.tngtech.archunit.base.DescribedPredicate | |
import com.tngtech.archunit.core.domain.JavaClass | |
import com.tngtech.archunit.core.importer.ClassFileImporter | |
import com.tngtech.archunit.lang.ArchCondition | |
import com.tngtech.archunit.lang.ConditionEvents | |
import com.tngtech.archunit.lang.SimpleConditionEvent | |
import com.tngtech.archunit.lang.syntax.ArchRuleDefinition.classes | |
import org.junit.jupiter.api.Test | |
import org.springframework.stereotype.Component | |
import org.springframework.stereotype.Service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const True = (a, b) => a() | |
const False = (a, b) => b() | |
const If = (cond, then, else_ = () => {}) => cond(then, else_) | |
const L = (first, second) => second(first()) | |
const Not = (bool) => (a, b) => bool(b, a) | |
const Or = (bool1, bool2) => (a, b) => bool1(a, () => bool2(a, b)) | |
const And = (bool1, bool2) => (a, b) => bool1(() => bool2(a, b), b) | |
const Xor = (l, r) => Or(And(Not(l), r), And(l, Not(r))) | |
const Xnor = (l, r) => Not(Xor(l, r)) |