- Use the
Content-Lengthheader - If this is 0, then exit.
HTTPBinaryFile is a class which extends BinaryFile.
BinaryFile being a generic class which handles binary file data.
| const iconPlugin = { | |
| iconPlugin: { | |
| type: 'perItem', | |
| fn: item => { | |
| if (item.elem) { | |
| item.eachAttr(attr => { | |
| if ([ 'fill', 'stroke' ].indexOf(attr.name) > -1) { | |
| // if (attr.value === '#000') { | |
| // attr.value = 'currentColor'; | |
| // } else if (attr.value === '#F00') { |
| defmodule App.GraphQL.Helpers do | |
| alias GraphQL.Type.{ID, List} | |
| def build_definition(model, :single) do | |
| %{ | |
| type: build_type(model), | |
| args: %{ id: %{ type: ID }}, | |
| resolve: &model.resolve/3, | |
| } | |
| end |
| { | |
| "quotes": [ | |
| { | |
| "quote": "No great thing is created suddenly.", | |
| "author_cid": 1 | |
| } | |
| ], | |
| "authors": [ |
Ordered by awesomeness.
note:
Some of these are just svg files, but you can
turn them into a font by using, for example, Icomoon.