-
create a file in
/usr/local/bincalled "stupid" and add the content for "stupid" in this gist to the file. Alternatively you could do a wget. -
Set the file to executable by
chmod +x stupid
Now, the stupid command shoud be available anywhere.
| #!/bin/bash | |
| montage -tile 2x5 -mode concatenate -background transparent "images/*.*" sprite%05d.png | |
| optipng -o5 *.png |
| server { | |
| server_name _ {{domain}}; | |
| location / { | |
| proxy_pass http://localhost:{{port}}; | |
| } | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| } |