path:/home/dallen/[]
path:/etc/my.cnf[]
key:Enter[]
View the [source of this content](http://github.github.com/github-flavored-markdown/sample_content.html).
@ApplicationScoped | |
@Startup | |
public class StartupBean | |
{ | |
@PostConstruct | |
public void onStartup() | |
{ | |
System.out.println("Application starting up."); | |
} | |
} |
require 'asciidoctor-pdf' | |
require 'java' | |
java_import 'java.util.concurrent.Callable' | |
java_import 'java.util.concurrent.FutureTask' | |
java_import 'java.util.concurrent.LinkedBlockingQueue' | |
java_import 'java.util.concurrent.ThreadPoolExecutor' | |
java_import 'java.util.concurrent.TimeUnit' | |
class App | |
include Callable |
class File | |
class << self | |
def absolute_path? path | |
(path.start_with? '/') || (ALT_SEPARATOR && (path.start_with? (absolute_path path).slice 0, 3)) | |
end unless method_defined? :absolute_path? | |
end | |
end |
#!/usr/bin/bash | |
# GEM_VERSION=1.5.0.alpha.10 NEXT_GEM_VERSION=1.5.0.alpha.11.dev ./cut-release.sh -p | |
PUSH=false | |
while getopts "p" option; do | |
case $option in | |
p) PUSH=true ;; | |
esac | |
done |
#!/usr/bin/env ruby | |
if ARGV[0].nil? | |
$stderr.puts 'Must specify an input file' | |
exit 1 | |
end | |
source = IO.read(ARGV[0]) | |
title = nil |
require 'asciidoctor' | |
class MultipageHtml5Converter | |
include Asciidoctor::Converter | |
include Asciidoctor::Writer | |
register_for 'multipage_html5' | |
EOL = "\n" | |
def initialize backend, opts |