Skip to content

Instantly share code, notes, and snippets.

@madhurimarawat
madhurimarawat / GATE-CSE-DS-Resources.md
Last active September 9, 2026 11:10
A collection of the best free GATE preparation resources for CSE & Data Science. Contributions are welcome!

πŸ“Œ GATE Resources - CSE & Data Science

I have compiled all the resources that helped me in my GATE preparation, and I hope they help you too! πŸš€

@harrymoy
harrymoy / api_response.json
Created November 15, 2024 13:05
Glastonbury API response
{
"isBeforeOrIdle": false,
"pageId": "queue",
"pageClass": "queue",
"QueueState": 2,
"ticket": {
"queueNumber": null,
"usersInLineAheadOfYou": null,
"expectedServiceTime": null,
"queuePaused": false,
@tesselode
tesselode / swept-aabb.lua
Last active September 9, 2026 10:44
swept AABB collision detection implemented in Lua (commentated)
--[[
moves rectangle A by (dx, dy) and checks for a collision
with rectangle B.
if no collision occurs, returns false.
if a collision does occur, returns:
- the time within the movement when the collision occurs (from 0-1)
- the x component of the normal vector
- the y component of the normal vector

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@DenBread
DenBread / README.md
Created February 16, 2025 22:16
Free Activation Code for JetBrains Products

My greetings, for everyone.

How to activate any JetBrains products with 3.jetbra.in?

First we need to visit this website

https://3.jetbra.in

Click the first link with Online status, by default is ipfs.io

Screenshot 2024-12-28 at 19 22 31

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@harishanchu
harishanchu / typeracer.com-cheat.js
Last active September 9, 2026 09:55
typeracer.com cheat
//Before you start typing open your developer console and paste the following script
//Now pressing any key will result in to correct key press untill you reach next space key.
//I made the user push space to move further, so that someone viewing your typing will think you are not faking.
//warning: Site detects the WPM above 100 and asks you to do a captcha test.
var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
jQuery.noConflict();
@benmarwick
benmarwick / 3D_PCA.r
Last active September 9, 2026 09:44
Using R for three-dimensional plotting of the output of a PCA
pc <- prcomp(~ . - Species, data = iris, scale = TRUE)
library(rgl)
plot3d(pc$x[,1:3], xlab="Component 1", ylab="Component 2", zlab="Component 3", type="n", box=F, axes=T)
decorate3d(xlab = "x", ylab = "y", zlab = "z",
box = TRUE, axes = TRUE, main = NULL, sub = NULL,
top = TRUE, aspect = FALSE, expand = 1.03)
spheres3d(pc$x[,1:3], radius=0.1, col=rep(c("red","green","black"), each = 50))
grid3d(c("x", "y+", "z"))
text3d(pc$x[,1:3], text=rownames(pc$x), adj=1.3)