aboutsummaryrefslogtreecommitdiffstats
path: root/.functions
Commit message (Collapse)AuthorAgeFilesLines
...
* `server`: Use parameter expansion instead of a fake ternaryMathias Bynens2011-12-311-2/+1
|
* Replace the `server` alias with a function that optionally takes an argument ↵Mathias Bynens2011-12-311-0/+7
| | | | | | specifying the port number Inspired by @padolsey’s https://gist.github.com/1525217#gistcomment-71652.
* Allow piping to the `json` functionMathias Bynens2011-12-281-2/+10
|
* Use tabs instead of double-space indentsMathias Bynens2011-12-281-8/+8
|
* Add `unidecode` functionMathias Bynens2011-12-281-0/+6
| | | | | | | Example: $ unidecode "\x{1D306}" 𝌆
* Add `escape` function which escapes UTF-8 characters into their 3-byte formatMathias Bynens2011-12-271-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 Bynens2011-10-081-1/+1
| | | | of just JSON URLs.
* Add `json` function. Example usage: `json ↵Mathias Bynens2011-09-291-3/+7
| | | | http://fronteers.nl/congres/2011/attendees.json`
* Whitespace cleanup.Mathias Bynens2011-09-051-1/+1
|
* Initial commit.Mathias Bynens2011-09-051-0/+15