Skip to content

Instantly share code, notes, and snippets.

View nort3x's full-sized avatar
💭
climbing shoulder of giants

nort3x nort3x

💭
climbing shoulder of giants
  • kar.center
  • Tehran, Iran
View GitHub Profile
@nort3x
nort3x / readme.md
Last active December 5, 2025 20:28
Intellij License Activation 2025 - don't use ja-netfilter

Intro

I personally experienced slow downs and problems using ja-netfilter agent

i decided to inspect how jetbrains check for validity of licenses(because despite the fact i exclusivly told jetbrains to work-offline it still check the licesnse)

these are my conlusions: two domains are responsible for revoking invalid licenses:

@nort3x
nort3x / BroadCaster.kt
Created January 22, 2023 16:09
Embedded Kotlin FanOut BroadCaster
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.cancel
import kotlinx.coroutines.channels.BufferOverflow
import kotlinx.coroutines.flow.*
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Component
import java.util.concurrent.ConcurrentHashMap
class BroadCaster {
@nort3x
nort3x / ComplexNumber.kt
Last active February 3, 2022 18:07 — forked from Ninayd/Complex Numbers
naming the file the right way
class Complex(private var real: Double, private var image: Double) {
// empty constructor
constructor() : this(0.0, 0.0);
operator fun plus(C: Complex): Complex {
return Complex(this.real + C.real, this.image + C.image)
}
operator fun minus(C: Complex): Complex {