Back to front pageView on Hacker News (opens in a new tab)Show HN: Host a Website in the URL (opens in a new tab)smolsite.zip602 pointsby acidx (on Hacker News)3 years agoI wrote this silly thing a couple of weeks ago. It's absolutely useless but it's a fun tech demo for my web server library. Enjoy!smolsite.zip (opens in a new tab)🗜 omg it's a smolsiteComments (181) 65 threadsShow all commentsShowing thread 24 of 65[-]resonious3 years ago1 reply#I see this a lot. Some unsolicited advice: you don't need cat for this kind of command: echo "https://smolsite.zip/`cat somesite.zip | base64 --wrap 0`" can become echo "https://smolsite.zip/`base64 --wrap 0 < somesite.zip`" - Really awesome project nonetheless!justusthane3 years ago#See "Useless Use of Cat" for more.
Show HN: Host a Website in the URL (opens in a new tab)smolsite.zip602 pointsby acidx (on Hacker News)3 years ago
resonious3 years ago1 reply#I see this a lot. Some unsolicited advice: you don't need cat for this kind of command: echo "https://smolsite.zip/`cat somesite.zip | base64 --wrap 0`" can become echo "https://smolsite.zip/`base64 --wrap 0 < somesite.zip`" - Really awesome project nonetheless!
Comments (181) 65 threads
Show all comments
Showing thread 24 of 65