Pages

17 October 2022

A web server written in bash

I had wanted to try a web server written in bash for years, well the wish just came true with bashttpd available at  https://github.com/avleen/bashttpd     

It is pretty easy to use, you only need to download the script, make  it executable and launch it. There are several launch options, one single connection or accepting multiple connections. At launch time a default config file is created, bashttpd.conf, you can configure several things, especially the files you want to serve.     

In order to connect to the server, ie, to see the file it is serving use the address of the machine using port number 8080. For example if  the server has the following ip: 10.100.120.2 open a web browser and type http://10.100.120.2:8080 and that's it.     

Two important considerations here:

 - Never use it on the web, it is highly dangerous and insecure. Use it at home or in a private network (Its main use is for testing stuff)   

- "If anyone installs that anywhere, they might meet a gruesome end  with a rusty fork" --- BasHTTPd creator, maintainer    

 Enjoy it

16 October 2022

Peace

I was curious to know how the word "peace" was in Chinese. I searched the web and I found this: 

I think it is beautiful. So I decided to post it here.

Disclaimer: the image is not mine. And besides I don't even know if it really means "peace". I hope so. It's what we always need.

10 October 2022

I am so terribly sad

One of my uncles planted two white mulberry trees 90 or 100 years ago. They were so huge that everybody admired them. 

Several years ago one of them was so damaged by a storm that I had to cut it down. 

The one that was left was really awesome. But again several storms torn it to pieces so I had to grasp the chainsaw and well... 

I hope I can plant some new trees to replace them.

I am thinking about a magnolia and a mulberry tree.

Again. I hated having to cut them down, but I had no other choice. It was dangerous to be around in a wind storm.

Tronada in Agropienso

With the author and Jose Antonio Adell. 
(Saturday October 8th)

09 October 2022

The wait was worth it

The crop this year was very bad, as you know, due to the weather. 

However, watermelons made it in the end. I am grateful for that.

(It weighs 7-8 kg)

02 October 2022

Sopa de Cabra

What a great concert last night. Pure Rock and Roll