Skip to content

Instantly share code, notes, and snippets.

@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:

@sumedhahire
sumedhahire / fifo.c
Last active December 15, 2022 16:07 — forked from projjal1/fifo.c
FIFO Page Replacement Algorithm Implementation in C
#include<stdio.h>
void fifo(int string[20],int n,int size)//n no frames
{
//Creating array for block storage
int frames[n];
//Initializing each block with -1
for (int i=0;i<n;i++)
frames[i]=-1;
@sumedhahire
sumedhahire / lru.c
Last active December 23, 2022 15:38 — forked from projjal1/lru.c
LRU (Least Recently Used) Page Replacement Algorithm implmentation in C
#include<stdio.h>
void lru(int string[20],int n,int size)
{
//Creating array for block storage
int frames[n];
//Initializing each block with -1
for (int i=0;i<n;i++)
frames[i]=-1;
@marcobehlerjetbrains
marcobehlerjetbrains / springboot_ref2_http_post
Last active March 30, 2025 05:05
Spring Boot REF2 - Http Post
(async function createPhoto() {
let photo = {"fileName": "hello.jpg"};
await fetch("http://localhost:8080/photoz", {
method: "POST",
headers: {
"Accept": "application/json",
"Content-Type": "application/json"
},
body: JSON.stringify(photo)
@marcobehlerjetbrains
marcobehlerjetbrains / springboot_ref3_upload.html
Created March 23, 2022 10:09
Spring Boot REF3 - upload.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<h2>Photo Upload</h2>
@projjal1
projjal1 / optimal.c
Created May 13, 2020 13:42
Optimal Page Replacement Algorithm Implementation in C
#include<stdio.h>
void optimal(int string[20],int n,int size)
{
//Creating array for block storage
int frames[n];
//Initializing each block with -1
for (int i=0;i<n;i++)
frames[i]=-1;