In case one wants to include backticks in code, need to surround with longer surrounding backticks: https://daringfireball.net/projects/markdown/syntax#code
Test code:
code
code
code
In case one wants to include backticks in code, need to surround with longer surrounding backticks: https://daringfireball.net/projects/markdown/syntax#code
Test code:
code
code
code
FROM alpine:latest | |
RUN apk add --no-cache curl xz | |
RUN addgroup -S nixbld && adduser -S -G nixbld nix | |
RUN mkdir -m 0755 /nix && chown nix /nix | |
USER nix | |
RUN curl -L https://nixos.org/nix/install | sh | |
ENV USER=nix | |
ENV PATH=/home/nix/.nix-profile/bin:$PATH |
# https://github.com/paul-gauthier/aider or when working on a patch on fork: | |
docker build --file docker/Dockerfile -t aider-image . | |
# to launch pytest: | |
docker run -it --volume $(pwd):/app --entrypoint /bin/bash aider-image -c "pip install pytest && pytest" |
Here I am exploring possiblities of uaing programmatically invoiced aider chat for exploration of graph conversations ala https://github.com/paradigmxyz/flux but in programmatic way.
Here we have log of
aider
invoiced programmatically
#!/usr/bin/env python3 | |
import ftfy, sys | |
with open(sys.argv[1], mode='rt', encoding='utf8', errors='replace') as f: | |
for line in f: | |
sys.stdout.buffer.write(ftfy.fix_text(line).encode('utf8', 'replace')) | |
#print(ftfy.fix_text(line).rstrip().decode(encoding="utf-8", errors="replace")) |
how tu setup pulseaudio->streaming via cvlc
(command line vlc -> so should simmilarily work with gui version (in my case don't)):
https://superuser.com/a/1021823/81861
get pulseaudio source from list:
pactl list | grep "Monitor Source"
and assign to P
, e.g. in my case it's usually:
# https://dev.to/mattdark/using-docker-as-provider-for-vagrant-10me | |
FROM ubuntu | |
ENV TZ=America/Mexico_City | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN apt-get update -y | |
RUN apt-get install -y --no-install-recommends ssh sudo |
$ cat Dockerfile | |
FROM archlinux:latest | |
# https://www.phind.com/agent?cache=clmesdgxc0008l108fa63vep6 | |
# $ docker build -t my_archlinux . | |
RUN pacman -Syu --noconfirm \ | |
&& pacman -S --noconfirm vim htop pv neovim rustup tmux screen | |
$ cat Vagrantfile |
Tweet: https://twitter.com/GWierzowiecki/status/1701162675084947892
A decentralized system is envisioned wherein fractional owners of a portfolio contribute to decision-making regarding the distribution of funds among tokens. As a simple example, consider tokens named A, B, C, D...
#!/bin/bash | |
# KDE Foreground Window Launcher for Firefox Profiles: | |
# A bash script that temporarily disables KDE's Focus Steal Prevention, | |
# ensuring your chosen Firefox profile launches in the foreground | |
# with focus - perfect for keyboard shortcuts. | |
# | |
# Launch FireFox using specified profile | |
# while disabling KDE's FocusSealingPrevention feature temporarily | |
# so Firefox can open new window as Foreground and grab focus. |