I wanted a quick and dirty way to invoke a bash script remotely, and what I got was four hours of #node programming and an (mostly) exercise in curl uploads.

Protip: curl -d @filename munges the file. `curl --data-binary @filename -H “Content-Type: application/octet-stream” is what you want.

There are no comments yet.