aboutsummaryrefslogtreecommitdiffstats
path: root/.functions
Commit message (Collapse)AuthorAgeFilesLines
* Remove some things that I don’t useMathias Bynens2014-06-071-167/+90
| | | | This commit drops some aliases, functions, and settings from the project that I wasn’t using at all. It also cleans up some of the remaining code.
* .functions: Make `gi` accept any number of argumentsCătălin Mariș2014-04-151-2/+1
| | | | Closes #367.
* .functions: Add `a` alias for `atom`Christian Gärtner2014-03-041-0/+10
| | | | Closes #349.
* .functions: Make `np` remove `node_modules`Sindre Sorhus2014-01-091-0/+1
| | | | | | This lets you catch cases where you forgot to add a dependency to `package.json`. Closes #321.
* .functions: Add `tre` shorthandgregstallings2013-10-231-0/+8
| | | | Closes #249.
* Add `np` function to ease publishing node modulesSindre Sorhus2013-10-221-0/+12
| | | | | | | | I use this to ease the publishing of npm modules. `np`, done ;) np = npm publish (and, `no problem`, (and `nutella party`)) Closes #261.
* .functions: Add `o` to `open` stuffgregstallings2013-09-231-0/+10
| | | | Closes #245.
* .functions: Add `v` to open stuff in Vimgregstallings2013-09-211-2/+13
| | | | Closes #251.
* .functions: Add `s` to open stuff in Sublime Textgregstallings2013-09-211-0/+9
| | | | Closes #252.
* .functions: Add `m` to open stuff in TextMategregstallings2013-09-211-0/+10
| | | | Closes #253.
* .functions: Add `gitio`Mathias Bynens2013-06-031-0/+9
| | | | Closes #210.
* .functions: Improve `httpcompression` and move it to its own fileCãtãlin Mariş2013-05-101-6/+0
| | | | Closes #162.
* .functions: Improve `note`Sindre Sorhus2013-05-101-8/+10
| | | | | | Give the Notes.app function the ability to add both `title` and `body`. Closes #203.
* .functions: Add `gi`Sindre Sorhus2013-05-101-0/+7
| | | | | | | | | This is an easy way to install Grunt plugins and add them as `devDependencies` to `package.json`. Example: gi contrib-watch contrib-uglify zopfli Closes #191.
* .functions: Tweak `targz`Chen Cohen2013-05-081-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 Bynens2013-05-011-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 usedMathias Bynens2013-04-291-1/+1
|
* .functions: Add `targz`Mathias Bynens2013-04-291-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 Bynens2013-04-161-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 outputMathias Bynens2013-03-261-3/+12
|
* Use newlines at EOF consistentlyMathias Bynens2013-03-101-1/+1
|
* .functions: Improve `getcertnames`Mathias Bynens2013-03-091-5/+5
| | | | | | Follow-up to 12bb9dac8ee7f4bcdf3e74fcbc0455a04be0211f. Many thanks to @dserodio!
* .functions: Add `getcertnames`Mathias Bynens2013-03-081-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`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
|