th0mcat

joined 2 years ago
[–] th0mcat@kbin.social 32 points 2 years ago

Finding the right time for r/place to return proved to be a challenge – but hey, what better time to offer a blank canvas to our communities than when our users and mods are at their most passionate… right?

This is the most blatantly obvious "please boost our subscriber numbers" statement I've ever seen without directly calling for it.

[–] th0mcat@kbin.social 1 points 2 years ago (1 children)

Oh I know my workaround is probably the worst possible correct answer for how to do this. Thanks for that, I'll give it a shot!

 

Howdy folks!

I spun up my own Mastodon today and quickly realized there was a 500 character limit to posts. I googled around, found some good guides and decided to make a quick bash script for it. Replace the below values inside the carrots with your settings.

#!/bin/bash -x

docker exec -it mastodon_web sed -i 's/500/<desired_#_of_chars>/g' /opt/mastodon/app/javascript/mastodon/features/compose/components/compose_form.js
docker exec -it mastodon_web sed -i 's/500/<desired_#_of_chars>/g' /opt/mastodon/app/validators/status_length_validator.rb
docker exec -it mastodon_web bundle exec rails assets:precompile
docker container restart <mastodon_web_container> <mastodon_streaming_container> <mastodon_sidekiq_container>

[–] th0mcat@kbin.social 14 points 2 years ago

Wow, people in this thread really have strong opinions about other people writing similar programs in different languages. Who cares? Why is more choice a bad thing?

[–] th0mcat@kbin.social 11 points 2 years ago

BeAmazed

no. fuck you.