Skip to the relevant sections if needed.
| {% macro clone_prod_to_target(from) %} | |
| {% set sql -%} | |
| create schema if not exists {{ target.database }}.{{ target.schema }} clone {{ from }}; | |
| {%- endset %} | |
| {{ dbt_utils.log_info("Cloning schema " ~ from ~ " into target schema.") }} | |
| {% do run_query(sql) %} |
| { | |
| "emojis": [ | |
| {"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| import re | |
| import sys | |
| def c(i): | |
| """ |
| /** | |
| * USB HID Keyboard scan codes as per USB spec 1.11 | |
| * plus some additional codes | |
| * | |
| * Created by MightyPork, 2016 | |
| * Public domain | |
| * | |
| * Adapted from: | |
| * https://source.android.com/devices/input/keyboard-devices.html | |
| */ |
Starting point:
-
April 1, 2015 version of Dubliners AsciiDoc file: Dubliners_2814/2814.asciidoc at 43ca7fde5bcd543e9174c69bfd187f88d42d0044 · rdhyee/Dubliners_2814
-
to convert AsciiDoc to HTMLBook: rdhyee/asciidoctor-htmlbook at c28bb54943735fa474e94ae6e76b38b3ea72cea5. Note changes I've made to asciidoctor-htmlbook: Comparing oreillymedia:1c49c1db0c36434dcfab85d8357bba7e1a29846f...rdhyee:master · oreillymedia/asciidoctor-htmlbook
-
to convert HTMLBook to EPUB: use XSLT from the HTMLBook project. I've not had to make any changes from the main repo: [oreillymedia/HTMLBook at 547a4d356fb78189a7590a9bb7352ac0c723e525](https://github.com/oreillymedia/HTMLBook/tree/547a4d356fb78189a7590a9bb73
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
To recap Part 1, the Project Gutenberg metadate boils down to the following, expressed in YAML
# Project Gutenberg Metadata
pgterms:ebook:
url: http://www.gutenberg.org/ebooks/20728| require 'asciidoctor' | |
| class MultipageHtml5Converter | |
| include Asciidoctor::Converter | |
| include Asciidoctor::Writer | |
| register_for 'multipage_html5' | |
| EOL = "\n" | |
| def initialize backend, opts |
| This diff is a modified version of a diff written by Arnis Lapsa. | |
| [ The original can be found here: https://gist.github.com/ArnisL/6156593 ] | |
| This diff adds support to tmux for 24-bit color CSI SRG sequences. This | |
| allows terminal based programs that take advantage of it (e.g., vim or | |
| emacs with https://gist.github.com/choppsv1/73d51cedd3e8ec72e1c1 patch) | |
| to display 16 million colors while running in tmux. | |
| The primary change I made was to support ":" as a delimeter as well |