I have compiled all the resources that helped me in my GATE preparation, and I hope they help you too! 🚀
Discover gists
| -- MarI/O by SethBling | |
| -- Feel free to use this code, but please do not redistribute it. | |
| -- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM. | |
| if gameinfo.getromname() == "Super Mario World (USA)" then | |
| Filename = "DP1.state" | |
| ButtonNames = { | |
| "A", | |
| "B", | |
| "X", |
Important
Working on the latest supported Windows versions. Run Windows Update before following this guide.
1. Open Powershell > RUN AS ADMIN
2. Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter
3. Microsoft Edge will be completely uninstalled.
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.
| #!/bin/env python3 | |
| import argparse | |
| import datetime | |
| import re | |
| import sys | |
| import uuid | |
| ############################################################################### | |
| # Based off of Daniel Thatcher's guid tool |
| <# | |
| DEBLOAT SCRIPT FOR TECNO PHONES | |
| NOTES/REMINDERS | |
| - Check the "POSSIBLY USEFUL FOR YOU" section before proceeding. Comment out any packages you need. | |
| - I have tested all these removals on my Tecno Pova (last Nov 2023). Should have the same bloat on other Tecno models too. | |
| - Note that some apps will auto install after system update. Just run script again. | |
| - Grabbed the other package names from Universal Android Debloater here on Github (I created this script because UAD was lacking | |
| a lot of packages) |
| SELECT | |
| *, | |
| pg_size_pretty(table_bytes) AS table, | |
| pg_size_pretty(index_bytes) AS index, | |
| pg_size_pretty(total_bytes) AS total | |
| FROM ( | |
| SELECT | |
| *, total_bytes - index_bytes - COALESCE(toast_bytes, 0) AS table_bytes | |
| FROM ( | |
| SELECT |
| Function Start-WindowsCleanup | |
| { | |
| <# | |
| .SYNOPSIS | |
| `Start-WindowsCleanup` cleans-up a system clutter and reclaims disk space. | |
| .DESCRIPTION | |
| The `Start-WindowsCleanup` cmdlet performs the following clean-up tasks to reclaim disk space: | |
| Clears the contents of common directories of the Windows file system for both the current running user and the global system that are used to store temporary, logging, backup, cache and dump files. |


