This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Scrapes documentation from a URL and converts it to Markdown suitable for aider convention files | |
# to provide context to the LLM. | |
if [ $# -eq 0 ]; then | |
echo "Usage: $(basename "$0") <URL> [URL...]" | |
echo | |
echo "Generate aider 'convention' Markdown context from documentation URLs." | |
echo "suitable for providing LLM context about a project's conventions and style." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hexagonal Architecture Explained (Cockburn, Alistair) | |
- Deine Markierung auf Seite 112 | bei Position 1300-1301 | Hinzugefügt am Donnerstag, 22. August 2024 18:10:53 | |
My highlight in Deutsch | |
========== | |
Hexagonal Architecture Explained (Cockburn, Alistair) | |
- Deine Notiz auf Seite 112 | bei Position 1300 | Hinzugefügt am Donnerstag, 22. August 2024 18:10:53 | |
My note in Deutsch | |
========== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This gist contains the solution for | |
Day 5 of Advent of Code 2023 (https://adventofcode.com/2023/day/5). | |
I first wrote it on version 3.11 and then ported it | |
to earlier versions to see how the language evolved. | |
Below is the listing for version 3.11 | |
""" | |
from __future__ import annotations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<yandex> | |
<mysql_config> | |
<port>3306</port> | |
<user>user</user> | |
<password>123</password> | |
<replica> | |
<host>mysql_host</host> | |
<priority>1</priority> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: all | |
all: help | |
COMMITS_COUNT := 30 | |
.PHONY: whats-new | |
whats-new: ## Get info about last tag | |
$(eval LAST_TAG := $(shell git describe --abbrev=0 --tags)) | |
$(eval PREV_TAG := $(shell git describe --abbrev=0 --tags $(LAST_TAG)^ 2>/dev/null || [ ])) | |
$(eval TAGS := $(if $(PREV_TAG),$(PREV_TAG)..$(LAST_TAG),$(LAST_TAG))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# Config | |
### | |
GITCONFIG=https://gist.githubusercontent.com/yakimka/2642f68bb40b247e13d39f9cf0ac3ea3/raw/.gitconfig | |
GITEXCLUDES=https://gist.githubusercontent.com/yakimka/2642f68bb40b247e13d39f9cf0ac3ea3/raw/.gitexcludes | |
GITCONFIG_LOCATION=~/.gitconfig | |
GITEXCLUDES_LOCATION=~/.gitexcludes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $ ipython profile create | |
# $ cat ~/.ipython/profile_default/startup/python_interp_prompt.py | |
from IPython.terminal.prompts import Prompts, Token | |
import os | |
class PythonShellPrompt(Prompts): | |
def in_prompt_tokens(self, cli=None): | |
return [(Token.Prompt, '>>> ')] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions | |
*.so | |
# Distribution / packaging | |
.Python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = {{git_name}} | |
email = {{git_email}} | |
[core] | |
editor = nano | |
excludesfile = ~/.gitexcludes | |
[alias] | |
pall = !git push --all && git push --tags | |
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /your/root/path; | |
index index.html; | |
server_name you.server.com; |
NewerOlder