mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 20:07:11 -07:00
Syntax highlighting.
This commit is contained in:
parent
c11be25ff8
commit
6b7427454a
105 changed files with 17571 additions and 91 deletions
11
sh/tests/webrick.rb
Normal file
11
sh/tests/webrick.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
require 'webrick'
|
||||
include WEBrick
|
||||
|
||||
s = HTTPServer.new(
|
||||
:Port => 2010,
|
||||
:DocumentRoot => Dir::pwd
|
||||
)
|
||||
s.mount('/sh/scripts', WEBrick::HTTPServlet::FileHandler, '../scripts')
|
||||
s.mount('/sh/styles', WEBrick::HTTPServlet::FileHandler, '../styles')
|
||||
trap('INT') { s.stop }
|
||||
s.start
|
Loading…
Add table
Add a link
Reference in a new issue