Skip to content
This repository

Mar 28, 2012

  1. Mathias Bynens

    .functions: Minor comment tweaks

    authored

Mar 23, 2012

  1. Mathias Bynens

    .functions: Alias `diff` to `git diff` when available

    authored

Mar 22, 2012

  1. Mathias Bynens

    .functions: Add `dataurl` function

Mar 15, 2012

  1. Mathias Bynens

    .functions: Add `gurl` function for gzip-enabled `curl`

    authored

Jan 09, 2012

  1. Mathias Bynens

    `server` function: Serve everything as UTF-8

    Even though this is not technically correct for binary files, it doesn’t actually break anything.
    authored

Jan 02, 2012

  1. Mathias Bynens

    Better `json` function

    Ref. 9b0af44
    authored
  2. Mathias Bynens

    Serve unknown file types as UTF-8, as suggested by @janmoesen

    authored

Dec 31, 2011

  1. Mathias Bynens

    `server` function: Set the default Content-Type to `text/plain` inste…

    authored
  2. Mathias Bynens

    `server`: Use parameter expansion instead of a fake ternary

    authored
  3. Mathias Bynens

    Replace the `server` alias with a function that optionally takes an a…

    …rgument specifying the port number
    
    Inspired by @padolsey’s https://gist.github.com/1525217#gistcomment-71652.
    authored

Dec 28, 2011

  1. Mathias Bynens

    Allow piping to the `json` function

    authored
  2. Mathias Bynens

    Use tabs instead of double-space indents

    authored
  3. Mathias Bynens

    Add `unidecode` function

    Example:
    
        $ unidecode "\x{1D306}"
        𝌆
    authored

Dec 27, 2011

  1. Mathias Bynens

    Add `escape` function which escapes UTF-8 characters into their 3-byt…

    …e format
    
    Example:
    
        $ escape "♥♡♥"
        \xE2\x99\xA5\xE2\x99\xA1\xE2\x99\xA5
        $ echo -e "\xE2\x99\xA5\xE2\x99\xA1\xE2\x99\xA5"
        ♥♡♥
    authored

Oct 08, 2011

  1. Mathias Bynens

    Make the `json()` function more generic by allowing any JSON string i…

    …nstead of just JSON URLs.
    authored

Sep 29, 2011

  1. Mathias Bynens

    Add `json` function. Example usage: `json http://fronteers.nl/congres…

    authored

Sep 05, 2011

  1. Mathias Bynens

    Whitespace cleanup.

    authored
  2. Mathias Bynens

    Initial commit.

    authored
Something went wrong with that request. Please try again.