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 | |
cue vet sample.cue sample.yaml |
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
"""Extract the path of git URLs in a file system-friendly representation. | |
For example: | |
- `[email protected]:user/some/nested/repo.git` -> `user/some/nested/repo` | |
- `https://example.com/user/repo` -> `user/repo` | |
The output can be used to `git clone` into directories corresponding to the server path | |
automatically, e.g. `git clone $1 $(this-script $1)`, where $1 is some git URL. |
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
import asyncio | |
import datetime | |
from collections import deque | |
from dataclasses import dataclass | |
from itertools import count | |
from typing import NewType | |
Request = NewType("Request", str) | |
SINK: list[Request] = [] |
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
import logging | |
import subprocess as sp | |
import typing as t | |
import win32clipboard as wcb # `pip install pywin32` | |
logging.basicConfig(level=logging.DEBUG) | |
# Found these manually via "InsideClipboard". Doesn't seem to be documented anywhere. | |
MS_TEAMS_HTML_FORMAT_ID = 49309 |
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
3.11 |
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
FROM python:3.10.8-bullseye | |
RUN apt-get update && apt-get install --yes --no-install-recommends \ | |
python3-pyaudio=0.2.11-1.3+b1 \ | |
ffmpeg=7:4.3.5-0+deb11u1 | |
# Alternatively, use git+https://github.com/openai/whisper.git | |
RUN pip install --no-cache-dir \ | |
speechrecognition==3.9.0 \ | |
whisper.ai==1.0.0.1 |
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
{ | |
"valid-json": "but invalid schema" | |
} |
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 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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Alex Povel", | |
"label": "Software Engineer at Tiplu", | |
"email": "[email protected]", | |
"summary": "Highly driven, dependable and people-oriented backend software developer with proficiency in Python, git, Docker, Linux and Windows system administration, as well as the energy systems design and analysis domain. Bilingual (German, English).", | |
"location": { | |
"city": "Hamburg", | |
"countryCode": "DE", |
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
choco install --timeout=0 --yes ` | |
7zip ` | |
audacity ` | |
calibre ` | |
cpu-z ` | |
crystaldiskinfo ` | |
delta ` | |
directoryopus ` | |
discord ` | |
docker-desktop ` |