摘要:sinatra 是ruby的一个web框架http://www.sinatrarb.com/安装(可以使用taobao的镜像)gem install sinatrahello world# hello.rb require 'sinatra' get '/' do 'Hello world!' end启动ruby -rubygems first.rb查看localhost:4567
阅读全文
摘要:txt2tags网站:http://txt2tags.org/示例:http://txt2tags.org/zh/sample-zh.html(看这个就能很快熟悉相关语法了)教程:http://txt2tags.org/zh/manpage-zh.htmlTXT2TAGS学习bluefrog(bluefrog.wu@gmail.com)%%date(%m-%d-%Y)%!encoding:utf-8%!Target:html= 一级标题 === 二级标题 ===== 三级标题 ==== 字体美化 =**加重效果**/斜体效果/__下划效果__/**__叠加效果__**/bluefrog.wu@
阅读全文
摘要:1.在erlang shell中编译运行1 -module(hello).2 -export([start/0]).3 4 start() ->5 io:format("Hello world~n").erlErlang R14B03 (erts-5.8.4) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]Eshell V5.8.4 (abort with ^G)1> c(hello).{ok,hello}2> hello:module_info/0 module
阅读全文