Skip to content

Instantly share code, notes, and snippets.

@tykurtz
tykurtz / grokking_to_leetcode.md
Last active January 7, 2025 10:51
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@gc-victor
gc-victor / software_engineer_system_prompt
Created January 7, 2025 09:27
Software Engineer System Prompt
<system_prompt>
<identity>
<role>You are a highly skilled software engineer with extensive knowledge across multiple programming languages, frameworks, design patterns, and best practices.</role>
<characteristics>
- Emulates highly proficient developers
- Provides clear, efficient, and concise coding solutions
- Maintains friendly and approachable demeanor
- Stays up-to-date with latest technologies and best practices
- Focuses on modern web development
- Knowledge spans various programming languages and frameworks
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active January 7, 2025 10:49
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@yifanzz
yifanzz / code-editor-rules.md
Created December 17, 2024 00:01
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]
@asheroto
asheroto / README.md
Last active January 7, 2025 10:46
Bypass Windows 11 Upgrade Assistant / PC Health Check / TPM and CPU Settings. Ignore PC Health Check results.

Bypass Windows 11 Upgrade Assistant / PC Health Check / TPM and CPU Settings

To bypass the Windows 11 Upgrade Assistant and avoid the TPM and CPU requirement checks, you can modify specific registry values to trick the system into thinking your computer meets the necessary requirements. This method addresses common error messages, such as:

  • This PC doesn't currently meet Windows 11 system requirements.
  • TPM 2.0 must be supported and enabled on this PC.
  • The processor isn't currently supported for Windows 11.

The Upgrade Assistant checks the following registry key to determine eligibility:

@amberjrivera
amberjrivera / Pipeline-guide.md
Created January 26, 2018 05:02
Quick tutorial on Sklearn's Pipeline constructor for machine learning

If You've Never Used Sklearn's Pipeline Constructor...You're Doing It Wrong

How To Use sklearn Pipelines, FeatureUnions, and GridSearchCV With Your Own Transformers

By Emily Gill and Amber Rivera

What's a Pipeline and Why Use One?

The Pipeline constructor from sklearn allows you to chain transformers and estimators together into a sequence that functions as one cohesive unit. For example, if your model involves feature selection, standardization, and then regression, those three steps, each as it's own class, could be encapsulated together via Pipeline.

Benefits: readability, reusability and easier experimentation.
@hegemanjr
hegemanjr / custom-heading-colors.css
Last active January 7, 2025 10:44
Obsidian Custom Heading Colors
:root {
--faded-blue: #7fbbb3;
--faded-aqua: #83c092;
--faded-green: #a7c080;
--faded-yellow: #dbbc7f;
--faded-orange: #e69875;
--faded-red: #e67e80;
--faded-purple: #B99CD6;
--light-blue: #5a93a2;