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 March 7, 2026 06:37
prevent Jetbrains products (Intellij, Webstorm, Rider, Goland ...) checking for validity of License - don't use ja-netfilter

Introduction

I personally experienced slowdowns and issues while using the ja-netfilter agent.

I decided to investigate how JetBrains checks license validity, because despite explicitly configuring JetBrains to work offline, it still attempts to validate licenses.

Here are my findings:
Two domains are responsible for revoking invalid licenses:

  • www.jetbrains.com
  • account.jetbrains.com
@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 {