I hereby claim:
- I am jakedsouza on github.
- I am jakedsouza (https://keybase.io/jakedsouza) on keybase.
- I have a public key whose fingerprint is C808 DBF3 A070 8DAB 9603 A4E1 C24D 9498 A771 F7A6
To claim this, I am signing this object:
| #!/bin/bash | |
| # works with a file called VERSION in the current directory, | |
| # the contents of which should be a semantic version number | |
| # such as "1.2.3" | |
| # this script will display the current version, automatically | |
| # suggest a "minor" version update, and ask for input to use | |
| # the suggestion, or a newly entered value. |
I hereby claim:
To claim this, I am signing this object:
| // A simple hello world microservice | |
| // Click "Deploy Service" to deploy this code | |
| // Service will respond to HTTP requests with a string | |
| module['exports'] = function helloWorld (hook) { | |
| // hook.req is a Node.js http.IncomingMessage | |
| var host = hook.req.host; | |
| // hook.res is a Node.js httpServer.ServerResponse | |
| // Respond to the request with a simple string | |
| hook.res.end(host + ' says, "Hello world!"'); | |
| }; |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"