Skip to content

Instantly share code, notes, and snippets.

Avatar

Rod Vagg rvagg

View GitHub Profile
View simpleRedLine.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View simpleRedLine_variations.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View a1p3.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View a1p4.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:854088
<fo:block>
<fo:instream-foreign-object>
##########################################
## Layout and cm/pixel conversions
##
## We roughly calibrate the pixel size of the SVG area so that font-size="X" matches the FOP font size in points,
## this also happens to work out at about 72dpi
#set ($widthCm = 16)
View gist:854124
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" height="14.629999999999997cm" width="16cm"
viewBox="0 0 453.6 414.7604999999999" font-family="sans-serif,sans" text-rendering="auto" preserveAspectRatio="xMidYMid meet" zoomAndPan="magnify"
fill="black" stroke-width="0" letter-spacing="-0.05em" font-size="9pt">
<g>
<text x="258.69375" y="6.75" font-style="italic" text-anchor="middle" font-size="8pt">Percentage of recommended daily intake</text>
<text x="99.22500000000001" y="17.8875" font-weight="bold" text-anchor="middle">0%</text>
<text x="258.69375" y="17.8875" font-weight="bold" text-anchor="middle">100%</text>
<text x="418.1625" y="17.8875" font-weight="bold" text-anchor="middle">200%</text>
View gist:854129
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" height="17.379999999999995cm" width="16cm"
viewBox="0 0 453.6 492.7229999999999" font-family="sans-serif,sans" text-rendering="auto" preserveAspectRatio="xMidYMid meet" zoomAndPan="magnify"
fill="black" stroke-width="0" letter-spacing="-0.05em" font-size="9pt">
<g>
<text x="258.69375" y="6.75" font-style="italic" text-anchor="middle" font-size="8pt">Percentage of recommended daily intake</text>
<text x="99.22500000000001" y="17.8875" font-weight="bold" text-anchor="middle">0%</text>
<text x="258.69375" y="17.8875" font-weight="bold" text-anchor="middle">100%</text>
<text x="418.1625" y="17.8875" font-weight="bold" text-anchor="middle">200%</text>
@rvagg
rvagg / ender.deferred.js
Created Nov 19, 2011 — forked from ded/ender.delay.js
ender deferred
View ender.deferred.js
!function ($) {
function deferred(exec) {
var mock = {}
, chain = []
, key
, $el = $(this)
, push = function (key) {
mock[key] = function () {
chain.push({ key: key, arguments: arguments })
return mock
@rvagg
rvagg / 2012-01-09-ender-roundup.md
Created Jan 9, 2012
DailyJS "Ender Roundup" #2, January 2011
View 2012-01-09-ender-roundup.md

layout: post title: "Ender Roundup: Swig, Traversty, NWMatcher, Ender-Overlay, Dagron" author: Rod Vagg categories:

  • ender
  • frameworks
  • modules
  • libraries
  • templating
@rvagg
rvagg / 2012-02-20-ender-roundup.md
Created Feb 20, 2012
DailyJS "Ender Roundup" #3, February 2011
View 2012-02-20-ender-roundup.md

layout: post title: "Ender Roundup: Radio.js, one.color, Hypher" author: Rod Vagg categories:

  • ender
  • frameworks
  • modules
  • libraries
  • pubsub
You can’t perform that action at this time.