This guide shows how to integrate Magnific Popup without custom extensions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <metadata modelVersion="1.1.0"> | |
| <groupId>org.asciidoctor.maven</groupId> | |
| <artifactId>asciidoc-to-html-example</artifactId> | |
| <version>1.0.0-SNAPSHOT</version> | |
| <versioning> | |
| <snapshot> | |
| <localCopy>true</localCopy> | |
| </snapshot> | |
| <lastUpdated>20171013062755</lastUpdated> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class GlobIncludeProcessor < Asciidoctor::Extensions::IncludeProcessor | |
| def process doc, reader, target_glob, attributes | |
| # paths contains absolute paths | |
| paths = doc.attributes['paths'].nil? ? false : doc.attributes['paths'].split(',') | |
| # puts paths | |
| # puts '-------------' | |
| if paths | |
| paths.each do |p| | |
| path = File.join p, target_glob |
The asciidoctor-maven-plugin 2.0.0 introduces some breaking changes.
This guide will provide the steps required to update a project currently using 1.5.x or 1.6.x version to 2.x.x.
For each of the breaking changes, the motivation and new equivalent configuration will be offered.
|
Note
|
New configuration details are highlighted in bold. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This simple code, loops endlessly through the values of a pair of int value. | |
| * However, when running, the memory consumption increases up to 256,3M, at that moment it stabilizes for a while. | |
| * After a brief moment, memory increases to 257,3MB and stops there. | |
| * Env: Windows 10 + WSL + GraalVM 1.0.0-rc-15 | |
| */ | |
| public class MiniLauncher { | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # open terminal#cmd - return : open -a iTerm | |
| shift + alt - return : open -a iTerm | |
| # Place in corners | |
| shift + alt - 8 : yabai -m window --grid 2:2:1:0:1:1 | |
| shift + alt - 9 : yabai -m window --grid 2:2:1:1:1:1 | |
| shift + alt - 6 : yabai -m window --grid 2:2:0:0:1:1 | |
| shift + alt - 7 : yabai -m window --grid 2:2:0:1:1:1 | |
| # Move to screen & make full | |
| shift + alt - 1 : yabai -m window --display 1 && yabai -m display --focus 1 && yabai -m window --grid 1:1:0:0:1:1 |
OlderNewer