Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | `server` function: Set the default Content-Type to `text/plain` instead of ↵ | Mathias Bynens | 2011-12-31 | 1 | -1/+3 | |
| | | | | | | `application/octet-stream` Hat tip to @cowboy: https://github.com/cowboy/dotfiles/blob/2874a86d207883a18e5e4c01219f9adb42d82c09/bin/serve#L26-43 | |||||
* | `server`: Use parameter expansion instead of a fake ternary | Mathias Bynens | 2011-12-31 | 1 | -2/+1 | |
| | ||||||
* | Replace the `server` alias with a function that optionally takes an argument ↵ | Mathias Bynens | 2011-12-31 | 1 | -0/+7 | |
| | | | | | | specifying the port number Inspired by @padolsey’s https://gist.github.com/1525217#gistcomment-71652. | |||||
* | Allow piping to the `json` function | Mathias Bynens | 2011-12-28 | 1 | -2/+10 | |
| | ||||||
* | Use tabs instead of double-space indents | Mathias Bynens | 2011-12-28 | 1 | -8/+8 | |
| | ||||||
* | Add `unidecode` function | Mathias Bynens | 2011-12-28 | 1 | -0/+6 | |
| | | | | | | | Example: $ unidecode "\x{1D306}" 𝌆 | |||||
* | Add `escape` function which escapes UTF-8 characters into their 3-byte format | Mathias Bynens | 2011-12-27 | 1 | -0/+7 | |
| | | | | | | | | | Example: $ escape "♥♡♥" \xE2\x99\xA5\xE2\x99\xA1\xE2\x99\xA5 $ echo -e "\xE2\x99\xA5\xE2\x99\xA1\xE2\x99\xA5" ♥♡♥ | |||||
* | Make the `json()` function more generic by allowing any JSON string instead ↵ | Mathias Bynens | 2011-10-08 | 1 | -1/+1 | |
| | | | | of just JSON URLs. | |||||
* | Add `json` function. Example usage: `json ↵ | Mathias Bynens | 2011-09-29 | 1 | -3/+7 | |
| | | | | http://fronteers.nl/congres/2011/attendees.json` | |||||
* | Whitespace cleanup. | Mathias Bynens | 2011-09-05 | 1 | -1/+1 | |
| | ||||||
* | Initial commit. | Mathias Bynens | 2011-09-05 | 1 | -0/+15 | |