我在执行命令时遇到错误
ffmpeg -i /path/to/video.mp4
:
ffmpeg version git-2012-07-24-93342de Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 24 2012 23:55:41 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configuration: --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-swscale --enable-vdpau --enable-version3 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab
libavutil 51. 65.100 / 51. 65.100
libavcodec 54. 44.100 / 54. 44.100
libavformat 54. 20.100 / 54. 20.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 3.100 / 3. 3.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 …
Run Code Online (Sandbox Code Playgroud) ensure you can run `$ bundle exec rake -P` against your app with no environment variables present
and using the production group of your Gemfile.
This may be intentional, if you expected rake tasks to be run
cancel the build (CTRL+C) and fix the error then commit the fix:
rake aborted!
Run Code Online (Sandbox Code Playgroud)
我没有任何我想自动运行的rake任务.我应该忽略这个警告吗?
OSX 10.6.8,GCC 4.2 86_64
#include <stdio.h>
/* count lines in input */
main()
{
int c, nl;
nl = 0;
while ((c = getchar()) != EOF)
if (c == '\n')
++nl;
printf("%d\n", nl);
}
Run Code Online (Sandbox Code Playgroud)
跑
./a.out
Run Code Online (Sandbox Code Playgroud)
按ctrl+d
发送EOF
0D
Run Code Online (Sandbox Code Playgroud)
它应该只是0.为什么它附加D?这是什么意思?
httperf ... --rate=20 --send-buffer=4096 --recv-buffer=16384 --num-conns=100 --num-calls=10
Run Code Online (Sandbox Code Playgroud)
在nginx上按预期提供1000个请求.
Total: connections 100 requests 1000 replies 1000 test-duration 5.719 s
Connection rate: 17.5 conn/s (57.2 ms/conn, <=24 concurrent connections)
Connection time [ms]: min 699.0 avg 861.3 max 1157.5 median 840.5 stddev 119.5
Connection time [ms]: connect 56.9
Connection length [replies/conn]: 10.000
Request rate: 174.8 req/s (5.7 ms/req)
Request size [B]: 67.0
Reply rate [replies/s]: min 182.0 avg 182.0 max 182.0 stddev 0.0 (1 samples)
Reply time [ms]: response 80.4 transfer 0.0
Reply …
Run Code Online (Sandbox Code Playgroud) -----> Ruby/Rack app detected -----> Using Ruby version: ruby-1.9.3 -----> Installing dependencies using Bundler version 1.3.0.pre.2 Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ Fetching gem metadata from http://rubygems.org/......... Fetching gem metadata from http://rubygems.org/.. ^[[C^[[D^[[D/app/slug-compiler/lib/utils.rb:66:in `block (2 levels) in spawn': command='/app/slug-compiler/lib/../../tmp/buildpacks/ruby/bin/compile /tmp/build_22uiq5k0q45sp /app/tmp/repo.git/.cache' exit_status=0 out='' at=timeout elapsed=900.1076555252075 (Utils::TimeoutError) from /app/slug-compiler/lib/utils.rb:52:in `loop' from /app/slug-compiler/lib/utils.rb:52:in `block in spawn' from /app/slug-compiler/lib/utils.rb:47:in `popen' from /app/slug-compiler/lib/utils.rb:47:in `spawn' from /app/slug-compiler/lib/buildpack.rb:37:in `block in compile' from /app/slug-compiler/lib/buildpack.rb:35:in `fork' from /app/slug-compiler/lib/buildpack.rb:35:in `compile' from /app/slug-compiler/lib/slug.rb:497:in `block in run_buildpack' from …