Sha256: 7a95a735c4d4ab709310008df610ba4bca9cf2aa55538acc18f72226537c65d7
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 KB
Contents
// .basic ---- echo -n "Please enter your name: " read name echo "Hello, $name!" ---- // .basic-with-title .Reading user input ---- echo -n "Please enter your name: " read name echo "Hello, $name!" ---- // .basic-nowrap [options="nowrap"] ---- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ---- // .basic-with-id-and-role [#code.example] ---- echo -n "Please enter your name: " read name echo "Hello, $name!" ---- // .source [source] ---- 5.times do print "Odelay!" end ---- // .source-with-title [source] .Odelay! ---- 5.times do print "Odelay!" end ---- // .source-with-language [source, ruby] ---- 5.times do print "Odelay!" end ---- // .source-nowrap [source, java, options="nowrap"] ---- public class ApplicationConfigurationProvider extends HttpConfigurationProvider { public Configuration getConfiguration(ServletContext context) { return ConfigurationBuilder.begin() .addRule() .when(Direction.isInbound().and(Path.matches("/{path}"))) .perform(Log.message(Level.INFO, "Client requested path: {path}")) .where("path").matches(".*"); } } ----
Version data entries
5 entries across 5 versions & 1 rubygems