I have compiled all the resources that helped me in my GATE preparation, and I hope they help you too! π
Discover gists
| { | |
| "isBeforeOrIdle": false, | |
| "pageId": "queue", | |
| "pageClass": "queue", | |
| "QueueState": 2, | |
| "ticket": { | |
| "queueNumber": null, | |
| "usersInLineAheadOfYou": null, | |
| "expectedServiceTime": null, | |
| "queuePaused": false, |
| --[[ | |
| 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 |
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.
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.
| <!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 () { |
| //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(); |
| 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) |


