aboutsummaryrefslogtreecommitdiffstats
path: root/.functions
Commit message (Collapse)AuthorAgeFilesLines
* .functions: Add `calc`alrra2013-01-061-0/+18
|
* .functions: Make `gz` more awesomeNicolas Gallagher2012-12-081-5/+6
|
* .functions: Tweak `fs`Dominik Porada2012-08-311-2/+2
|
* .aliases: Add `gurl` for Gzip-enabled `curl`Mathias Bynens2012-08-271-5/+0
| | | | Ref. 1b3ed7a646de7a652f0596985af976a438e32aca.
* .functions: Add `fs`Dominik Porada2012-08-231-0/+14
| | | | | | …and remove the `fs` alias from `.aliases`. Ref. #125.
* .functions: Optimize `dataurl`Mathias Bynens2012-08-231-1/+1
| | | | Thanks to @lri: https://github.com/fin1te/dotfiles/commit/b8ce15ee91bc8658c27599347c376c30c6bfa1e1#commitcomment-1749202
* .bash_profile: Update `killall` Tab completion for OS X 10.8Nicolae Vartolomei2012-08-071-1/+1
|
* .functions: Add `phpserver`Sindre Sorhus2012-08-071-0/+9
| | | | Ref. #116.
* .functions: Make `dataurl` more genericCãtãlin Mariş2012-08-071-3/+7
|
* .functions: Rename `md` to `mkd` now that OS X 10.8 has an utility named `md`Vasyl Nakvasiuk2012-08-041-1/+1
|
* .functions: Add `note` and `remind`Sindre Sorhus2012-07-311-5/+43
| | | | | | `note` quickly adds a note to Notes.app, and `remind` adds a reminder to — you guessed it — Reminders.app. Both applications are available on OS X 10.8. Note that in order for `note` to work, iCloud sync must be enabled for Notes.app.
* .functions: Add `unquarantine` which force-removes a downloaded app or file ↵Mathias Bynens2012-07-291-0/+7
| | | | | | from the quarantine Thanks to @jasomill on Hacker News: http://news.ycombinator.com/item?id=4307379.
* .functions: Attempt to make `server` open the browser *after* the server has ↵Mathias Bynens2012-07-271-1/+1
| | | | started
* .functions: Add `gz` function to get gzipped file sizePaul Irish2012-05-311-0/+8
|
* .functions: Minor comment tweaksMathias Bynens2012-03-281-1/+1
|
* Added newline after codepointPeter Kruithof2012-03-281-1/+2
|
* Added codepoint functionPeter Kruithof2012-03-281-0/+5
|
* .functions: Alias `diff` to `git diff` when availableMathias Bynens2012-03-231-0/+8
|
* .functions: Add `dataurl` functionMathias Bynens2012-03-221-0/+5
| | | | Based on @lri’s http://lri.me/profile.
* .functions: Add `gurl` function for gzip-enabled `curl`Mathias Bynens2012-03-151-0/+5
| | | | Inspired by @bluesmoon: http://twitter.com/bluesmoon/status/179982379098710017
* `server` function: Serve everything as UTF-8Mathias Bynens2012-01-091-1/+2
| | | | Even though this is not technically correct for binary files, it doesn’t actually break anything.
* Better `json` functionMathias Bynens2012-01-021-3/+1
| | | | Ref. 9b0af44766d2a2cc61ae0142ac3ec9f0bed75674
* Serve unknown file types as UTF-8, as suggested by @janmoesenMathias Bynens2012-01-021-1/+1
|
* `server` function: Set the default Content-Type to `text/plain` instead of ↵Mathias Bynens2011-12-311-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 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