This file contains 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
import java.util.* | |
import kotlin.comparisons.compareBy | |
import kotlin.comparisons.thenBy | |
fun main(args: Array<String>) { | |
if (args.size == 0) { | |
println("Provide a Wikipedia page to fetch") | |
return | |
} | |
val apiEndpoint = "https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=json&titles=" + args[0] |
This file contains 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
/** | |
* Creates a new instance of Renderer with supplied references to folders. | |
* | |
* @param db The database holding the content | |
* @param destination The destination folder | |
* @param templatesPath The templates folder | |
* @param config | |
* @param renderingEngine The instance of DelegatingTemplateEngine to use | |
*/ | |
public Renderer(ContentStore db, File destination, File templatesPath, CompositeConfiguration config, DelegatingTemplateEngine renderingEngine) { |
This file contains 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
#include <Adafruit_NeoPixel.h> | |
#ifdef __AVR__ | |
#include <avr/power.h> | |
#endif | |
#define PIN 4 | |
#define NUM_LEDS 16 | |
#define BRIGHTNESS 25 |
I hereby claim:
- I am jonbullock on github.
- I am jonbullock (https://keybase.io/jonbullock) on keybase.
- I have a public key whose fingerprint is 53CF 77A4 0901 23B5 0351 65C3 6ACB F2EE DC33 2822
To claim this, I am signing this object:
This file contains 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"?> | |
<projectDescription> | |
<name>jbake-core</name> | |
<comment>JBake is a Java based open source static site/blog generator for developers. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment> | |
<projects/> | |
<buildSpec> | |
<buildCommand> | |
<name>org.eclipse.jdt.core.javabuilder</name> | |
</buildCommand> | |
<buildCommand> |
This file contains 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
title=AsciiDoc Test | |
type=post | |
tags=asciidoc | |
date=2013-07-29 | |
status=published | |
~~~~~~ | |
= Enjoy the magic of Asciidoctor in Java | |
Alex Soto | |
2013-04-18 | |
:revdate: 2013-04-18 21:43:51 -0600 |
This file contains 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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building CommaFeed 1.2.0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ commafeed --- | |
[INFO] Deleting /home/jon/tmp/commafeed-master/target | |
[INFO] | |
[INFO] --- git-commit-id-plugin:2.1.5:revision (default) @ commafeed --- |
This file contains 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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building CommaFeed 0.0.1-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ commafeed --- | |
[INFO] | |
[INFO] --- gmaven-plugin:1.5:execute (default) @ commafeed --- | |
[INFO] |
NewerOlder