A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| server { | |
| listen 443 ssl http2 proxy_protocol; | |
| include /ssl.conf.include; | |
| ssl_certificate /etc/nginx/certs/main.crt; | |
| ssl_certificate_key /etc/nginx/certs/main.key; | |
| server_name example.org; |
| apply plugin: 'java' | |
| apply plugin: 'java-library-distribution' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| compile 'org.apache.commons:commons-lang3:3.3.2' | |
| } |
| # Type(<scope>): <subject> | |
| # <body> | |
| # <footer> | |
| # Type should be one of the following: | |
| # * feat (new feature) | |
| # * fix (bug fix) | |
| # * docs (changes to documentation) |
| /* | |
| Pure CSS ePub theme detection (White / Sepia / Night) in iBooks (Mac OS and iOS included) | |
| Version 1.1 | |
| Note that iBooks actually uses internal JavaScript to set the "__ibooks_internal_theme" attribute on :root (html) element | |
| every time the theme is changed, but this happens independently of whether your epub html markup is scripted or not. | |
| Discovered and tested in iBooks on Mac, iPhone and iPad by | |
| https://twitter.com/adaptivegarage | |
| */ |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |
| #!/bin/bash | |
| # | |
| # Example of how to parse short/long options with 'getopt' | |
| # | |
| OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
| if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
| echo "$OPTS" |
| This playbook has been removed as it is now very outdated. |
| [ | |
| { | |
| "hex": "#EFDECD", | |
| "name": "Almond", | |
| "rgb": "(239, 222, 205)" | |
| }, | |
| { | |
| "hex": "#CD9575", | |
| "name": "Antique Brass", | |
| "rgb": "(205, 149, 117)" |