Ubuntu@VM-52-235-ubuntu:~$ curl https://getcaddy.com | bash -s personal http.filebrowse
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7380 100 7380 0 0 1976 0 0:00:03
大家好,我认为这是一个关于sinatra中定义的常量的错误,让我们看看我的代码。
route.rb
require 'sinatra'
get '/' do
C = "this is a test for constant"
"Hello World!"
end
Gemfile
source 'http://rubygems.org'
gem 'rack'
gem 'sinatra'
config.ru
require './route
当我从命令行启动gnuplot时,它会打印15行关于我通常不需要的信息。我怎么能压制他们?下面是一个例子:
myHost: ~ gnuplot
G N U P L O T
Version 4.4 patchlevel 0
last modified March 2010
System: Linux 2.6.34.10-0.6-desktop
Copyright (C) 1986-1993, 1998, 2004, 2007-2010
Thomas Williams, Colin Kelley a