Hacker News new | ask | show | jobs
by pdkl95 2055 days ago
> screenshot (in use): https://clbin.com/OEh1h

    $ HEAD https://clbin.com/OEh1h | grep Content-Type
    Content-Type: text/html; charset=UTF-8
The webserver is sending the image with the wrong content type, which makes some browsers (like mine) display the file as text. Viewing the file locally as a png works fine, but the browser only knows it's a png from the HTTP Content-Type header.

> I am hoping to improve ... reducing the overall complexity

I wish more projects had this goal.

    LDLIBS = -lm
    ALL_LDFLAGS = $(LDFLAGS) $(LIBS) -lxcb -lxcb-keysyms
The runtime deps - like the wm screenshot - are beautifully simple.
2 comments

thanks! I spent quite a bit of time stripping out as many dependencies as i could.

will update the screenshot link shortly.