Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | .functions: Tweak `targz` | Chen Cohen | 2013-05-08 | 1 | -1/+1 |
| | | | | | | | | Trim the trailing slash from the path argument passed to `targz`. This fixes the annoying behavior where `targz foo/` created `foo/.tar.gz` instead of `foo.tar.gz`. Ref. #202. | ||||
* | .functions: Improve `targz` | Mathias Bynens | 2013-05-01 | 1 | -8/+22 |
| | | | | | | | | * Only use `zopfli` when it’s available and if the `.tar` file is smaller than 50 MB. * Use `pigz` instead of `gzip` when it’s available. * Always exclude `.DS_Store` files when creating a tarball. Closes #199. | ||||
* | .functions: Avoid `rm` error message in `targz` when `gzip` is used | Mathias Bynens | 2013-04-29 | 1 | -1/+1 |
| | |||||
* | .functions: Add `targz` | Mathias Bynens | 2013-04-29 | 1 | -0/+14 |
| | | | | `targz some-directory` creates `some-directory.tar.gz`, where compression is handled by either `zopfli` (if available) or `gzip`. | ||||
* | .functions: Add `cdf` | Mathias Bynens | 2013-04-16 | 1 | -0/+5 |
| | | | | `cdf` changes the working directory to the top-most Finder window location. Thanks to @sindresorhus and @paulirish! | ||||
* | .functions: Print trailing newlines when not piping the output | Mathias Bynens | 2013-03-26 | 1 | -3/+12 |
| | |||||
* | Use newlines at EOF consistently | Mathias Bynens | 2013-03-10 | 1 | -1/+1 |
| | |||||
* | .functions: Improve `getcertnames` | Mathias Bynens | 2013-03-09 | 1 | -5/+5 |
| | | | | | | Follow-up to 12bb9dac8ee7f4bcdf3e74fcbc0455a04be0211f. Many thanks to @dserodio! | ||||
* | .functions: Add `getcertnames` | Mathias Bynens | 2013-03-08 | 1 | -0/+34 |
| | | | | | | This function shows all the names (CNs and SANs) listed in the SSL certificate for a given domain. As always, improvements and other feedback is welcome! | ||||
* | .functions: Add `calc` | alrra | 2013-01-06 | 1 | -0/+18 |
| | |||||
* | .functions: Make `gz` more awesome | Nicolas Gallagher | 2012-12-08 | 1 | -5/+6 |
| | |||||
* | .functions: Tweak `fs` | Dominik Porada | 2012-08-31 | 1 | -2/+2 |
| | |||||
* | .aliases: Add `gurl` for Gzip-enabled `curl` | Mathias Bynens | 2012-08-27 | 1 | -5/+0 |
| | | | | Ref. 1b3ed7a646de7a652f0596985af976a438e32aca. | ||||
* | .functions: Add `fs` | Dominik Porada | 2012-08-23 | 1 | -0/+14 |
| | | | | | | …and remove the `fs` alias from `.aliases`. Ref. #125. | ||||
* | .functions: Optimize `dataurl` | Mathias Bynens | 2012-08-23 | 1 | -1/+1 |
| | | | | Thanks to @lri: https://github.com/fin1te/dotfiles/commit/b8ce15ee91bc8658c27599347c376c30c6bfa1e1#commitcomment-1749202 | ||||
* | .bash_profile: Update `killall` Tab completion for OS X 10.8 | Nicolae Vartolomei | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | .functions: Add `phpserver` | Sindre Sorhus | 2012-08-07 | 1 | -0/+9 |
| | | | | Ref. #116. | ||||
* | .functions: Make `dataurl` more generic | Cãtãlin Mariş | 2012-08-07 | 1 | -3/+7 |
| | |||||
* | .functions: Rename `md` to `mkd` now that OS X 10.8 has an utility named `md` | Vasyl Nakvasiuk | 2012-08-04 | 1 | -1/+1 |
| | |||||
* | .functions: Add `note` and `remind` | Sindre Sorhus | 2012-07-31 | 1 | -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 Bynens | 2012-07-29 | 1 | -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 Bynens | 2012-07-27 | 1 | -1/+1 |
| | | | | started | ||||
* | .functions: Add `gz` function to get gzipped file size | Paul Irish | 2012-05-31 | 1 | -0/+8 |
| | |||||
* | .functions: Minor comment tweaks | Mathias Bynens | 2012-03-28 | 1 | -1/+1 |
| | |||||
* | Added newline after codepoint | Peter Kruithof | 2012-03-28 | 1 | -1/+2 |
| | |||||
* | Added codepoint function | Peter Kruithof | 2012-03-28 | 1 | -0/+5 |
| | |||||
* | .functions: Alias `diff` to `git diff` when available | Mathias Bynens | 2012-03-23 | 1 | -0/+8 |
| | |||||
* | .functions: Add `dataurl` function | Mathias Bynens | 2012-03-22 | 1 | -0/+5 |
| | | | | Based on @lri’s http://lri.me/profile. | ||||
* | .functions: Add `gurl` function for gzip-enabled `curl` | Mathias Bynens | 2012-03-15 | 1 | -0/+5 |
| | | | | Inspired by @bluesmoon: http://twitter.com/bluesmoon/status/179982379098710017 | ||||
* | `server` function: Serve everything as UTF-8 | Mathias Bynens | 2012-01-09 | 1 | -1/+2 |
| | | | | Even though this is not technically correct for binary files, it doesn’t actually break anything. | ||||
* | Better `json` function | Mathias Bynens | 2012-01-02 | 1 | -3/+1 |
| | | | | Ref. 9b0af44766d2a2cc61ae0142ac3ec9f0bed75674 | ||||
* | Serve unknown file types as UTF-8, as suggested by @janmoesen | Mathias Bynens | 2012-01-02 | 1 | -1/+1 |
| | |||||
* | `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 |