Cadu Silva :v_github: on Nostr: here you go: ``` sed -i "s#note_length: { maximum: 500#note_length: { maximum: 800#g" ...
here you go:
```
sed -i "s#note_length: { maximum: 500#note_length: { maximum: 800#g" $WDIR/app/models/account.rb
sed -i "s#input_html: { maxlength: 500#input_html: { maxlength: 800#g" $WDIR/app/views/settings/profiles/show.html.haml
```
Set $WDIR to the folder where Mastodon is installed.
Published at
2024-05-21 14:48:16Event JSON
{
"id": "4d559a93cf0e1c4d731de3c375234c157bd1f699d7f1306dd77c29c148d51731",
"pubkey": "e44787c6047868878e28d0ff212ec7e8f6ae9fe29e929a5374cf9250c4f796f2",
"created_at": 1716302896,
"kind": 1,
"tags": [
[
"p",
"8240035a9f30abf3fd91387f32e922b6a1240df57fb21d9b267c1c87c65434da"
],
[
"e",
"16a2813e0e1976e36caac06d4936e12d4d7aeaf4744d47427e8570321db3e2f7",
"",
"root"
],
[
"proxy",
"https://bolha.one/@cadusilva/112479626639397748",
"web"
],
[
"proxy",
"https://bolha.one/users/cadusilva/statuses/112479626639397748",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://bolha.one/users/cadusilva/statuses/112479626639397748",
"pink.momostr"
]
],
"content": "here you go:\n\n```\nsed -i \"s#note_length: { maximum: 500#note_length: { maximum: 800#g\" $WDIR/app/models/account.rb\nsed -i \"s#input_html: { maxlength: 500#input_html: { maxlength: 800#g\" $WDIR/app/views/settings/profiles/show.html.haml\n```\n\nSet $WDIR to the folder where Mastodon is installed.",
"sig": "0d04bf19d29f41a541ee8598ece5beeef68c45f8752bf6f258e9f3404dac41799ae30902d95e06866e95c4cae335e4a45fc3af3a9881cfb00d5e90265271cd27"
}