Skip to content

Instantly share code, notes, and snippets.

View Konafets's full-sized avatar

Stefano Kowalke Konafets

View GitHub Profile
@markhowellsmead
markhowellsmead / DownloadPDF.html
Created April 9, 2015 12:26
TYPO3: Link to a PDF in Fluid using a FAL field
# BE
<flux:field.inline.fal name="downloadFile" multiple="FALSE" allowedExtensions="pdf" />
# FE
<v:variable.set name="downloadFile" value="{v:content.resources.fal(field: 'downloadFile') -> v:iterator.first()}"/>
<a class="downlow" href="{downloadFile.url}">Download</a>
@jsuar
jsuar / d3 Packing Example
Created February 1, 2013 17:01
d3 packing example with squares and text.
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<style>
circle, rect {
stroke: #000;
fill-opacity: .1;
}
@dupuy
dupuy / README.rst
Last active March 31, 2025 05:11
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.