Alesi's poison

just another blog about everything by Alesi

ANC headphones aren't here to completely stop the noise. Even the best of all can't do that. But they can make your experience of living in the world full of people much bearable. I am using them for years now, started on Sony WH-1000XM3 and never bought headphones without ANC again.

It's not about stopping all the noise

Really. It's more about lowering the worst noise. Screaming baby, humming of the bus engine, you get the point. Your nerves will love it!

But the true benefit comes when you start listening to your music on much lower volume. Your ears will thank you. Listening on extreme volumes is one thing many people still do trying to drown out the surrounding noise with music. Listening on high volumes causes premature hearing loss and tinnitus. But with ANC headphones, you can listen to low volumes and still hear every detail and enjoy your music fully basically anywhere.

Conclusion

I just wanted to spread the word and love for ANC headphones. That's basically it.

**** written by an idiot named Aleš... Nothing to see here

How cool would it be if you could just host anything straight from your home?

Old ages

Well, in the old ages, you would have to have public IP, solve the problem of port forwarding through your router, make sure your network is secure, take care of every aspect of the hosting, including installing and configuring every single thing like certificates for SSL and stuff like that...

Tedious work... Some of us did it anyway. But, man, was it pain in the pooper.

Today

Today you just install docker, you install cloudflared – software from Cloudflare, you run one docker run command, you setup your Cloudflare Tunnel to point into the docker and to some subdomain and voila. You are up and running in matter of minutes. Completed with SSL, caching right on Cloudflare's side. I am amazed.

This blog btw runs from my home server that I use for NAS and many other services.

I mean why not? Cloudflare will even show cached version of it if my computer goes to shit as it sometimes does and it's all free of charge.

Example – static server to serve my website

This is my statically made website alesi.cz.

Preparing your static server on docker

  1. Install and run docker desktop
  2. Create folder that will go public
  3. Run the docker run for static web server
  4. And maybe add some index.html into the directory and check that it shows on http://localhost:8787

Tunneling it to public through your own domain

  1. First buy domain. You can do it with Cloudflare or any other domain registrar you like, then you add that domain to Cloudflare as new website and you change the NS servers to those Cloudflare presents to you.
  2. Then you go to Zero Trust admin and there you select Network->Tunnels
  3. You add tunnel for your domain, you start it by following the instructions Cloudflare gives you, if it gives you option to do some migration just agree with anything.
  4. In tunnel configuration, just tunnel it to the localhost:8787 and voila, you are serving it to the world. And it created https certificates and all automatically.

How easy and awesome, right?

Well, it works for many other things, so feel free to experiment. I just don't think you should share big files through it if you are on the free version.

**** written by an idiot named Aleš... Nothing to see here