@jwz yaml could be a good target for this too since it canonically supports references and ways to modify referenced data.

this python

print('a0: &t0')
print(' f0: v0')

for x in range(33):
print(f'a{x+1}: &t{x+1}')
print(f' <<: *t{x}')
if x > 2:
print(f' <<: *t{x-1}')
print(f' f{x+1}: v{x+1} #override')
print(f' g{x+1}: w{x+1} #override')

generates a yaml file that takes a while to load in python's yaml parser:

$ time python3 tl.py

real 0m31.946s
user 0m31.629s
sys 0m0.286s

40 steps gets the python interpreter over 5 gig (i'm too lazy to run this to completion) using just 2872 bytes of input.

Random Old Comic: Obscure OTFCC 2003 Reference https://www.toyboxcomix.com/2019/03/04/obscure-otfcc-2003-reference/ Obscure OTFCC 2003 Reference #HotShot #OptimusPrime #Override #Transformers

RE: https://mstdn-dev.feddit.social/@admin/115710632537816386

mstdn-dev.feddit.social实现了字数限制修改:500——5000
测试无误,接下来将实装在mstdn.feddit.social(本站)

感谢教程:https://somincola.org/blog/modify-mastodon-character-limit_2024-12-18/

所有操作在宿主机上
1. /opt/mastodon/替换为你使用的mastodon主目录
2. 当字数超过500时,字数限制显示的UI才会更新为5000
3. docker compose build docker compose down docker compose up -d 建议改为 docker compose build && docker compose down && docker compose -d
4. docker-compose.override.yml只需写service、修改的service、build、image

#mastodon #docker #override #yaml #blog #mstdn

@cks @davefischer I've usually done this via Xterm keybindings – it has a built-in action to spawn itself, and automatically detects the child shell's cwd.

XTerm*VT100.translations: #override \n\
Shift Ctrl <Key>C: copy-selection(CLIPBOARD) \n\
Shift Ctrl <Key>V: insert-selection(CLIPBOARD) \n\
Shift Ctrl <Key>N: spawn-new-terminal() \n

#OpenBSD folk that use Xterm I have a strange problem that when i highlight text say from the output of fastfetch and then paste it I get weird extras on the end , sometimes with what looks like font names that I don't use.

I pasted my laptops model number and it showed up as this 20Y1000SUKp-_g^O^C when it should have been just what I highlighted 20Y1000SUK
This is supposed to be /usr/X11R6 when pasted shows as /usr/X11R6Lohit Tamil

My .Xresources is below.

XTerm*termName: xterm-256color
XTerm*locale: true
XTerm*highlightSelection: true
XTerm*trimSelection: true
XTerm*saveLinew: 4096
XTerm*scrollBar: false
XTerm*cursorBlink: true
XTerm.VT100.utf8: true
XTerm*allowScrollLock: true

! Xcursor theme
Xcursor.theme: Adwaita
Xcursor.size: 24

! Font
XTerm*faceName: Go Mono Nerd Font Mono
XTerm*renderFont: true
XTerm*faceSize: 10

Xft.dpi: 96

XTerm*keepClipboard: true
XTerm*selectToClipboard: true
XTerm*VT100.Translations: #override \n\
Ctrl Shift <KeyPress>C: copy-selection(CLIPBOARD) \n\
Ctrl Shift <KeyPress>V: insert-selection(CLIPBOARD)

! Clicking a line selects only from the current word forward
XTerm*cutToBeginningOfLine : false
! and dont include a trailing newline in the selection!
XTerm*cutNewline : false
! Some black magic to change what characters XTerm considers "word delimiters"
XTerm*charClass : 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
! Select word on two clicks
XTerm*on2Clicks : word
! Select whole line on three clicks
XTerm*on3Clicks : line
! Select whole group on four clicks
XTerm*on4Clicks: group
! Select whole page on five clicks
XTerm*on5Clicks: page

! Gruvbox theme
XTerm*background: #262626
XTerm*foreground: #ebdbb2
XTerm*color0: #262628
XTerm*color8: #928374
XTerm*color1: #CC241D
XTerm*color9: #fb4934
XTerm*color2: #98971a
XTerm*color10: #b8bb26
XTerm*color3: #FF8F15
XTerm*color11: #FFAF00
XTerm*color4: #458588
XTerm*color12: #83a598
XTerm*color5: #b16286
XTerm*color13: #d3869b
XTerm*color6: #689d6a
XTerm*color14: #8ec07c
XTerm*color7: #a89984
XTerm*color15: #ebdbb2
Override (1990) (Shoot Em Up) (PC Engine) [GAMEPLAY] [EN] [HD]

YouTube

I've added more modifier variations!

You can now set string as body content, automatically setting the #ContentType to text/plain. Additionally, if you wish to #override all the headings saved in the configuration, you now have that opportunity! 💡

#BuildInPublic #SwiftPackage