A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| def load_gist(gist_id): | |
| """translate Gist ID to URL""" | |
| from json import load | |
| from urllib import urlopen | |
| gist_api = urlopen("https://api.github.com/gists/" + gist_id) |
| { | |
| "editor.minimap.enabled": false, // removes minimap | |
| "editor.renderWhitespace": "none", // removes whitespace chars | |
| "editor.renderIndentGuides": false, // removes indent guides | |
| "editor.renderLineHighlight": "none", // removes line highlight | |
| "editor.overviewRulerBorder": false, // removes border from overview ruler (located on the right, same position as the scrollbar) | |
| "editor.hideCursorInOverviewRuler": true, // hides cursor mark in the overview ruler | |
| "editor.folding": false, // removes the folding feature | |
| "editor.occurrencesHighlight": false, // removes highlights occurrences (still works when you select a word) | |
| "editor.matchBrackets": false, // removes the highlight of matching brackets (I use Subtle Match Brackets extension for this) |
Rollver daily todos is a really nice extension for Obsidian.md that takes TODOs from yesterdays daily notes and rolls them over to today's notes. It has support for Obsidians built-in templates, but does - to my understanding - not really work well with the Templater Plugin. At least, I was unable to get it to work :-). Also, I wished it had some way to tell me that TODOs have been rolled over a few times already. Doing it this way is my way of working around these limitations.
I took some of the code of that "rollover daily todos" plugin and made it into a templater user script.
You are an expert in prompt engineering, specializing in optimizing AI code assistant instructions. Your task is to analyze and improve the instructions for Claude Code. Follow these steps carefully:
Then, examine the current Claude instructions, commands and config <claude_instructions> /CLAUDE.md /.claude/commands/*