lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

70
active users

#TipsAndTricks

1 post1 participant0 posts today

Just learned a neat new vim hack:

!xdg-open <cfile>

Got a http link under your cursor? PDF filename? Literally anything that xdg-open needs to know about?

^^^ :!xdg-open <cfile> will open it in your system browser.

Neato!

#vim#xdg#linux

📩 Whether at work, with friends or when shopping online - your e-mail is more than just a communications tool. It is your digital ID, the key to online services and often the first impression you make. A personal e-mail address creates trust and underlines your identity.

Find out in our blog how you can strengthen your digital presence with your own domain: mailbox.org/en/post/email-addr

#mailboxorg #OwnDomain #E-mailBrand #Identity #TipsAndTricks

Replied in thread

Should I Stay or Should I Go Now? 30 Days Until Martial Law...?
By Jessica Wildfire • 20 Mar 2025.
the-sentinel-intelligence.net/ (Kind of a salacious title, but unfortunately not impossible either.)

And she links (Safe Travel Trans Americans Passport Policy) 19thnews.org/2025/03/safe-trav
(TGNC Checklist under Trump) lambdalegal.org/tgnc-checklist

(Travel State gov page on passport help with sex marker) travel.state.gov/content/trave
(Reddit thread A Guide for Americans to Leave) reddit.com/r/AmerExit/comments

(SF Chronicle on the Insurrection Act) sfchronicle.com/opinion/openfo

"Meanwhile, corporate media asks, “Can he do that?” These stories are engineered to distract the public with technicalities. While everyone’s debating what they can and can’t do, they are doing it.

We know this administration’s pattern of loose interpretation when it comes to law and historical precedent. There’s no reason to believe he’ll stop here, instead using this act to use force against anyone his administration considers a threat, regardless of their status or what they’re protesting.

You also have to remember this country has a long, established history of censoring speech and leading witch hunts. During WWI, god help you if you didn’t buy enough liberty bonds or called yourself a pacifist.

We’re the land of moral panics.

Every single one of this administration’s actions have been building toward this moment, when the president suspends our civil and human rights. It explains why they’ve taken such aggressive action toward federal agencies, firing tens of thousands of workers and purging their ranks of anyone who might say no. They’ve already been testing boundaries, daring courts to stop them as they shut down government operations and kidnap U.S. citizens."

(some bullshit from an insecure asshole puppetted for power) whitehouse.gov/presidential-ac
(How to move out of the USA) forbes.com/sites/laurabegleybl

The Sentinel-Intelligence · Should I Stay or Should I Go Now? 30 Days Until Martial Law...?It could happen.
#politics#pol#US
After seeing
Improving snac Performance with Nginx Proxy Cache from @itnotes@snac.it-notes.dragas.net via
https://snac.it-notes.dragas.net/itnotes/p/1738139676.258050
https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/
I decided to prematurely optimize and adjust this for my apache2 httpd server in debian where I run snac.

I've never done any caching etc before so it was a nice adventure to learn something new. The documentation helped and in the end it wasn't very hard. I learned a bit about some http headers and regex on the way too.

Basically it works like this:
Enable the relevant modules:

´a2enmod expires cache cache_disk´

Be sure "htcacheclean" is running to clean up old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service)
Then add to the snac virtualhost config:
    CacheRoot /var/cache/apache2/mod_cache_disk
CacheQuickHandler off
CacheLock on
#Optional while testing stuff;
CacheDetailHeader on

#My Instance ist not at the root, but under "/social"; so this needs to be adapted:
<LocationMatch "^/social/[^/]+/s">
CacheEnable disk
ExpiresActive On
ExpiresDefault "access plus 30 days"
</LocationMatch>
This will use the disk cache to cache everything under the /s/ Path, same as the original ngnix tutorial, Utilizing the mod_expires to generate the appropriate cache headers (for lazy ones like me), In this case caching it for 30 days.
Further reading and all options explained under https://httpd.apache.org/docs/2.4/caching.html ff

Thanks for the initial tutorial @itnotes@snac.it-notes.dragas.net

Edit:
Oh and don't hesitate to tell me what I did stupid while setting this up, maybe in nicer words, if it is. And also I can't get the markdown Code formatting working apparently. well. Sorry for all the edits.

#Fediverse #Hosting #ITNotes #Networking #apache2 #httpd #Ownyourdata #Server #Snac #Snac2 #Social #Tipsandtricks #Tutorial #Web #Debian
snac.it-notes.dragas.netIT Notes (@itnotes@snac.it-notes.dragas.net)2 following, 85 followers · **Improving snac Performance with Nginx Proxy Cache** https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/ #Data #Fediverse #Freebsd #Hosting #ITNotes #Networking #Nginx #NoteHUB #Ownyourdata #Server #Snac #Snac2 #Social #Tipsandtricks #Tutorial #Web